File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 94
94
name : AppleM1/LLVM armv7-androidndk xbuild
95
95
compile_script :
96
96
- brew install --cask android-ndk
97
- - export # PATH=/opt/homebrew/opt/llvm/bin:$PATH
98
- - export # LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
99
- - export # CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
100
- - export ANDROID_NDK_HOME="/opt/homebrew/share/android-ndk"
101
- - ls /opt/homebrew
102
- - ls -l /System/Volumes/Data/opt/homebrew/Caskroom/android-ndk
103
- - find /opt/homebrew -name "armv7a-linux-androideabi*-ranlib"
104
- - # export CC=/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
105
- - # export CFLAGS="-O2 -unwindlib=none -Wno-macro-redefined -isysroot /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk -arch arm64 -miphoneos-version-min=10.0"
106
- - export CC=/System/Volumes/Data/opt/homebrew/Caskroom/android-ndk/27/AndroidNDK*.app/Contents/NDK/toolchains/llvm/prebuilt/darwin-x86_64/bin/armv7a-linux-androideabi23-clang
97
+ - export ANDROID_NDK_HOME="/opt/homebrew/share/android-ndk""
98
+ - export CC=/opt/homebrew/share/android-ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/armv7a-linux-androideabi23-clang
107
99
- make TARGET=ARMV7 ARM_SOFTFP_ABI=1 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1 RANLIB="ls -l"
108
100
always :
109
101
config_artifacts :
You can’t perform that action at this time.
0 commit comments