File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -147,3 +147,21 @@ jobs:
147
147
export ANDROID_NDK_HOME=/usr/local/share/android-ndk
148
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
149
150
+ - job : ALPINE_MUSL
151
+ pool :
152
+ vmImage : ' ubuntu-latest'
153
+ steps :
154
+ - script : |
155
+ wget 'https://raw.githubusercontent.com/alpinelinux/alpine-chroot-install/v0.9.0/alpine-chroot-install' \
156
+ && echo 'e5dfbbdc0c4b3363b99334510976c86bfa6cb251 alpine-chroot-install' | sha1sum -c || exit 1
157
+ alpine() { /alpine/enter-chroot -u "$USER" "$@"; }
158
+ sudo sh alpine-chroot-install -p 'build-base gfortran perl linux-headers sudo'
159
+ alpine make DYNAMIC_ARCH=1 BINARY=64
160
+ alpine make DYNAMIC_ARCH=1 BINARY=64 PREFIX=mytestdir install
161
+ alpine ls -l mytestdir/include
162
+ alpine echo "// tests that inclusion of openblas_config.h works with musl" >test_install.c
163
+ alpine echo "#include <openblas_config.h>" >>test_install.c
164
+ alpine echo "int main(){" >> test_install.c
165
+ alpine echo "cpu_set_t* cpu_set = NULL;}" >>test_install.c
166
+ alpine gcc -Imytestdir/include test_install.c -Lmytestdir/lib -lopenblas -lpthread -lgfortran -o test_install
167
+
You can’t perform that action at this time.
0 commit comments