# see config.toml.example for more possible options # See the 8.4 book for an example using shipped LLVM # e.g. if not installing clang, or using a version before 8.0. # Tell x.py the editors have reviewed the content of this file # and updated it to follow the major changes of the building system, # so x.py will not warn us to do such a review. change-id = 148795 [llvm] # by default, rust will build for a myriad of architectures targets = "ARM" # When using system llvm prefer shared libraries link-shared = true [build] # omit docs to save time and space (default is to build them) docs = false # Do not look for new versions of the dependencies online. locked-deps = true # Specify which extended tools (those from the default install). tools = ["cargo", "clippy", "rustdoc", "rustfmt"] [install] prefix = "/usr/local" docdir = "share/doc/rustc-1.89.0" [rust] channel = "stable" # Enable the same optimizations as the official upstream build. lto = "off" codegen-units = 1 # Don't build lld which does not belong to this package and seems not # so useful for BLFS. Even if it turns out to be really useful we'd build # it as a part of the LLVM package instead. lld = false # Don't build llvm-bitcode-linker which is only useful for the NVPTX # backend that we don't enable. llvm-bitcode-linker = false [target.arm-unknown-linux-gnueabihf] # NB the output of llvm-config (i.e. help options) may be # dumped to the screen when config.toml is parsed. llvm-config = "/usr/local/bin/llvm-config" [target.armv7-unknown-linux-gnueabihf] # NB the output of llvm-config (i.e. help options) may be # dumped to the screen when config.toml is parsed. llvm-config = "/usr/local/bin/llvm-config" [target.armv7l-unknown-linux-gnueabihf] # NB the output of llvm-config (i.e. help options) may be # dumped to the screen when config.toml is parsed. llvm-config = "/usr/local/bin/llvm-config"