diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2022-10-02 09:44:04 +0200 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2022-10-09 11:31:09 +0200 |
| commit | cc475f5ef2988e9db2e3ce07bd4abd4d4975f3e7 (patch) | |
| tree | 2df853cb704529a98049f911118c3d0a3219e6d6 /src/ci/docker | |
| parent | 72f4923979979abb5d6b975353e9b3053d257e60 (diff) | |
| download | rust-cc475f5ef2988e9db2e3ce07bd4abd4d4975f3e7.tar.gz rust-cc475f5ef2988e9db2e3ce07bd4abd4d4975f3e7.zip | |
Use BOLT in x64 dist CI to optimize LLVM
Diffstat (limited to 'src/ci/docker')
| -rwxr-xr-x | src/ci/docker/host-x86_64/dist-x86_64-linux/build-clang.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ci/docker/host-x86_64/dist-x86_64-linux/build-clang.sh b/src/ci/docker/host-x86_64/dist-x86_64-linux/build-clang.sh index fa780e1e45e..9abfd4e9731 100755 --- a/src/ci/docker/host-x86_64/dist-x86_64-linux/build-clang.sh +++ b/src/ci/docker/host-x86_64/dist-x86_64-linux/build-clang.sh @@ -22,7 +22,7 @@ INC="/rustroot/include:/usr/include" # We need compiler-rt for the profile runtime (used later to PGO the LLVM build) # but sanitizers aren't currently building. Since we don't need those, just -# disable them. +# disable them. BOLT is used for optimizing LLVM. hide_output \ cmake ../llvm \ -DCMAKE_C_COMPILER=/rustroot/bin/gcc \ @@ -36,7 +36,7 @@ hide_output \ -DLLVM_INCLUDE_BENCHMARKS=OFF \ -DLLVM_INCLUDE_TESTS=OFF \ -DLLVM_INCLUDE_EXAMPLES=OFF \ - -DLLVM_ENABLE_PROJECTS="clang;lld;compiler-rt" \ + -DLLVM_ENABLE_PROJECTS="clang;lld;compiler-rt;bolt" \ -DC_INCLUDE_DIRS="$INC" hide_output make -j$(nproc) |
