diff options
| author | Robin Kruppe <robin.kruppe@gmail.com> | 2017-03-05 16:11:11 +0100 |
|---|---|---|
| committer | Robin Kruppe <robin.kruppe@gmail.com> | 2017-03-09 15:07:42 +0100 |
| commit | 58ff4f67e3a1d099d3c4cb8ccb554ee9fd0a16cd (patch) | |
| tree | ac7f8e861aaf3a04b56922f8d94e6645cd5ee856 /src/bootstrap/config.toml.example | |
| parent | 3087a1f39eaeac9d76c8b159dcc64de515bb2b83 (diff) | |
| download | rust-58ff4f67e3a1d099d3c4cb8ccb554ee9fd0a16cd.tar.gz rust-58ff4f67e3a1d099d3c4cb8ccb554ee9fd0a16cd.zip | |
rustbuild: expose LLVM_PARALLEL_LINK_JOBS
This allows limiting the number of linker jobs to avoid swapping when linking LLVM with debug info.
Diffstat (limited to 'src/bootstrap/config.toml.example')
| -rw-r--r-- | src/bootstrap/config.toml.example | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bootstrap/config.toml.example b/src/bootstrap/config.toml.example index 30763e38a33..776bd729119 100644 --- a/src/bootstrap/config.toml.example +++ b/src/bootstrap/config.toml.example @@ -53,6 +53,14 @@ # Rust team and file an issue if you need assistance in porting! #targets = "X86;ARM;AArch64;Mips;PowerPC;SystemZ;JSBackend;MSP430;Sparc;NVPTX" +# Cap the number of parallel linker invocations when compiling LLVM. +# This can be useful when building LLVM with debug info, which significantly +# increases the size of binaries and consequently the memory required by +# each linker process. +# If absent or 0, linker invocations are treated like any other job and +# controlled by rustbuild's -j parameter. +#link-jobs = 0 + # ============================================================================= # General build configuration options # ============================================================================= |
