Skip to content

Commit 5d9ffcd

Browse files
[Github] Build stage2-clang-bolt target for CI container
Only the stage2-distribution target is built by default for the stage2 distribution installation target. This means that we don't get a BOLT optimized binary. This patch explicitly builds the stage2-clang-bolt target before the distribution installation target so that the clang binary is optimized before it gets installed.
1 parent a8f317a commit 5d9ffcd

File tree

1 file changed

+1
-1
lines changed
  • .github/workflows/containers/github-action-ci

1 file changed

+1
-1
lines changed

.github/workflows/containers/github-action-ci/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ RUN cmake -B ./build -G Ninja ./llvm \
3030
-DLLVM_DISTRIBUTION_COMPONENTS="lld;compiler-rt;clang-format" \
3131
-DCLANG_DEFAULT_LINKER="lld"
3232

33-
RUN ninja -C ./build stage2-install-distribution && ninja -C ./build install-distribution && rm -rf ./build
33+
RUN ninja -C ./build stage2-clang-bolt stage2-install-distribution && ninja -C ./build install-distribution && rm -rf ./build
3434

3535
FROM base
3636

0 commit comments

Comments
 (0)