File tree 2 files changed +14
-10
lines changed 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,17 @@ build_script:
47
47
- set SCRIPT_DIR=%START_DIR%appveyor\
48
48
# Need --login to process MSYSTEM variable
49
49
- bash --login %SCRIPT_DIR%build_openblas.sh
50
- - bash --login %SCRIPT_DIR%build_gfortran.sh
51
50
52
51
test_script :
53
- - bash --login -c "$(cygpath $START_DIR)test.exe"
52
+ - bash --login %SCRIPT_DIR%build_gfortran.sh
54
53
- copy test.exe builds
54
+ - copy test_dyn.exe builds
55
+ - bash --login -c "$(cygpath $START_DIR)test.exe"
56
+ - copy %OPENBLAS_ROOT%\%BUILD_BITS%\bin\*.dll .
57
+ - bash --login -c "$(cygpath $START_DIR)test_dyn.exe"
55
58
56
- artifacts :
57
- - path : builds\*.*
59
+ on_finish :
60
+ - ps : Get-ChildItem builds\*.* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
58
61
59
62
on_success :
60
63
# Upload the generated package to Rackspace
Original file line number Diff line number Diff line change 2
2
cd $( cygpath " $START_DIR " )
3
3
OBP=$( cygpath $OPENBLAS_ROOT \\ $BUILD_BITS )
4
4
5
+ static_libname=` find $OBP /lib -maxdepth 1 -type f -name ' *.a' \! -name ' *.dll.a' `
6
+ dynamic_libname=` find $OBP /lib -maxdepth 1 -type f -name ' *.dll.a' `
7
+
5
8
if [ " $INTERFACE64 " == " 1" ]; then
6
- gfortran -I $OBP /include -fdefault-integer-8 -o test.exe test64_.f90 \
7
- ` ls $OBP /lib/libopenblas64__ * .a | grep -Ev ' \.(dll|dev)\.a ' `
9
+ gfortran -I $OBP /include -fdefault-integer-8 -o test.exe test64_.f90 $static_libname
10
+ gfortran -I $OBP /include -fdefault-integer-8 -o test_dyn.exe test64_.f90 $dynamic_libname
8
11
else
9
- gfortran -I $OBP /include -o test.exe test.f90 \
10
- $OBP /lib/libopenblas_ * .a
12
+ gfortran -I $OBP /include -o test.exe test.f90 $static_libname
13
+ gfortran -I $OBP /include -o test_dyn.exe test.f90 $dynamic_libname
11
14
fi
12
-
13
- ./test
You can’t perform that action at this time.
0 commit comments