Skip to content

Commit ec7d6c0

Browse files
authored
Add an Android crossbuild on OSX to Azure CI (#3224)
* Add an Android crossbuild on OSX
1 parent c90c23e commit ec7d6c0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

azure-pipelines.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,13 @@ jobs:
137137
source /opt/intel/oneapi/setvars.sh
138138
make CC=/usr/local/opt/llvm/bin/clang FC=ifort
139139
140+
- job: OSX_NDK_ARMV7
141+
pool:
142+
vmImage: 'macOS-10.15'
143+
steps:
144+
- script: |
145+
brew update
146+
brew install --cask android-ndk
147+
export ANDROID_NDK_HOME=/usr/local/share/android-ndk
148+
make TARGET=ARMV7 ONLY_CBLAS=1 CC=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/darwin-x86_64/bin/armv7a-linux-androideabi21-clang AR=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ar HOSTCC=gcc ARM_SOFTFP_ABI=1 -j4
149+

0 commit comments

Comments
 (0)