From fd09633cdff11567aca9d90393eda3fc6444d0ff Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 30 Apr 2026 00:09:51 +0200 Subject: [PATCH 1/3] Add NEOVERSEN1 jobs from the deprecated Cirrus setup --- .github/workflows/dynamic_arch.yml | 51 ++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/.github/workflows/dynamic_arch.yml b/.github/workflows/dynamic_arch.yml index cd9ef284e2..610c8cc246 100644 --- a/.github/workflows/dynamic_arch.yml +++ b/.github/workflows/dynamic_arch.yml @@ -404,4 +404,55 @@ jobs: make -j${nproc} make -j${nproc} lapack-test + neoverse_n1_build: + if: "github.repository == 'OpenMathLib/OpenBLAS'" + runs-on: ubuntu-24.04-arm + + steps: + - name: Checkout repository + uses: actions/checkout@v6 + + - name: Install Dependencies + run: | + sudo apt-get update + sudo apt-get install -y gcc gfortran make + + - name: Build OpenBLAS + run: | + make -j${nproc} TARGET=NEOVERSEN1 + make -j${nproc} TARGET=NEOVERSEN1 lapack-test + + neoverse_n1_omp_build: + if: "github.repository == 'OpenMathLib/OpenBLAS'" + runs-on: ubuntu-24.04-arm + + steps: + - name: Checkout repository + uses: actions/checkout@v6 + - name: Install Dependencies + run: | + sudo apt-get update + sudo apt-get install -y gcc gfortran make + + - name: Build OpenBLAS + run: | + make -j${nproc} TARGET=NEOVERSEN1 USE_OPENMP=1 + + neoverse_n1_ilp64_build: + if: "github.repository == 'OpenMathLib/OpenBLAS'" + runs-on: ubuntu-24.04-arm + + steps: + - name: Checkout repository + uses: actions/checkout@v6 + + - name: Install Dependencies + run: | + sudo apt-get update + sudo apt-get install -y gcc gfortran make + + - name: Build OpenBLAS + run: | + make -j${nproc} TARGET=NEOVERSEN1 INTERFACE64=1 + make -j${nproc} TARGET=NEOVERSEN1 INTERFACE64=1 lapack-test From b4dececea72b1383d942be00e603399ae10eade8 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 30 Apr 2026 00:14:33 +0200 Subject: [PATCH 2/3] Disable all tasks except the FreeBSD ones --- .cirrus.yml | 177 ++++++++++++++++++++++++++-------------------------- 1 file changed, 89 insertions(+), 88 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 7481d4bfd2..2ec90c408c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,6 +1,6 @@ -macos_instance: - image: ghcr.io/cirruslabs/macos-monterey-xcode:latest - +#macos_instance: +# image: ghcr.io/cirruslabs/macos-monterey-xcode:latest +# #task: # name: AppleM1/LLVM # compile_script: @@ -9,7 +9,7 @@ macos_instance: # - export LDFLAGS="-L/opt/homebrew/opt/llvm/lib" # - export CPPFLAGS="-I/opt/homebrew/opt/llvm/include" # - make TARGET=VORTEX USE_OPENMP=1 CC=clang - +# #task: # name: AppleM1/LLVM/ILP64 # compile_script: @@ -18,7 +18,7 @@ macos_instance: # - export LDFLAGS="-L/opt/homebrew/opt/llvm/lib" # - export CPPFLAGS="-I/opt/homebrew/opt/llvm/include" # - make TARGET=VORTEX USE_OPENMP=1 CC=clang INTERFACE64=1 - +# #task: # name: AppleM1/LLVM/CMAKE # compile_script: @@ -30,7 +30,7 @@ macos_instance: # - cd build # - cmake -DTARGET=VORTEX -DCMAKE_C_COMPILER=clang -DBUILD_SHARED_LIBS=ON .. # - make -j 4 - +# #task: # name: AppleM1/GCC/MAKE/OPENMP # compile_script: @@ -39,92 +39,93 @@ macos_instance: # - export LDFLAGS="-L/opt/homebrew/lib" # - export CPPFLAGS="-I/opt/homebrew/include" # - make CC=gcc-11 FC=gfortran-11 USE_OPENMP=1 - -macos_instance: - image: ghcr.io/cirruslabs/macos-sonoma-xcode:latest -task: - name: AppleM1/LLVM x86_64 xbuild - compile_script: - - #brew install llvm - - export #PATH=/opt/homebrew/opt/llvm/bin:$PATH - - export #LDFLAGS="-L/opt/homebrew/opt/llvm/lib" - - export #CPPFLAGS="-I/opt/homebrew/opt/llvm/include" - - export ARCHS="i386 x86_64" - - export ARCHS_STANDARD="i386 x86_64" - - export ARCHS_STANDARD_32_64_BIT="i386 x86_64" - - export ARCHS_STANDARD_64_BIT=x86_64 - - export ARCHS_STANDARD_INCLUDING_64_BIT="i386 x86_64" - - export ARCHS_UNIVERSAL_IPHONE_OS="i386 x86_64" - - export VALID_ARCHS="i386 x86_64" - - xcrun --sdk macosx --show-sdk-path - - xcodebuild -version - - export CC=/Applications/Xcode_26.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - - export CFLAGS="-O2 -unwindlib=none -Wno-macro-redefined -isysroot /Applications/Xcode_26.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -arch x86_64" - - make TARGET=CORE2 DYNAMIC_ARCH=1 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1 RANLIB="ls -l" - always: - config_artifacts: - path: "*conf*" - type: text/plain +# +#macos_instance: +# image: ghcr.io/cirruslabs/macos-sonoma-xcode:latest +#task: +# name: AppleM1/LLVM x86_64 xbuild +# compile_script: +# - #brew install llvm +# - export #PATH=/opt/homebrew/opt/llvm/bin:$PATH +# - export #LDFLAGS="-L/opt/homebrew/opt/llvm/lib" +# - export #CPPFLAGS="-I/opt/homebrew/opt/llvm/include" +# - export ARCHS="i386 x86_64" +# - export ARCHS_STANDARD="i386 x86_64" +# - export ARCHS_STANDARD_32_64_BIT="i386 x86_64" +# - export ARCHS_STANDARD_64_BIT=x86_64 +# - export ARCHS_STANDARD_INCLUDING_64_BIT="i386 x86_64" +# - export ARCHS_UNIVERSAL_IPHONE_OS="i386 x86_64" +# - export VALID_ARCHS="i386 x86_64" +# - xcrun --sdk macosx --show-sdk-path +# - xcodebuild -version +# - export CC=/Applications/Xcode_26.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang +# - export CFLAGS="-O2 -unwindlib=none -Wno-macro-redefined -isysroot /Applications/Xcode_26.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -arch x86_64" +# - make TARGET=CORE2 DYNAMIC_ARCH=1 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1 RANLIB="ls -l" +# always: +# config_artifacts: +# path: "*conf*" +# type: text/plain # lib_artifacts: # path: "libopenblas*" # type: application/octet-streamm +# +#macos_instance: +# image: ghcr.io/cirruslabs/macos-sonoma-xcode:latest +#task: +# name: AppleM1/LLVM armv8-ios xbuild +# compile_script: +# - #brew install llvm +# - export #PATH=/opt/homebrew/opt/llvm/bin:$PATH +# - export #LDFLAGS="-L/opt/homebrew/opt/llvm/lib" +# - export #CPPFLAGS="-I/opt/homebrew/opt/llvm/include" +# - export CC=/Applications/Xcode_26.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang +# - export CFLAGS="-O2 -unwindlib=none -Wno-macro-redefined -isysroot /Applications/Xcode_26.0.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -arch arm64 -miphoneos-version-min=10.0" +# - xcrun --sdk iphoneos --show-sdk-path +# - ls -l /Applications +ä - make TARGET=ARMV8 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1 CROSS=1 +# always: +# config_artifacts: +# path: "*conf*" +# type: text/plain +# +#macos_instance: +# image: ghcr.io/cirruslabs/macos-tahoe-xcode:latest +#task: +# name: AppleM1/LLVM armv7-androidndk xbuild +# compile_script: +# - brew install --cask android-ndk +# - export ANDROID_NDK_HOME="/opt/homebrew/share/android-ndk" +# - export CC=/opt/homebrew/share/android-ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/armv7a-linux-androideabi23-clang +# - export AR=/opt/homebrew/share/android-ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ar +# - export RANLIB=/opt/homebrew/share/android-ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ranlib +# - make TARGET=ARMV7 ARM_SOFTFP_ABI=1 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1 +# always: +# config_artifacts: +# path: "*conf*" +# type: text/plain +# +#task: +# name: NeoverseN1 +# arm_container: +# image: node:latest +# compile_script: +# - make +# +# task: +# name: NeoverseN1-ILP64 +# arm_container: +# image: node:latest +# compile_script: +# - make INTERFACE64=1 +# +#task: +# name: NeoverseN1-OMP +# arm_container: +# image: node:latest +# cpu: 8 +# compile_script: +# - make USE_OPENMP=1 -macos_instance: - image: ghcr.io/cirruslabs/macos-sonoma-xcode:latest -task: - name: AppleM1/LLVM armv8-ios xbuild - compile_script: - - #brew install llvm - - export #PATH=/opt/homebrew/opt/llvm/bin:$PATH - - export #LDFLAGS="-L/opt/homebrew/opt/llvm/lib" - - export #CPPFLAGS="-I/opt/homebrew/opt/llvm/include" - - export CC=/Applications/Xcode_26.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - - export CFLAGS="-O2 -unwindlib=none -Wno-macro-redefined -isysroot /Applications/Xcode_26.0.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -arch arm64 -miphoneos-version-min=10.0" - - xcrun --sdk iphoneos --show-sdk-path - - ls -l /Applications - - make TARGET=ARMV8 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1 CROSS=1 - always: - config_artifacts: - path: "*conf*" - type: text/plain - -macos_instance: - image: ghcr.io/cirruslabs/macos-tahoe-xcode:latest -task: - name: AppleM1/LLVM armv7-androidndk xbuild - compile_script: - - brew install --cask android-ndk - - export ANDROID_NDK_HOME="/opt/homebrew/share/android-ndk" - - export CC=/opt/homebrew/share/android-ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/armv7a-linux-androideabi23-clang - - export AR=/opt/homebrew/share/android-ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ar - - export RANLIB=/opt/homebrew/share/android-ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ranlib - - make TARGET=ARMV7 ARM_SOFTFP_ABI=1 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1 - always: - config_artifacts: - path: "*conf*" - type: text/plain - -task: - name: NeoverseN1 - arm_container: - image: node:latest - compile_script: - - make - - task: - name: NeoverseN1-ILP64 - arm_container: - image: node:latest - compile_script: - - make INTERFACE64=1 - -task: - name: NeoverseN1-OMP - arm_container: - image: node:latest - cpu: 8 - compile_script: - - make USE_OPENMP=1 FreeBSD_task: name: FreeBSD-gcc From 75791e4d0aaa7f12970256a8154773083c746220 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 30 Apr 2026 07:51:51 +0200 Subject: [PATCH 3/3] fix typo --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 2ec90c408c..69ef300bb9 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -82,7 +82,7 @@ # - export CFLAGS="-O2 -unwindlib=none -Wno-macro-redefined -isysroot /Applications/Xcode_26.0.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -arch arm64 -miphoneos-version-min=10.0" # - xcrun --sdk iphoneos --show-sdk-path # - ls -l /Applications -ä - make TARGET=ARMV8 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1 CROSS=1 +# - make TARGET=ARMV8 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1 CROSS=1 # always: # config_artifacts: # path: "*conf*"