Skip to content

Commit f3973f7

Browse files
Compile for Neoverse N1 on Linaro's Armv8 bots that are on Mt Jade hardware (#354)
This reflects the host hardware, rather than the limited subset of features on the Cortex-A57. ``` $ lscpu Architecture: aarch64 CPU op-mode(s): 32-bit, 64-bit <...> Vendor ID: ARM Model name: Neoverse-N1 <...> Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ``` I have also confirmed that the Neoverse V1 (Note: V not N) that is used for Graviton is a superset of these features. https://github.com/aws/aws-graviton-getting-started/blob/main/c-c%2B%2B.md#enabling-arm-architecture-specific-features So if we have to move these builds to Graviton 3 at short notice, this will still work (Graviton 4 also ok for AArch64, but it drops the AArch32 mode).
1 parent 435f656 commit f3973f7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

buildbot/osuosl/master/config/builders.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -393,11 +393,11 @@
393393
useTwoStage=True,
394394
runTestSuite=True,
395395
testsuite_flags=[
396-
'--cppflags', '-mcpu=cortex-a57 -fuse-ld=lld',
396+
'--cppflags', '-mcpu=neoverse-n1 -fuse-ld=lld',
397397
'--threads=32', '--build-threads=32'],
398398
extra_cmake_args=[
399-
"-DCMAKE_C_FLAGS='-mcpu=cortex-a57'",
400-
"-DCMAKE_CXX_FLAGS='-mcpu=cortex-a57'",
399+
"-DCMAKE_C_FLAGS='-mcpu=neoverse-n1'",
400+
"-DCMAKE_CXX_FLAGS='-mcpu=neoverse-n1'",
401401
"-DLLVM_ENABLE_LLD=True"])},
402402

403403
## AArch64 run test-suite at -O0 (GlobalISel is now default).
@@ -425,11 +425,11 @@
425425
useTwoStage=True,
426426
runTestSuite=True,
427427
testsuite_flags=[
428-
'--cppflags', '-mcpu=cortex-a57 -fuse-ld=lld',
428+
'--cppflags', '-mcpu=neoverse-n1 -fuse-ld=lld',
429429
'--threads=32', '--build-threads=32'],
430430
extra_cmake_args=[
431-
"-DCMAKE_C_FLAGS='-mcpu=cortex-a57'",
432-
"-DCMAKE_CXX_FLAGS='-mcpu=cortex-a57'",
431+
"-DCMAKE_C_FLAGS='-mcpu=neoverse-n1'",
432+
"-DCMAKE_CXX_FLAGS='-mcpu=neoverse-n1'",
433433
"-DCOMPILER_RT_BUILD_SANITIZERS=OFF",
434434
"-DLLVM_ENABLE_LLD=True",
435435
# lld tests cause us to hit thread limits
@@ -452,11 +452,11 @@
452452
'NO_STOP_MESSAGE':'1', # For Fortran test-suite
453453
},
454454
testsuite_flags=[
455-
'--cppflags', '-mcpu=cortex-a57',
455+
'--cppflags', '-mcpu=neoverse-n1',
456456
'--threads=32', '--build-threads=32'],
457457
extra_cmake_args=[
458-
"-DCMAKE_C_FLAGS='-mcpu=cortex-a57'",
459-
"-DCMAKE_CXX_FLAGS='-mcpu=cortex-a57'",
458+
"-DCMAKE_C_FLAGS='-mcpu=neoverse-n1'",
459+
"-DCMAKE_CXX_FLAGS='-mcpu=neoverse-n1'",
460460
"-DLLVM_LIT_ARGS='-v'",
461461
"-DMLIR_INCLUDE_INTEGRATION_TESTS=True",
462462
"-DMLIR_RUN_ARM_SVE_TESTS=True",

0 commit comments

Comments
 (0)