Skip to content

Commit 4db9229

Browse files
authored
[AMDGPU][Libc] Adds gfx90a libc builder (#381)
Adds a builder for libc on AMDGPU gfx90a to build and run tests.
1 parent 60efe18 commit 4db9229

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1937,6 +1937,8 @@
19371937
"-DCLANG_DEFAULT_RTLIB=compiler-rt",
19381938
"-DCLANG_DEFAULT_UNWINDLIB=libgcc",
19391939
"-DLIBOMPTARGET_PLUGINS_TO_BUILD=amdgpu;host",
1940+
"-DRUNTIMES_amdgcn-amd-amdhsa_LLVM_ENABLE_RUNTIMES=libc",
1941+
"-DLLVM_RUNTIME_TARGETS=default;amdgcn-amd-amdhsa",
19401942
],
19411943
env={
19421944
'HSA_ENABLE_SDMA':'0',
@@ -1948,7 +1950,7 @@
19481950
"-DTEST_SUITE_SOLLVEVV_OFFLOADING_CFLAGS=-fopenmp-targets=amdgcn-amd-amdhsa;-Xopenmp-target=amdgcn-amd-amdhsa",
19491951
"-DTEST_SUITE_SOLLVEVV_OFFLOADING_LDLAGS=-fopenmp-targets=amdgcn-amd-amdhsa;-Xopenmp-target=amdgcn-amd-amdhsa",
19501952
],
1951-
add_lit_checks=["check-clang", "check-llvm", "check-lld"],
1953+
add_lit_checks=["check-clang", "check-llvm", "check-lld", "check-libc-amdgcn-amd-amdhsa"],
19521954
add_openmp_lit_args=["--time-tests", "--timeout 100"],
19531955
)},
19541956

0 commit comments

Comments
 (0)