[llvm] [CI] Enable Offload project in precommit CI (PR #109103)
Jan Patrick Lehr via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 18 02:00:35 PDT 2024
https://github.com/jplehr created https://github.com/llvm/llvm-project/pull/109103
We would like to enable the build of the offload project in precommit CI.
I appreciate help with the changes needed here. I'm unclear whether I understood the script correctly.
>From e857787055e2629737f368a728fefce157f50885 Mon Sep 17 00:00:00 2001
From: JP Lehr <JanPatrick.Lehr at amd.com>
Date: Wed, 18 Sep 2024 03:51:08 -0500
Subject: [PATCH] [CI] Enable Offload project in precommit CI
This enables the build of the offload project in precommit CI.
---
.ci/generate-buildkite-pipeline-premerge | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.ci/generate-buildkite-pipeline-premerge b/.ci/generate-buildkite-pipeline-premerge
index 98a8b8fff3687a..ac2e2c2c72dae1 100755
--- a/.ci/generate-buildkite-pipeline-premerge
+++ b/.ci/generate-buildkite-pipeline-premerge
@@ -131,7 +131,7 @@ function add-dependencies() {
echo $p
done
;;
- compiler-rt|libc|openmp)
+ compiler-rt|libc|offload|openmp)
echo clang lld
;;
flang|lldb|libclc)
@@ -172,6 +172,7 @@ function exclude-windows() {
libc) ;; # no Windows support
lldb) ;; # custom environment requirements (https://github.com/llvm/llvm-project/pull/94208#issuecomment-2146256857)
bolt) ;; # tests are not supported yet
+ offload) ;; # no windows support
*)
echo "${project}"
;;
@@ -247,7 +248,7 @@ fi
# needs while letting them run on the infrastructure provided by LLVM.
# Figure out which projects need to be built on each platform
-all_projects="bolt clang clang-tools-extra compiler-rt cross-project-tests flang libc libclc lld lldb llvm mlir openmp polly pstl"
+all_projects="bolt clang clang-tools-extra compiler-rt cross-project-tests flang libc libclc lld lldb llvm mlir offload openmp polly pstl"
modified_projects="$(keep-modified-projects ${all_projects})"
linux_projects_to_test=$(exclude-linux $(compute-projects-to-test 0 ${modified_projects}))
More information about the llvm-commits
mailing list