{ "": { "type": "export" , "target": "installed just" , "doc": ["The just binary."] , "flexible_config": [ "ADD_CFLAGS" , "ADD_CXXFLAGS" , "AR" , "DWP" , "ARCH" , "FINAL_LDFLAGS" , "CC" , "CXX" , "DEBUG" , "ENV" , "HOST_ARCH" , "OS" , "SOURCE_DATE_EPOCH" , "TARGET_ARCH" , "TOOLCHAIN_CONFIG" , "VERSION_EXTRA_SUFFIX" , "PKG_CONFIG_ARGS" ] , "config_doc": { "ARCH": [ "The underlying architecture. Is taken as a default for \"HOST_ARCH\" and \"TARGET_ARCH\"." , "" , "One of \"x86\", \"x86_64\", \"arm\", \"arm64\". Defaults to \"x86_64\"." ] , "HOST_ARCH": ["The architecture on which the build actions are carried out."] , "TARGET_ARCH": ["The architecture for which to build the binary."] , "TOOLCHAIN_CONFIG": [ "The toolchain configuration." , "" , "Use field \"FAMILY\" to specify the compiler family." , "Supported values are \"unknown\" (the default), \"clang\", and \"gnu\"." , "The unknown compiler family tries to not make any assumptions on the" , "used C and C++ compilers and uses the generic \"cc\" and \"c++\" as" , "names for the respective compilers; typically used in conjunction with" , "setting \"CC\" and \"CXX\" explicitly and building for host." , "" , "Use field \"BUILD_STATIC\" to specify that binaries should be" , "statically linked. Boolean, default false." ] , "ENV": [ "Map from strings to strings. The build environment to be used for" , "build actions. Typically used to include an unusual value of PATH." ] , "FINAL_LDFLAGS": ["Compiler flags for linking the final binary."] , "DEBUG": [ "Map enabling and configuring the debug version." , "" , "The key \"USE_DEBUG_FISSION\" enables debug fission, but does not add" , "any flags. Explicitly setting it to a false value is needed to enable" , "regular debug mode." , "The key \"FISSION_CONFIG\" expects a map configuring debug fission." , " - subkey \"USE_SPLIT_DWARF\" expects a flag that, if true, adds the" , "-gsplit-dwarf compile flag." , " - subkey \"DWARF_VERSION\" expects a string that adds the" , "-gdwarf- compile flag." , " - subkey \"USE_GDB_INDEX\" expects a flag that, if true, adds the" , "-Wl,--gdb-index linker flag." , " - subkey \"USE_DEBUG_TYPES_SECTION\" expects a flag that, if true," , "adds the -fdebug-types-section compile flag." ] , "OS": [ "Operating system to build for." , "" , "Currently, the only supported value is \"linux\", which is also the" , "default." ] , "SOURCE_DATE_EPOCH": [ "If set, embed the given time stamp (in seconds since the epoch) into" , "the binary" ] , "VERSION_EXTRA_SUFFIX": [ "String to extend the version suffix with." , "" , "Should be used to indicate additional (non-upstream) changes, e.g.," , "due to packaging." ] } } , "installed just": {"type": ["@", "rules", "CC", "install-with-deps"], "targets": ["just"]} , "exported-just": { "type": "export" , "target": ["src/buildtool/main", "just"] , "flexible_config": [ "OS" , "ARCH" , "HOST_ARCH" , "TARGET_ARCH" , "DEBUG" , "TOOLCHAIN_CONFIG" , "CC" , "CXX" , "ADD_CXXFLAGS" , "ADD_CFLAGS" , "AR" , "DWP" , "ENV" , "FINAL_LDFLAGS" , "SOURCE_DATE_EPOCH" , "VERSION_EXTRA_SUFFIX" , "PKG_CONFIG_ARGS" ] } , "just": { "type": "configure" , "arguments_config": ["OS", "ARCH", "HOST_ARCH", "TARGET_ARCH"] , "target": "exported-just" , "config": { "type": "let*" , "bindings": [ ["OS", {"type": "var", "name": "OS", "default": "linux"}] , ["ARCH", {"type": "var", "name": "ARCH", "default": "x86_64"}] , [ "HOST_ARCH" , { "type": "var" , "name": "HOST_ARCH" , "default": {"type": "var", "name": "ARCH"} } ] , [ "TARGET_ARCH" , { "type": "var" , "name": "TARGET_ARCH" , "default": {"type": "var", "name": "ARCH"} } ] ] , "body": {"type": "env", "vars": ["OS", "ARCH", "HOST_ARCH", "TARGET_ARCH"]} } } , "installed just-mr": {"type": ["@", "rules", "CC", "install-with-deps"], "targets": ["just-mr"]} , "exported-just-mr": { "type": "export" , "target": ["src/other_tools/just_mr", "just-mr"] , "flexible_config": [ "OS" , "ARCH" , "HOST_ARCH" , "TARGET_ARCH" , "DEBUG" , "TOOLCHAIN_CONFIG" , "CC" , "CXX" , "ADD_CXXFLAGS" , "ADD_CFLAGS" , "AR" , "DWP" , "ENV" , "FINAL_LDFLAGS" , "SOURCE_DATE_EPOCH" , "VERSION_EXTRA_SUFFIX" ] } , "just-mr": { "type": "configure" , "arguments_config": ["OS", "ARCH", "HOST_ARCH", "TARGET_ARCH"] , "target": "exported-just-mr" , "config": { "type": "let*" , "bindings": [ ["OS", {"type": "var", "name": "OS", "default": "linux"}] , ["ARCH", {"type": "var", "name": "ARCH", "default": "x86_64"}] , [ "HOST_ARCH" , { "type": "var" , "name": "HOST_ARCH" , "default": {"type": "var", "name": "ARCH"} } ] , [ "TARGET_ARCH" , { "type": "var" , "name": "TARGET_ARCH" , "default": {"type": "var", "name": "ARCH"} } ] ] , "body": {"type": "env", "vars": ["OS", "ARCH", "HOST_ARCH", "TARGET_ARCH"]} } } , "libgit2": { "type": "configure" , "target": ["@", "libgit2", "", "git2"] , "config": { "type": "'" , "$1": { "USE_SHA1": "OpenSSL" , "USE_SHA256": "OpenSSL" , "USE_SSH": false , "USE_HTTPS": "OpenSSL" , "USE_GSSAPI": false } } } , "libcurl": { "type": "configure" , "target": ["@", "libcurl", "", "curl"] , "config": { "type": "'" , "$1": { "ENABLE_ARES": true , "CURL_DISABLE_DICT": true , "CURL_DISABLE_FILE": true , "CURL_DISABLE_FTP": false , "CURL_DISABLE_GOPHER": true , "CURL_DISABLE_IMAP": true , "CURL_DISABLE_LDAP": true , "CURL_DISABLE_LDAPS": true , "CURL_DISABLE_MQTT": true , "CURL_DISABLE_POP3": true , "CURL_DISABLE_RTSP": true , "CURL_DISABLE_SMB": true , "CURL_DISABLE_SMTP": true , "CURL_DISABLE_TELNET": true , "CURL_DISABLE_TFTP": false , "CURL_USE_LIBPSL": false , "CURL_USE_LIBSSH2": false } } } , "libarchive": { "type": "configure" , "target": ["@", "libarchive", "", "archive"] , "config": { "type": "'" , "$1": { "ENABLE_LIBB2": false , "ENABLE_LZ4": false , "ENABLE_LZMA": true , "ENABLE_ZSTD": false , "ENABLE_LIBXML2": false , "ENABLE_EXPAT": false , "ENABLE_PCREPOSIX": false , "ENABLE_PCRE2POSIX": false , "ENABLE_LIBGCC": false , "ENABLE_CNG": false , "XATTR_PROVIDER": "gnu" , "ENABLE_ACL": false } } } , "just-ext-hdrs": { "type": "configure" , "arguments_config": ["OS", "ARCH"] , "target": ["etc/dev", "just-ext-hdrs"] , "config": { "type": "let*" , "bindings": [ ["OS", {"type": "var", "name": "OS", "default": "linux"}] , ["ARCH", {"type": "var", "name": "ARCH", "default": "x86_64"}] ] , "body": {"type": "env", "vars": ["OS", "ARCH"]} } } , "bootstrap-src": { "type": "install" , "tainted": ["test"] , "dirs": [ [["TREE", null, "rules"], "."] , [["TREE", null, "etc"], "."] , [["TREE", null, "src/buildtool"], "."] , [["TREE", null, "src/utils"], "."] ] , "deps": [ "ROOT" , "TARGETS" , "bin/bootstrap-traverser.py" , "bin/bootstrap.py" , "bin/just-mr.py" , "bin/parallel-bootstrap-traverser.py" ] } }