Skip to content

Commit 974536f

Browse files
authored
[OpenMP] Adds SLES 15 SP4 build bot (#150)
The bot runs a build of clang, flang, llvm, mlir, lld and openmp inside a SLES container. It does not currently run check-openmp as we do not have a GPU available for the offloading runtime tests.
1 parent 9b0c60f commit 974536f

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1926,6 +1926,38 @@
19261926
add_openmp_lit_args=["--time-tests", "--timeout 100"],
19271927
)},
19281928

1929+
# This bot, for now does not run OpenMP/Offload runtime tests, as we have no GPU yet
1930+
{'name' : "openmp-offload-sles-build-only",
1931+
'tags' : ["openmp"],
1932+
'workernames' : ["rocm-worker-hw-04-sles"],
1933+
'builddir': "openmp-offload-sles-build",
1934+
'factory' : OpenMPBuilder.getOpenMPCMakeBuildFactory(
1935+
clean=True,
1936+
test=False, # we have no GPU avail, skip runtime tests
1937+
enable_runtimes=['openmp'],
1938+
depends_on_projects=['llvm','clang', 'flang', 'lld','openmp'],
1939+
extraCmakeArgs=[
1940+
"-DCMAKE_BUILD_TYPE=Release",
1941+
"-DCLANG_DEFAULT_LINKER=lld",
1942+
"-DLLVM_TARGETS_TO_BUILD=X86;AMDGPU",
1943+
"-DLLVM_ENABLE_ASSERTIONS=ON",
1944+
"-DCMAKE_C_COMPILER_LAUNCHER=ccache",
1945+
"-DCMAKE_CXX_COMPILER_LAUNCHER=ccache",
1946+
],
1947+
env={
1948+
'HSA_ENABLE_SDMA':'0',
1949+
},
1950+
install=True,
1951+
testsuite=False,
1952+
testsuite_sollvevv=False,
1953+
extraTestsuiteCmakeArgs=[
1954+
"-DTEST_SUITE_SOLLVEVV_OFFLOADING_CFLAGS=-fopenmp-targets=amdgcn-amd-amdhsa;-Xopenmp-target=amdgcn-amd-amdhsa",
1955+
"-DTEST_SUITE_SOLLVEVV_OFFLOADING_LDLAGS=-fopenmp-targets=amdgcn-amd-amdhsa;-Xopenmp-target=amdgcn-amd-amdhsa",
1956+
],
1957+
add_lit_checks=["check-clang", "check-flang", "check-llvm", "check-lld"],
1958+
add_openmp_lit_args=["--time-tests", "--timeout 100"],
1959+
)},
1960+
19291961

19301962
# Whole-toolchain builders.
19311963

buildbot/osuosl/master/config/workers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ def get_all():
313313
# Flang OpenMP on AMDGPU, Ubuntu 22.04.3, AMD(R) EPYC 9354 @ 2.5GHz with 512GB Memory, 1 MI210 GPU with 64GB Memory
314314
create_worker("rocm-worker-hw-01", properties={'jobs': 64}, max_builds=1),
315315
create_worker("rocm-worker-hw-02", properties={'jobs': 64}, max_builds=1),
316+
create_worker("rocm-worker-hw-04-sles", properties={'jobs': 32}, max_builds=1),
316317

317318
# AMD ROCm support, Ubuntu 18.04.6, AMD Ryzen @ 1.5 GHz, MI200 GPU
318319
create_worker("mi200-buildbot", max_builds=1),

0 commit comments

Comments
 (0)