Skip to content

Commit 92827a6

Browse files
Merge clang-aarch64-full-2stage with clang-aarch64-lld-2stage (#521)
And keep the latter. Since we (Linaro) don't commit to testing ld specifically, and recommend lld anyway. The ld bot had some extra testing that I've enabled for the lld version in this change.
1 parent 073d936 commit 92827a6

File tree

2 files changed

+13
-31
lines changed

2 files changed

+13
-31
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 13 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -403,22 +403,33 @@
403403
checkout_lld=False,
404404
extra_cmake_args=["-DLLVM_TARGETS_TO_BUILD='AArch64'"])},
405405

406-
## AArch64 check-all + LLD + test-suite 2-stage
406+
# AArch64 2 stage build with lld, flang, compiler-rt, test-suite and SVE/SME
407+
# mlir integration tests.
407408
{'name' : "clang-aarch64-lld-2stage",
408409
'tags' : ["lld"],
409410
'workernames' : ["linaro-clang-aarch64-lld-2stage"],
410411
'builddir':"clang-aarch64-lld-2stage",
411412
'factory' : ClangBuilder.getClangCMakeBuildFactory(
412413
clean=True,
414+
checkout_flang=True,
415+
checkout_lld=True,
413416
useTwoStage=True,
414417
runTestSuite=True,
418+
env={
419+
'NO_STOP_MESSAGE':'1', # For Fortran test-suite
420+
},
415421
testsuite_flags=[
416422
'--cppflags', '-mcpu=neoverse-n1 -fuse-ld=lld',
417423
'--threads=32', '--build-threads=32'],
418424
extra_cmake_args=[
419425
"-DCMAKE_C_FLAGS='-mcpu=neoverse-n1'",
420426
"-DCMAKE_CXX_FLAGS='-mcpu=neoverse-n1'",
421-
"-DLLVM_ENABLE_LLD=True"])},
427+
"-DLLVM_ENABLE_LLD=True",
428+
"-DLLVM_LIT_ARGS='-v'",
429+
"-DMLIR_INCLUDE_INTEGRATION_TESTS=True",
430+
"-DMLIR_RUN_ARM_SVE_TESTS=True",
431+
"-DMLIR_RUN_ARM_SME_TESTS=True",
432+
"-DARM_EMULATOR_EXECUTABLE=qemu-aarch64"])},
422433

423434
## AArch64 run test-suite at -O0 (GlobalISel is now default).
424435
{'name' : "clang-aarch64-global-isel",
@@ -455,34 +466,6 @@
455466
# lld tests cause us to hit thread limits
456467
"-DLLVM_ENABLE_THREADS=OFF"])},
457468

458-
# AArch64 check-all + flang + compiler-rt + test-suite + SVE/SME
459-
# mlir-integration-tests 2-stage
460-
{'name' : "clang-aarch64-full-2stage",
461-
'tags' : ["clang"],
462-
'workernames' : ["linaro-clang-aarch64-full-2stage"],
463-
'builddir': "clang-aarch64-full-2stage",
464-
'factory' : ClangBuilder.getClangCMakeBuildFactory(
465-
clean=True,
466-
checkout_flang=True,
467-
checkout_lld=True,
468-
useTwoStage=True,
469-
testStage1=False,
470-
runTestSuite=True,
471-
env={
472-
'NO_STOP_MESSAGE':'1', # For Fortran test-suite
473-
},
474-
testsuite_flags=[
475-
'--cppflags', '-mcpu=neoverse-n1',
476-
'--threads=32', '--build-threads=32'],
477-
extra_cmake_args=[
478-
"-DCMAKE_C_FLAGS='-mcpu=neoverse-n1'",
479-
"-DCMAKE_CXX_FLAGS='-mcpu=neoverse-n1'",
480-
"-DLLVM_LIT_ARGS='-v'",
481-
"-DMLIR_INCLUDE_INTEGRATION_TESTS=True",
482-
"-DMLIR_RUN_ARM_SVE_TESTS=True",
483-
"-DMLIR_RUN_ARM_SME_TESTS=True",
484-
"-DARM_EMULATOR_EXECUTABLE=qemu-aarch64"])},
485-
486469
# All SVE (as opposed to SVE2) builders are using optimisation flags
487470
# for Graviton 3 "balanced" from
488471
# https://github.com/aws/aws-graviton-getting-started/blob/main/c-c++.md.

buildbot/osuosl/master/config/workers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def get_all():
2727
create_worker("linaro-clang-aarch64-quick", max_builds=1),
2828
create_worker("linaro-clang-aarch64-lld-2stage", max_builds=1),
2929
create_worker("linaro-clang-aarch64-global-isel", max_builds=1),
30-
create_worker("linaro-clang-aarch64-full-2stage", max_builds=1),
3130
create_worker("linaro-lldb-aarch64-ubuntu", max_builds=1),
3231
create_worker("linaro-flang-aarch64-dylib", max_builds=1),
3332
create_worker("linaro-flang-aarch64-sharedlibs", max_builds=1),

0 commit comments

Comments
 (0)