Skip to content
Snippets Groups Projects

Compatibility with latest RISCV64 and ARM CI image

Merged Michael Kuron requested to merge multiarch into master
Viewing commit 9ce3f9b7
Show latest version
1 file
+ 14
2
Preferences
Compare changes
+ 14
2
@@ -180,13 +180,25 @@ arm64v9:
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/arm64:testing
variables:
PYSTENCILS_SIMD: "sve256,sve512,sve"
ASAN_OPTIONS: detect_leaks=0
LD_PRELOAD: /usr/lib/aarch64-linux-gnu/libasan.so.6
before_script:
- *multiarch_before_script
- sed -i s/march=native/march=armv8-a+sve/g ~/.config/pystencils/config.json
- sed -i s/g\+\+/clang++/g ~/.config/pystencils/config.json
arm64v9-gcc:
# Compiler support for SVE is still pretty rough: GCC 10+11 produce incorrect code for fixed-width vectors,
# while Clang 12 produces memory-corrupting heisenbugs unless we enable the address sanitizer.
# In the RNG tests, GCC 10+11 produce an internal compiler error.
# The memory corruption seems to only happen with qemu-user, not with qemu-system.
# Once the compilers and QEMU have improved, this job should be cleaned up to match the others.
extends: .multiarch_template
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/arm64:testing
variables:
PYSTENCILS_SIMD: "sve256,sve512,sve"
before_script:
- *multiarch_before_script
- sed -i s/march=native/march=armv8-a+sve/g ~/.config/pystencils/config.json
riscv64:
# The RISC-V vector extension are so new they are not supported by GCC yet.
# Also, the image is built without the libomp package which is not yet available on Ubuntu.