File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,4 +254,46 @@ jobs:
254254 ls -l /Applications
255255 make TARGET=ARMV8 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1 CROSS=1
256256
257-
257+ xbuild-ios32 :
258+ if : " github.repository == 'OpenMathLib/OpenBLAS'"
259+ runs-on : macos-26
260+
261+ strategy :
262+ fail-fast : false
263+
264+ steps :
265+ - name : Checkout repository
266+ uses : actions/checkout@v6
267+
268+ - name : Print system information
269+ run : |
270+ if [ "$RUNNER_OS" == "macOS" ]; then
271+ sysctl -a | grep machdep.cpu
272+ else
273+ echo "::error::$RUNNER_OS not supported"
274+ exit 1
275+ fi
276+
277+ - name : Install Dependencies
278+ run : |
279+ if [ "$RUNNER_OS" == "Linux" ]; then
280+ sudo apt-get install -y gfortran cmake ccache libtinfo5
281+ elif [ "$RUNNER_OS" == "macOS" ]; then
282+ # It looks like "gfortran" isn't working correctly unless "gcc" is re-installed.
283+ brew reinstall gcc
284+ brew install coreutils ccache
285+ brew install llvm
286+ brew install --cask android-ndk
287+ else
288+ echo "::error::$RUNNER_OS not supported"
289+ exit 1
290+ fi
291+
292+ - name : AppleM1/LLVM armv7-androidndk xbuild
293+ run : |
294+ export ANDROID_NDK_HOME="/opt/homebrew/share/android-ndk"
295+ export CC=/opt/homebrew/share/android-ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/armv7a-linux-androideabi23-clang
296+ export AR=/opt/homebrew/share/android-ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ar
297+ export RANLIB=/opt/homebrew/share/android-ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ranlib
298+ make TARGET=ARMV7 ARM_SOFTFP_ABI=1 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1
299+
You can’t perform that action at this time.
0 commit comments