Skip to content

Commit ac5e8af

Browse files
authored
Update configuration for llvm-clang-ubuntu-x-aarch64-pauth builder. (#629)
Added steps to build and run the LLVM TestSuite on the target board. Also removed unneded toolchain library tests.
1 parent a474ccf commit ac5e8af

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3961,10 +3961,6 @@ def collapseRequestsDoxygen(master, builder, req1, req2):
39613961
"check-llvm",
39623962
"check-clang",
39633963
"check-lld",
3964-
"check-compiler-rt-aarch64-unknown-linux-gnu",
3965-
"check-unwind-aarch64-unknown-linux-gnu",
3966-
"check-cxxabi-aarch64-unknown-linux-gnu",
3967-
"check-cxx-aarch64-unknown-linux-gnu",
39683964
],
39693965
cmake_definitions = {
39703966
"LLVM_TARGETS_TO_BUILD" : "AArch64",
@@ -3987,6 +3983,23 @@ def collapseRequestsDoxygen(master, builder, req1, req2):
39873983
env = {
39883984
'CCACHE_DIR' : util.Interpolate("%(prop:builddir)s/ccache-db"),
39893985
},
3986+
post_build_steps =
3987+
TestSuiteBuilder.getLlvmTestSuiteSteps(
3988+
cmake_definitions = {
3989+
"CMAKE_BUILD_TYPE" : "Release",
3990+
"CMAKE_C_FLAGS" : "-march=armv8.3-a+pauth -mbranch-protection=pac-ret -faarch64-jump-table-hardening -O2",
3991+
"CMAKE_CXX_FLAGS" : "-march=armv8.3-a+pauth -mbranch-protection=pac-ret -faarch64-jump-table-hardening -O2",
3992+
"CMAKE_EXE_LINKER_FLAGS" : "-O2 -Wl,--emit-relocs",
3993+
"CMAKE_MODULE_LINKER_FLAGS" : "-O2 -Wl,--emit-relocs",
3994+
"CMAKE_SHARED_LINKER_FLAGS" : "-O2 -Wl,--emit-relocs",
3995+
# Run on the devkit, limited set of tests.
3996+
"TEST_SUITE_REMOTE_HOST" : "buildbot@arm64-linux-02.lab.llvm.org",
3997+
"TEST_SUITE_LIT_FLAGS" : "-v --threads=16 --time-tests",
3998+
"TEST_SUITE_RUN_BENCHMARKS" : "ON",
3999+
"TEST_SUITE_SUBDIRS" : "SingleSource;MultiSource;MicroBenchmarks",
4000+
},
4001+
compiler_dir = util.Interpolate("%(prop:builddir)s/build"),
4002+
)
39904003
)
3991-
},
4004+
},
39924005
]

0 commit comments

Comments
 (0)