Skip to content

Commit ce54ff3

Browse files
committed
Enable BOLT project on Aarch64/Linux Windows host cross builder. (llvm#577)
The builder builds host based BOLT tools only, no Aarch64 bolt runtime yet (not supported for the cross toolchain builds).
1 parent f68bf8c commit ce54ff3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@
269269
},
270270

271271
{'name' : "llvm-clang-win-x-aarch64",
272-
'tags' : ["clang", "llvm", "lld", "clang-tools-extra", "compiler-rt", "libc++", "libc++abi", "libunwind", "cross", "aarch64"],
272+
'tags' : ["clang", "llvm", "lld", "clang-tools-extra", "compiler-rt", "libc++", "libc++abi", "libunwind", "bolt", "cross", "aarch64"],
273273
'workernames' : ["as-builder-2"],
274274
'builddir': "x-aarch64",
275275
'factory' : UnifiedTreeBuilder.getCmakeExBuildFactory(
@@ -282,13 +282,15 @@
282282
'libcxx',
283283
'libcxxabi',
284284
'lld',
285+
'bolt',
285286
],
286287
vs = "autodetect",
287288
clean = True,
288289
checks = [
289290
"check-llvm",
290291
"check-clang",
291292
"check-lld",
293+
"check-bolt",
292294
"check-compiler-rt-aarch64-unknown-linux-gnu",
293295
"check-unwind-aarch64-unknown-linux-gnu",
294296
"check-cxxabi-aarch64-unknown-linux-gnu",
@@ -297,7 +299,8 @@
297299
cmake_definitions = {
298300
"LLVM_TARGETS_TO_BUILD" : "AArch64",
299301
"LLVM_INCLUDE_BENCHMARKS" : "OFF",
300-
"LLVM_LIT_ARGS" : "-v -vv --threads=32 --time-tests",
302+
# Allow long timeout for BOLT's dump-dot-func.test test.
303+
"LLVM_LIT_ARGS" : "-v -vv --threads=32 --time-tests --timeout=300",
301304
"TOOLCHAIN_TARGET_TRIPLE" : "aarch64-unknown-linux-gnu",
302305
"TOOLCHAIN_TARGET_SYSROOTFS" : util.Interpolate("%(prop:sysroot_path_agx)s"),
303306
"REMOTE_TEST_HOST" : util.Interpolate("%(prop:remote_host_agx)s"),
@@ -306,6 +309,7 @@
306309
"CMAKE_CXX_FLAGS" : "-D__OPTIMIZE__",
307310
"CMAKE_C_COMPILER_LAUNCHER" : "ccache",
308311
"CMAKE_CXX_COMPILER_LAUNCHER" : "ccache",
312+
"BOLT_TARGETS_TO_BUILD" : "AArch64",
309313
},
310314
cmake_options = [
311315
"-C", util.Interpolate("%(prop:srcdir_relative)s/clang/cmake/caches/CrossWinToARMLinux.cmake"),

0 commit comments

Comments
 (0)