[llvm] [Offload][CI] Enable offload runtime (PR #174955)
Jan Patrick Lehr via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 9 08:32:36 PST 2026
https://github.com/jplehr updated https://github.com/llvm/llvm-project/pull/174955
>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 1/4] [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
>From 9e831f2ca12715c11d2f785f018383871d1fa430 Mon Sep 17 00:00:00 2001
From: JP Lehr <JanPatrick.Lehr at amd.com>
Date: Thu, 8 Jan 2026 06:33:16 -0600
Subject: [PATCH 2/4] WIP
---
.ci/compute_projects.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.ci/compute_projects.py b/.ci/compute_projects.py
index 8ad7384bca4a7..319e8279a1563 100644
--- a/.ci/compute_projects.py
+++ b/.ci/compute_projects.py
@@ -32,7 +32,7 @@
"lld": {"llvm"},
"mlir": {"llvm"},
"polly": {"llvm"},
- "offload": {"llvm", "clang", "lld", "flang"},
+ "offload": {"clang", "lld", "flang"},
}
# This mapping describes the additional projects that should be tested when a
@@ -67,6 +67,7 @@
"flang",
"libclc",
"openmp",
+ "offload",
},
}
@@ -96,7 +97,6 @@
EXCLUDE_LINUX = {
"cross-project-tests", # TODO(issues/132796): Tests are failing.
- #"openmp", # https://github.com/google/llvm-premerge-checks/issues/410
}
EXCLUDE_WINDOWS = {
>From 77235b92e66f5ab1d525fe43db288e4db5ab1e08 Mon Sep 17 00:00:00 2001
From: JP Lehr <JanPatrick.Lehr at amd.com>
Date: Thu, 8 Jan 2026 06:53:22 -0600
Subject: [PATCH 3/4] WIP
---
.ci/compute_projects.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.ci/compute_projects.py b/.ci/compute_projects.py
index 319e8279a1563..cf405b82aceaa 100644
--- a/.ci/compute_projects.py
+++ b/.ci/compute_projects.py
@@ -86,8 +86,8 @@
"flang": {"flang-rt"},
"flang-rt": {"flang-rt"},
"openmp": {"openmp"},
- "offload": {"offload", "openmp"},
- ".ci": {"compiler-rt", "libc", "flang-rt"},
+ "offload": {"offload"},
+ ".ci": {"compiler-rt", "libc", "flang-rt", "openmp", "offload"},
}
DEPENDENT_RUNTIMES_TO_TEST_NEEDS_RECONFIG = {
"llvm": {"libcxx", "libcxxabi", "libunwind"},
>From 8c9af68df3c81b69706eac5a2e2f62ca8aa570f5 Mon Sep 17 00:00:00 2001
From: JP Lehr <JanPatrick.Lehr at amd.com>
Date: Thu, 8 Jan 2026 07:08:30 -0600
Subject: [PATCH 4/4] WIP
---
.ci/compute_projects.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/.ci/compute_projects.py b/.ci/compute_projects.py
index cf405b82aceaa..61f3b5ecf79dd 100644
--- a/.ci/compute_projects.py
+++ b/.ci/compute_projects.py
@@ -66,8 +66,6 @@
"polly",
"flang",
"libclc",
- "openmp",
- "offload",
},
}
More information about the llvm-commits
mailing list