File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,14 +17,8 @@ include(GNUInstallDirs)
1717
1818include (CMakePackageConfigHelpers )
1919
20- if (MSVC AND NOT DEFINED NOFORTRAN)
21- set (NOFORTRAN ON )
22- endif ()
23-
2420#######
25- if (MSVC )
26- option (BUILD_WITHOUT_LAPACK "Do not build LAPACK and LAPACKE (Only BLAS or CBLAS)" ON )
27- endif ()
21+ option (BUILD_WITHOUT_LAPACK "Do not build LAPACK and LAPACKE (Only BLAS or CBLAS)" OFF )
2822
2923option (BUILD_WITHOUT_CBLAS "Do not build the C interface (CBLAS) to the BLAS functions" OFF )
3024
Original file line number Diff line number Diff line change 6565 - task : CMake@1
6666 inputs :
6767 workingDirectory : ' build' # Optional
68- cmakeArgs : ' -G "Visual Studio 16 2019 " ..'
68+ cmakeArgs : ' -G "Visual Studio 17 2022 " ..'
6969 - task : CMake@1
7070 inputs :
7171 cmakeArgs : ' --build . --config Release'
@@ -103,7 +103,7 @@ jobs:
103103
104104 - job : Windows_flang_clang
105105 pool :
106- vmImage : ' windows-latest '
106+ vmImage : ' windows-2022 '
107107 steps :
108108 - script : |
109109 set "PATH=C:\Miniconda\Scripts;C:\Miniconda\Library\bin;C:\Miniconda\Library\usr\bin;C:\Miniconda\condabin;%PATH%"
@@ -114,7 +114,7 @@ jobs:
114114 conda install --yes --quiet ninja flang
115115 mkdir build
116116 cd build
117- call "C:\Program Files (x86) \Microsoft Visual Studio\2019 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
117+ call "C:\Program Files\Microsoft Visual Studio\2022 \Enterprise\VC\Auxiliary\Build\vcvars64.bat"
118118 cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DCMAKE_MT=mt -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON ..
119119 cmake --build . --config Release
120120 ctest
@@ -178,7 +178,7 @@ jobs:
178178 cmake -DTARGET=CORE2 -DDYNAMIC_ARCH=1 -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_Fortran_COMPILER=gfortran-10 -DBUILD_SHARED_LIBS=ON ..
179179 cmake --build .
180180 ctest
181-
181+
182182 - job : OSX_Ifort_Clang
183183 pool :
184184 vmImage : ' macOS-10.15'
Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ if(WIN32)
3030FILE (WRITE ${CMAKE_CURRENT_BINARY_DIR} /test_helper.ps1
3131"if (Test-Path $args[2]) { Remove-Item -Force $args[2] } \n "
3232"$ErrorActionPreference = \" Stop\"\n "
33+ "If ((Get-Content $args[1] | & file - | %{$_ -match \" BOM\" }) -contains $true) {\n "
34+ "echo 'Skipped due to wrong input encoding'\n "
35+ "exit 0\n "
36+ "}\n "
3337"Get-Content $args[1] | & $args[0]\n "
3438"If ((Get-Content $args[2] | %{$_ -match \" FATAL\" }) -contains $true) {\n "
3539"echo Error\n "
You can’t perform that action at this time.
0 commit comments