Skip to content
Snippets Groups Projects
Commit 9ce3f9b7 authored by Michael Kuron's avatar Michael Kuron :mortar_board:
Browse files

Try to remove ARM SVE compiler workarounds

parent afebdb4e
No related branches found
No related tags found
No related merge requests found
Pipeline #40806 failed
...@@ -180,13 +180,25 @@ arm64v9: ...@@ -180,13 +180,25 @@ arm64v9:
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/arm64:testing image: i10git.cs.fau.de:5005/pycodegen/pycodegen/arm64:testing
variables: variables:
PYSTENCILS_SIMD: "sve256,sve512,sve" PYSTENCILS_SIMD: "sve256,sve512,sve"
ASAN_OPTIONS: detect_leaks=0
LD_PRELOAD: /usr/lib/aarch64-linux-gnu/libasan.so.6
before_script: before_script:
- *multiarch_before_script - *multiarch_before_script
- sed -i s/march=native/march=armv8-a+sve/g ~/.config/pystencils/config.json - sed -i s/march=native/march=armv8-a+sve/g ~/.config/pystencils/config.json
- sed -i s/g\+\+/clang++/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: riscv64:
# The RISC-V vector extension are so new they are not supported by GCC yet. # 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. # Also, the image is built without the libomp package which is not yet available on Ubuntu.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment