Skip to content

Commit b839237

Browse files
authored
[OpenMP] Add offload to other buildbots (#176)
This enables the offload runtime in the other OpenMP buildbots we maintain for GPU offloading as well.
1 parent e0e2a4d commit b839237

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1807,7 +1807,7 @@
18071807
'builddir': "openmp-offload-amdgpu-runtime",
18081808
'factory' : OpenMPBuilder.getOpenMPCMakeBuildFactory(
18091809
clean=True,
1810-
enable_runtimes=['openmp'],
1810+
enable_runtimes=['openmp', 'offload'],
18111811
depends_on_projects=['llvm','clang','lld','openmp'],
18121812
extraCmakeArgs=[
18131813
"-DCMAKE_BUILD_TYPE=Release",
@@ -1837,7 +1837,7 @@
18371837
'builddir': "openmp-offload-amdgpu-runtime-2",
18381838
'factory' : OpenMPBuilder.getOpenMPCMakeBuildFactory(
18391839
clean=True,
1840-
enable_runtimes=['openmp'],
1840+
enable_runtimes=['openmp', 'offload'],
18411841
depends_on_projects=['llvm','clang','lld','openmp'],
18421842
extraCmakeArgs=[
18431843
"-DCMAKE_BUILD_TYPE=Release",
@@ -1858,6 +1858,7 @@
18581858
"-DTEST_SUITE_SOLLVEVV_OFFLOADING_CFLAGS=-fopenmp-targets=amdgcn-amd-amdhsa;-Xopenmp-target=amdgcn-amd-amdhsa",
18591859
"-DTEST_SUITE_SOLLVEVV_OFFLOADING_LDLAGS=-fopenmp-targets=amdgcn-amd-amdhsa;-Xopenmp-target=amdgcn-amd-amdhsa",
18601860
],
1861+
add_lit_checks=["check-clang", "check-llvm", "check-lld", "check-offload"],
18611862
add_openmp_lit_args=["--time-tests", "--timeout 100"],
18621863
)},
18631864

@@ -1899,7 +1900,7 @@
18991900
clean=True,
19001901
depends_on_projects=['llvm', 'clang', 'compiler-rt', 'libc', 'lld', 'openmp'],
19011902
# Special case this bot to account for new (verbose) libc build syntax
1902-
enable_runtimes=['openmp', 'compiler-rt'],
1903+
enable_runtimes=['openmp', 'compiler-rt', 'offload'],
19031904
extraCmakeArgs=[
19041905
"-DCMAKE_BUILD_TYPE=Release",
19051906
"-DCLANG_DEFAULT_LINKER=lld",
@@ -1922,7 +1923,7 @@
19221923
"-DTEST_SUITE_SOLLVEVV_OFFLOADING_CFLAGS=-fopenmp;-fopenmp-targets=amdgcn-amd-amdhsa;-Xopenmp-target=amdgcn-amd-amdhsa;-march=gfx906",
19231924
"-DTEST_SUITE_SOLLVEVV_OFFLOADING_LDLAGS=-fopenmp;-fopenmp-targets=amdgcn-amd-amdhsa;-Xopenmp-target=amdgcn-amd-amdhsa;-march=gfx906",
19241925
],
1925-
add_lit_checks=["check-clang", "check-llvm", "check-lld", "check-libc-amdgcn-amd-amdhsa"]
1926+
add_lit_checks=["check-clang", "check-llvm", "check-lld", "check-offload", "check-libc-amdgcn-amd-amdhsa"]
19261927
)},
19271928

19281929
{'name' : "openmp-offload-amdgpu-clang-flang",
@@ -1931,7 +1932,7 @@
19311932
'builddir': "openmp-offload-amdgpu-clang-flang",
19321933
'factory' : OpenMPBuilder.getOpenMPCMakeBuildFactory(
19331934
clean=True,
1934-
enable_runtimes=['openmp'],
1935+
enable_runtimes=['openmp', 'offload'],
19351936
depends_on_projects=['llvm','clang','lld','openmp','flang'],
19361937
extraCmakeArgs=[
19371938
"-DCMAKE_BUILD_TYPE=Release",
@@ -1952,7 +1953,7 @@
19521953
"-DTEST_SUITE_SOLLVEVV_OFFLOADING_CFLAGS=-fopenmp-targets=amdgcn-amd-amdhsa;-Xopenmp-target=amdgcn-amd-amdhsa",
19531954
"-DTEST_SUITE_SOLLVEVV_OFFLOADING_LDLAGS=-fopenmp-targets=amdgcn-amd-amdhsa;-Xopenmp-target=amdgcn-amd-amdhsa",
19541955
],
1955-
add_lit_checks=["check-flang"],
1956+
add_lit_checks=["check-flang", "check-offload"],
19561957
add_openmp_lit_args=["--time-tests", "--timeout 100"],
19571958
)},
19581959

0 commit comments

Comments
 (0)