File tree Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,8 @@ include(GNUInstallDirs)
17
17
18
18
include (CMakePackageConfigHelpers )
19
19
20
- if (MSVC AND NOT DEFINED NOFORTRAN )
21
- set (NOFORTRAN ON )
22
- endif ()
23
-
24
20
#######
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 )
28
22
29
23
option (BUILD_WITHOUT_CBLAS "Do not build the C interface (CBLAS) to the BLAS functions" OFF )
30
24
Original file line number Diff line number Diff line change 65
65
- task : CMake@1
66
66
inputs :
67
67
workingDirectory : ' build' # Optional
68
- cmakeArgs : ' -G "Visual Studio 16 2019 " ..'
68
+ cmakeArgs : ' -G "Visual Studio 17 2022 " ..'
69
69
- task : CMake@1
70
70
inputs :
71
71
cmakeArgs : ' --build . --config Release'
@@ -103,7 +103,7 @@ jobs:
103
103
104
104
- job : Windows_flang_clang
105
105
pool :
106
- vmImage : ' windows-latest '
106
+ vmImage : ' windows-2022 '
107
107
steps :
108
108
- script : |
109
109
set "PATH=C:\Miniconda\Scripts;C:\Miniconda\Library\bin;C:\Miniconda\Library\usr\bin;C:\Miniconda\condabin;%PATH%"
@@ -114,7 +114,7 @@ jobs:
114
114
conda install --yes --quiet ninja flang
115
115
mkdir build
116
116
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"
118
118
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 ..
119
119
cmake --build . --config Release
120
120
ctest
@@ -178,7 +178,7 @@ jobs:
178
178
cmake -DTARGET=CORE2 -DDYNAMIC_ARCH=1 -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_Fortran_COMPILER=gfortran-10 -DBUILD_SHARED_LIBS=ON ..
179
179
cmake --build .
180
180
ctest
181
-
181
+
182
182
- job : OSX_Ifort_Clang
183
183
pool :
184
184
vmImage : ' macOS-10.15'
Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ if(WIN32)
30
30
FILE (WRITE ${CMAKE_CURRENT_BINARY_DIR} /test_helper.ps1
31
31
"if (Test-Path $args[2]) { Remove-Item -Force $args[2] } \n "
32
32
"$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 "
33
37
"Get-Content $args[1] | & $args[0]\n "
34
38
"If ((Get-Content $args[2] | %{$_ -match \" FATAL\" }) -contains $true) {\n "
35
39
"echo Error\n "
You can’t perform that action at this time.
0 commit comments