Update azure-pipelines.yml

This commit is contained in:
Martin Kroeker 2021-07-11 11:29:52 +02:00 committed by GitHub
parent c47e35acee
commit 8acb6fe3a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -157,10 +157,10 @@ jobs:
alpine() { /alpine/enter-chroot -u "$USER" "$@"; } alpine() { /alpine/enter-chroot -u "$USER" "$@"; }
sudo sh alpine-chroot-install -p 'build-base gfortran perl linux-headers sudo' sudo sh alpine-chroot-install -p 'build-base gfortran perl linux-headers sudo'
alpine make DYNAMIC_ARCH=1 BINARY=64 alpine make DYNAMIC_ARCH=1 BINARY=64
alpine sh -c "echo ''|sudo -S make DYNAMIC_ARCH=1 BINARY=64 install" alpine make DYNAMIC_ARCH=1 BINARY=64 PREFIX=mytestdir install"
alpine ls -l /opt/OpenBLAS/include alpine ls -l mytestdir/include
alpine echo "// tests that inclusion of openblas_config.h works with musl" >test_install.c alpine echo "// tests that inclusion of openblas_config.h works with musl" >test_install.c
alpine echo "#include <openblas_config.h>" >>test_install.c alpine echo "#include <openblas_config.h>" >>test_install.c
alpine echo "cpu_set_t* cpu_set = NULL;" >>test_install.c alpine echo "cpu_set_t* cpu_set = NULL;" >>test_install.c
alpine gcc -I/opt/OpenBLAS/include test_install.c -lopenblas -lpthread -lgfortran -o test_install alpine gcc -Imytestdir/include test_install.c -lopenblas -lpthread -lgfortran -o test_install