[llvm] [workflows] Only build native targets in ci-ubuntu-22.04 container (PR #94649)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 6 10:57:19 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Tom Stellard (tstellar)
<details>
<summary>Changes</summary>
This should help reduce the build times.
---
Full diff: https://github.com/llvm/llvm-project/pull/94649.diff
1 Files Affected:
- (modified) .github/workflows/containers/github-action-ci/stage1.Dockerfile (+2)
``````````diff
diff --git a/.github/workflows/containers/github-action-ci/stage1.Dockerfile b/.github/workflows/containers/github-action-ci/stage1.Dockerfile
index 8c6bcf4638410..6a8819d8e1af1 100644
--- a/.github/workflows/containers/github-action-ci/stage1.Dockerfile
+++ b/.github/workflows/containers/github-action-ci/stage1.Dockerfile
@@ -32,7 +32,9 @@ RUN mkdir build
RUN cmake -B ./build -G Ninja ./llvm \
-C ./clang/cmake/caches/BOLT-PGO.cmake \
-DBOOTSTRAP_LLVM_ENABLE_LLD=ON \
+ -DBOOTSTRAP_LLVM_TARGETS_TO_BUILD=Native \
-DBOOTSTRAP_BOOTSTRAP_LLVM_ENABLE_LLD=ON \
+ -DBOOTSTRAP_BOOTSTRAP_LLVM_TARGETS_TO_BUILD=Native \
-DPGO_INSTRUMENT_LTO=Thin \
-DLLVM_ENABLE_RUNTIMES="compiler-rt" \
-DCMAKE_INSTALL_PREFIX="$LLVM_SYSROOT" \
``````````
</details>
https://github.com/llvm/llvm-project/pull/94649
More information about the llvm-commits
mailing list