[llvm] [Offload][CI] Enable offload runtime (PR #174955)
Jan Patrick Lehr via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 8 03:58:42 PST 2026
https://github.com/jplehr created https://github.com/llvm/llvm-project/pull/174955
Offload and OpenMP have been disabled in pre-commit build and test for quite some time. Recently, some CMake changes were made and the build command in premerge testing seems to have changed.
This is to take another swing at enabling openmp and offload, at least, for building in premerge test.
>From 4ff64c568ece7ffa5b9a724807b660c3507e70c0 Mon Sep 17 00:00:00 2001
From: JP Lehr <JanPatrick.Lehr at amd.com>
Date: Thu, 8 Jan 2026 05:55:56 -0600
Subject: [PATCH] [Offload][CI] Enable offload runtime
Offload and OpenMP have been disabled in pre-commit build and test for
quite some time. Recently, some CMake changes were made and the build
command in premerge testing seems to have changed.
This is to take another swing at enabling openmp and offload, at least,
for building in premerge test.
---
.ci/compute_projects.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/.ci/compute_projects.py b/.ci/compute_projects.py
index a4cfecf0cef90..8ad7384bca4a7 100644
--- a/.ci/compute_projects.py
+++ b/.ci/compute_projects.py
@@ -32,6 +32,7 @@
"lld": {"llvm"},
"mlir": {"llvm"},
"polly": {"llvm"},
+ "offload": {"llvm", "clang", "lld", "flang"},
}
# This mapping describes the additional projects that should be tested when a
@@ -83,6 +84,8 @@
"compiler-rt": {"compiler-rt"},
"flang": {"flang-rt"},
"flang-rt": {"flang-rt"},
+ "openmp": {"openmp"},
+ "offload": {"offload", "openmp"},
".ci": {"compiler-rt", "libc", "flang-rt"},
}
DEPENDENT_RUNTIMES_TO_TEST_NEEDS_RECONFIG = {
@@ -93,7 +96,7 @@
EXCLUDE_LINUX = {
"cross-project-tests", # TODO(issues/132796): Tests are failing.
- "openmp", # https://github.com/google/llvm-premerge-checks/issues/410
+ #"openmp", # https://github.com/google/llvm-premerge-checks/issues/410
}
EXCLUDE_WINDOWS = {
@@ -106,6 +109,7 @@
"libcxxabi",
"libunwind",
"flang-rt",
+ "offload",
}
# These are projects that we should test if the project itself is changed but
@@ -127,6 +131,7 @@
"libcxx",
"libcxxabi",
"libunwind",
+ "offload",
}
PROJECT_CHECK_TARGETS = {
@@ -151,9 +156,10 @@
"openmp": "check-openmp",
"polly": "check-polly",
"lit": "check-lit",
+ "offload": "check-offload",
}
-RUNTIMES = {"libcxx", "libcxxabi", "libunwind", "compiler-rt", "libc", "flang-rt"}
+RUNTIMES = {"libcxx", "libcxxabi", "libunwind", "compiler-rt", "libc", "flang-rt", "openmp", "offload"}
# Meta projects are projects that need explicit handling but do not reside
# in their own top level folder. To add a meta project, the start of the path
More information about the llvm-commits
mailing list