From ee78b443dd64896ab3fd66f06ac33b064e763773 Mon Sep 17 00:00:00 2001 From: Pierre Blanchard Date: Fri, 4 Oct 2024 11:16:02 +0000 Subject: [PATCH] Remove aarch64 from cross build and tests (on Linux) And update documentation/README. --- .github/workflows/build_and_test.yml | 33 ++-------------------------- README.md | 3 +++ 2 files changed, 5 insertions(+), 31 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index a7e16020..702db0a9 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/README.md b/README.md index f4903733..202a812e 100644 --- a/README.md +++ b/README.md @@ -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),