[llvm] [workflows] Only build native targets in ci-ubuntu-22.04 container (PR #94649)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 10:56:46 PDT 2024


https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/94649

This should help reduce the build times.

>From 48d081903a2cdd3a07bb79dc7429d6d7cc1e684f Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Thu, 6 Jun 2024 17:53:30 +0000
Subject: [PATCH] [workflows] Only build native targets in ci-ubuntu-22.04
 container

This should help reduce the build times.
---
 .github/workflows/containers/github-action-ci/stage1.Dockerfile | 2 ++
 1 file changed, 2 insertions(+)

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" \



More information about the llvm-commits mailing list