Skip to content

Commit

Permalink
Remove aarch64 from cross build and tests (on Linux)
Browse files Browse the repository at this point in the history
And update documentation/README.
  • Loading branch information
blapie committed Oct 4, 2024
1 parent 273977a commit ee78b44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 31 deletions.
33 changes: 2 additions & 31 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:
strategy:
fail-fast: false
matrix:
arch: [aarch64, armhf, ppc64el, s390x, riscv64]
arch: [armhf, ppc64el, s390x, riscv64]
compiler: [gcc, llvm]
include:
- arch: armhf
Expand All @@ -169,8 +169,6 @@ jobs:
- arch: ppc64el
binfmt: ppc64le
gnupkg: -powerpc64le-linux-gnu
- arch: aarch64
debarch: arm64
exclude:
# Only GCC trunk supports the RISC-V V intrinsics and https://github.com/riscv-collab/riscv-gnu-toolchain
# doesn't track a recent enough version yet
Expand Down Expand Up @@ -239,9 +237,7 @@ jobs:
shell: bash -ex -o pipefail {0}
run: |
EXTRA_CMAKE_FLAGS=""
if [[ ${{ matrix.arch }} = "aarch64" ]]; then
EXTRA_CMAKE_FLAGS="${EXTRA_CMAKE_FLAGS} -DSLEEF_ENFORCE_SVE=ON"
elif [[ ${{ matrix.arch }} = "armhf" ]]; then
if [[ ${{ matrix.arch }} = "armhf" ]]; then
# Disable inline headers, they just don't compile on armhf
EXTRA_CMAKE_FLAGS="${EXTRA_CMAKE_FLAGS} -DSLEEF_BUILD_INLINE_HEADERS=OFF"
elif [[ ${{ matrix.arch }} = "ppc64el" ]]; then
Expand Down Expand Up @@ -281,31 +277,6 @@ jobs:
fail-fast: false
matrix:
include:
# AArch64
- arch: aarch64
compiler: gcc
qemu_cpu: "max,sve=off"
- arch: aarch64
compiler: gcc
qemu_cpu: "max,sve=on,sve128=on"
- arch: aarch64
compiler: gcc
qemu_cpu: "max,sve=on,sve256=on"
- arch: aarch64
compiler: gcc
qemu_cpu: "max,sve=on,sve512=on"
- arch: aarch64
compiler: llvm
qemu_cpu: "max,sve=off"
- arch: aarch64
compiler: llvm
qemu_cpu: "max,sve=on,sve128=on"
- arch: aarch64
compiler: llvm
qemu_cpu: "max,sve=on,sve256=on"
- arch: aarch64
compiler: llvm
qemu_cpu: "max,sve=on,sve512=on"
# Aarch32
- arch: armhf
compiler: gcc
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ Toolchain files provide some information on supported compiler versions.

Only Linux distributions and macOS are fully tested in CI and thus officially supported.

Only AArch64 and x86_64 vector extensions are built and tested natively on Linux and macOS.
Other architectures/vector extensions are cross-compiled on Linux.

Building SLEEF for Windows on x86 machines was officially supported ( :white_circle: ), as of 3.5.1,
however it is only partially tested due to [known limitations of the test suite with MinGW or MSYS2](https://github.com/shibatch/sleef/issues/544).
As a result tests for Windows on x86 only include DFT for now (other tests are disabled in build system),
Expand Down

0 comments on commit ee78b44

Please sign in to comment.