-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-bootstrap-configArea: bootstrap `config.toml` and the config systemArea: bootstrap `config.toml` and the config systemC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
LLVM's build system exposes a lot of flags that may be nice to tweak, but we probably don't want to worry about mapping directly in config.toml. It would be helpful to support something like the following:
[llvm]
configure-args = [
"-DCMAKE_C_COMPILER_LAUNCHER=sccache",
"-DCMAKE_CXX_COMPILER_LAUNCHER=sccache",
"-DLLVM_OPTIMIZED_TABLEGEN=true",
"-DBUILD_SHARED_LIBS=true", # unsure whether this would work with Rust
]
build-args = [
# ...
]
These would get passed to build_arg
and configure_arg
on cmake::Config
.
Metadata
Metadata
Assignees
Labels
A-bootstrap-configArea: bootstrap `config.toml` and the config systemArea: bootstrap `config.toml` and the config systemC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)