Skip to content

Commit

Permalink
[PowerPC] Change RHEL buildbot to unifiedtreebuilder
Browse files Browse the repository at this point in the history
The patch switches the RHEL buildbot to utilise more jobs when building, as
well as UnifiedTreeBuilder (ie, with cmake and Ninja).

Differential: https://reviews.llvm.org/D101199
  • Loading branch information
Conanap committed May 14, 2021
1 parent e4aa8a2 commit 69c601c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
20 changes: 7 additions & 13 deletions buildbot/osuosl/master/config/builders.py
Expand Up @@ -622,25 +622,19 @@
'tags' : ["clang", "ppc", "ppc64le"],
'workernames' : ["ppc64le-clang-rhel-test"],
'builddir': "clang-ppc64le-rhel",
'factory' : ClangBuilder.getClangCMakeBuildFactory(clean=False,
checkout_clang_tools_extra=True,
checkout_compiler_rt=False,
checkout_lld=True,
checkout_libcxx=False,
useTwoStage=False,
runTestSuite=True,
stage1_config='Release',
nt_flags=['--threads=16', '--build-threads=16'],
extra_cmake_args=[
'-DLLVM_ENABLE_PROJECTS=clang;llvm;clang-tools-extra;lld',
'-DLLVM_ENABLE_RUNTIMES=compiler-rt',
'factory' : UnifiedTreeBuilder.getCmakeWithNinjaBuildFactory(
depends_on_projects=["llvm", "clang", "clang-tools-extra", "lld", "compiler-rt"],
checks=["check"],
enable_runtimes="auto",
extra_configure_args=[
"-DLLVM_ENABLE_ASSERTIONS=On", "-DCMAKE_C_COMPILER=clang",
"-DCMAKE_CXX_COMPILER=clang++",
"-DCLANG_DEFAULT_LINKER=lld",
"-DCMAKE_C_COMPILER_EXTERNAL_TOOLCHAIN:PATH=/opt/rh/devtoolset-7/root/usr",
"-DCMAKE_CXX_COMPILER_EXTERNAL_TOOLCHAIN:PATH=/opt/rh/devtoolset-7/root/usr",
"-DLLVM_BINUTILS_INCDIR=/usr/include", "-DBUILD_SHARED_LIBS=ON", "-DLLVM_ENABLE_WERROR=ON",
'-DLLVM_LIT_ARGS=-vj 20'])},
"-DCMAKE_BUILD_TYPE=Release"
"-DLLVM_LIT_ARGS=-vj 20"])},

{'name' : "clang-ppc64-aix-ppc64le",
'tags' : ["clang", "aix", "ppc", "ppc64le"],
Expand Down
2 changes: 1 addition & 1 deletion buildbot/osuosl/master/config/workers.py
Expand Up @@ -83,7 +83,7 @@ def get_all():
create_worker("ppc64le-clang-multistage-test", properties={'jobs': 8}, max_builds=1),
create_worker("ppc64le-sanitizer", properties={'jobs': 4}, max_builds=1),
create_worker("ppc64le-lld-multistage-test", max_builds=1),
create_worker("ppc64le-clang-rhel-test", properties={'jobs': 4}, max_builds=1),
create_worker("ppc64le-clang-rhel-test", properties={'jobs': 192}, max_builds=1),
create_worker("ppc64le-flang-mlir-rhel-test", max_builds=1),

# SPARC 64-bit big endian (sparc64)
Expand Down

0 comments on commit 69c601c

Please sign in to comment.