From 42b2a25262b57e9812ca4927a36736440517ee8e Mon Sep 17 00:00:00 2001 From: Joel Falcou Date: Sat, 21 Sep 2024 14:29:39 +0200 Subject: [PATCH] ARM v7 tentative tests --- .github/workflows/unit.yml | 10 +++++----- cmake/toolchain/clang.arm_osx.cmake | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 6cf327e91f..3f61912103 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -150,7 +150,6 @@ jobs: - { comp: gcc , arch: x86 , opts: -mavx2 , pch: "-DEVE_USE_PCH=ON" } - { comp: gcc , arch: sve256 , opts: -Wno-psabi , pch: "-DEVE_USE_PCH=ON" } - { comp: gcc , arch: sve512 , opts: -Wno-psabi , pch: "-DEVE_USE_PCH=ON" } - - { comp: gcc , arch: ppc64 , opts: -Wno-psabi , pch: "-DEVE_USE_PCH=ON" } steps: - name: Fetch current branch uses: actions/checkout@v4.1.1 @@ -176,7 +175,7 @@ jobs: matrix: cfg: - { comp: clang, arch: aarch64_osx} - # - { comp: clang, arch: arm_osx } + - { comp: clang, arch: arm_osx } steps: - name: Fetch current branch uses: actions/checkout@v4.1.1 @@ -208,6 +207,7 @@ jobs: - { comp: clang_libcpp, arch: x86 , opts: -msse2 } - { comp: clang , arch: x86 , opts: "-mavx2 -mbmi2 -DEVE_USE_BMI_ON_AVX2" } - { comp: gcc , arch: x86 , opts: "-mavx2 -mbmi2 -DEVE_USE_BMI_ON_AVX2" } + - { comp: gcc , arch: ppc64 , opts: -Wno-psabi } steps: - name: Fetch current branch uses: actions/checkout@v4.1.1 @@ -251,7 +251,6 @@ jobs: - { comp: gcc , arch: x86 , opts: -mavx2 , pch: "-DEVE_USE_PCH=ON" } - { comp: gcc , arch: sve256 , opts: -Wno-psabi , pch: "-DEVE_USE_PCH=ON" } - { comp: gcc , arch: sve512 , opts: -Wno-psabi , pch: "-DEVE_USE_PCH=ON" } - - { comp: gcc , arch: ppc64 , opts: -Wno-psabi , pch: "-DEVE_USE_PCH=ON" } steps: - name: Fetch current branch uses: actions/checkout@v4.1.1 @@ -309,6 +308,7 @@ jobs: - { comp: clang_libcpp, arch: x86 , opts: -msse2 } - { comp: clang , arch: x86 , opts: "-mavx2 -mbmi2 -DEVE_USE_BMI_ON_AVX2" } - { comp: gcc , arch: x86 , opts: "-mavx2 -mbmi2 -DEVE_USE_BMI_ON_AVX2" } + - { comp: gcc , arch: ppc64 , opts: -Wno-psabi } steps: - name: Fetch current branch uses: actions/checkout@v4.1.1 @@ -351,7 +351,6 @@ jobs: - { comp: gcc , arch: x86 , opts: -mavx2 , pch: "-DEVE_USE_PCH=ON" } - { comp: gcc , arch: sve256 , opts: -Wno-psabi , pch: "-DEVE_USE_PCH=ON" } - { comp: gcc , arch: sve512 , opts: -Wno-psabi , pch: "-DEVE_USE_PCH=ON" } - - { comp: gcc , arch: ppc64 , opts: -Wno-psabi , pch: "-DEVE_USE_PCH=ON" } steps: - name: Fetch current branch uses: actions/checkout@v4.1.1 @@ -409,6 +408,7 @@ jobs: - { comp: clang_libcpp, arch: x86 , opts: -msse2 } - { comp: clang , arch: x86 , opts: "-mavx2 -mbmi2 -DEVE_USE_BMI_ON_AVX2" } - { comp: gcc , arch: x86 , opts: "-mavx2 -mbmi2 -DEVE_USE_BMI_ON_AVX2" } + - { comp: gcc , arch: ppc64 , opts: -Wno-psabi } steps: - name: Fetch current branch uses: actions/checkout@v4.1.1 @@ -453,7 +453,6 @@ jobs: - { comp: gcc , arch: x86 , opts: -mavx2 , pch: "-DEVE_USE_PCH=ON" } - { comp: gcc , arch: sve256 , opts: -Wno-psabi , pch: "-DEVE_USE_PCH=ON" } - { comp: gcc , arch: sve512 , opts: -Wno-psabi , pch: "-DEVE_USE_PCH=ON" } - - { comp: gcc , arch: ppc64 , opts: -Wno-psabi , pch: "-DEVE_USE_PCH=ON" } steps: - name: Fetch current branch uses: actions/checkout@v4.1.1 @@ -511,6 +510,7 @@ jobs: - { comp: clang_libcpp, arch: x86 , opts: -msse2 } - { comp: clang , arch: x86 , opts: "-mavx2 -mbmi2 -DEVE_USE_BMI_ON_AVX2" } - { comp: gcc , arch: x86 , opts: "-mavx2 -mbmi2 -DEVE_USE_BMI_ON_AVX2" } + - { comp: gcc , arch: ppc64 , opts: -Wno-psabi } steps: - name: Fetch current branch uses: actions/checkout@v4.1.1 diff --git a/cmake/toolchain/clang.arm_osx.cmake b/cmake/toolchain/clang.arm_osx.cmake index 80628b53b5..650a9e2666 100644 --- a/cmake/toolchain/clang.arm_osx.cmake +++ b/cmake/toolchain/clang.arm_osx.cmake @@ -8,4 +8,4 @@ set(CMAKE_SYSTEM_PROCESSOR arm ) set(CMAKE_C_COMPILER /opt/homebrew/opt/llvm@15/bin/clang ) set(CMAKE_CXX_COMPILER /opt/homebrew/opt/llvm@15/bin/clang++ ) -set(CMAKE_CXX_FLAGS "--target=arm-linux-gnueabihf -mfpu=neon-vfpv4 -march=armv7-a -DEVE_NO_FORCEINLINE ${EVE_OPTIONS}" ) +set(CMAKE_CXX_FLAGS "-target armv7-unknown-linux-gnu -stdlib=libc++ -mfloat-abi=hard -DEVE_NO_FORCEINLINE ${EVE_OPTIONS}" )