Skip to content

Commit f187d5a

Browse files
authored
[LibC++][PowerPC] Enable libcxx testing on clang-ppc64le-rhel (#62)
This patch enables the build and test of the libcxx and libcxxabi runtimes on the clang-ppc64le-rhel buildbot. The compiler toolchain is updated to use gcc-toolset-12 in order to resolve some libcxx lit test case failures, we no longer specify the `LLVM_BINUTILS_INCDIR` since the gold plugin is not being build and ccache is turned on to improve build times.
1 parent ff329ad commit f187d5a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -670,17 +670,18 @@
670670
'builddir': "clang-ppc64le-rhel",
671671
'factory' : TestSuiteBuilder.getTestSuiteBuildFactory(
672672
depends_on_projects=["llvm", "clang", "clang-tools-extra",
673-
"lld", "compiler-rt"],
674-
checks=['check-all', 'check-runtimes'],
673+
"lld", "libcxx", "libcxxabi",
674+
"compiler-rt"],
675+
checks=['check-runtimes', 'check-all'],
675676
extra_configure_args=[
676677
"-DLLVM_ENABLE_ASSERTIONS=On",
677678
"-DCMAKE_C_COMPILER=clang",
678679
"-DCMAKE_CXX_COMPILER=clang++",
679680
"-DCLANG_DEFAULT_LINKER=lld",
680681
"-DLLVM_TOOL_GOLD_BUILD=0",
681-
"-DCMAKE_C_COMPILER_EXTERNAL_TOOLCHAIN:PATH=/usr",
682-
"-DCMAKE_CXX_COMPILER_EXTERNAL_TOOLCHAIN:PATH=/usr",
683-
"-DLLVM_BINUTILS_INCDIR=/usr/include",
682+
"-DCMAKE_C_COMPILER_EXTERNAL_TOOLCHAIN:PATH=/opt/rh/gcc-toolset-12/root/usr",
683+
"-DCMAKE_CXX_COMPILER_EXTERNAL_TOOLCHAIN:PATH=/opt/rh/gcc-toolset-12/root/usr",
684+
"-DLLVM_CCACHE_BUILD=ON",
684685
"-DBUILD_SHARED_LIBS=ON", "-DLLVM_ENABLE_WERROR=ON",
685686
"-DCMAKE_BUILD_TYPE=Release",
686687
"-DLLVM_LIT_ARGS=-vj 20"])},

0 commit comments

Comments
 (0)