Skip to content

Commit ae9e8b1

Browse files
authored
Add mingw builds to Appveyor config
1 parent 9086543 commit ae9e8b1

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

appveyor.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,14 @@ environment:
3535
DYNAMIC_ARCH: ON
3636
WITH_FORTRAN: no
3737
- COMPILER: cl
38-
38+
- COMPILER: MinGW64-gcc-7.2.0-mingw
39+
DYNAMIC_ARCH: OFF
40+
WITH_FORTRAN: ignore
41+
- COMPILER: MinGW64-gcc-7.2.0
42+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
43+
COMPILER: MinGW-gcc-5.3.0
44+
WITH_FORTRAN: ignore
45+
3946
install:
4047
- if [%COMPILER%]==[clang-cl] call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
4148
- if [%COMPILER%]==[clang-cl] conda config --add channels conda-forge --force
@@ -52,7 +59,14 @@ install:
5259
before_build:
5360
- ps: if (-Not (Test-Path .\build)) { mkdir build }
5461
- cd build
62+
- set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
63+
- if [%COMPILER%]==[MinGW-gcc-5.3.0] set PATH=C:\MinGW\bin;C:\msys64\usr\bin;C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%
64+
- if [%COMPILER%]==[MinGW64-gcc-7.2.0-mingw] set PATH=C:\MinGW\bin;C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%
65+
- if [%COMPILER%]==[MinGW64-gcc-7.2.0] set PATH=C:\msys64\usr\bin;C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%
5566
- if [%COMPILER%]==[cl] cmake -G "Visual Studio 15 2017 Win64" ..
67+
- if [%COMPILER%]==[MinGW64-gcc-7.2.0-mingw] cmake -G "MinGW Makefiles" -DNOFORTRAN=1 ..
68+
- if [%COMPILER%]==[MinGW64-gcc-7.2.0] cmake -G "MSYS Makefiles" -DBINARY=32 -DNOFORTRAN=1 ..
69+
- if [%COMPILER%]==[MinGW-gcc-5.3.0] cmake -G "MSYS Makefiles" -DNOFORTRAN=1 ..
5670
- if [%WITH_FORTRAN%]==[no] cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=clang-cl -DMSVC_STATIC_CRT=ON ..
5771
- if [%WITH_FORTRAN%]==[yes] cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_WITHOUT_LAPACK=no -DNOFORTRAN=0 ..
5872
- if [%DYNAMIC_ARCH%]==[ON] cmake -DDYNAMIC_ARCH=ON -DDYNAMIC_LIST='CORE2;NEHALEM;SANDYBRIDGE;BULLDOZER;HASWELL' ..
@@ -64,3 +78,4 @@ test_script:
6478
- echo Running Test
6579
- cd utest
6680
- openblas_utest
81+

0 commit comments

Comments
 (0)