@@ -180,7 +180,7 @@ let ``Apply Version`` _ =
180180
181181let ``Restore`` _ =
182182 allSolutions |> List.iter restore
183-
183+
184184let fingerprint = " 490408de3618bed0a28e68dc5face46e5a3a97dd"
185185let timeserver = " http://time.certum.pl/"
186186
@@ -196,7 +196,7 @@ let ``Build`` isStrongname isSign _ =
196196 zip numericsStrongNameZipPackage header numericsSolution.OutputZipDir numericsSolution.OutputLibStrongNameDir ( fun f -> f.Contains( " MathNet.Numerics." ) || f.Contains( " System.Threading." ) || f.Contains( " FSharp.Core." ))
197197 packStrongNamed numericsSolution
198198 collectNuGetPackages numericsSolution
199-
199+
200200 // Normal Build (without strong name, with certificate signature)
201201 Shell.cleanDirs (!! " src/**/obj/" ++ " src/**/bin/" )
202202 restore numericsSolution
@@ -206,7 +206,7 @@ let ``Build`` isStrongname isSign _ =
206206 zip numericsZipPackage header numericsSolution.OutputZipDir numericsSolution.OutputLibDir ( fun f -> f.Contains( " MathNet.Numerics." ) || f.Contains( " System.Threading." ) || f.Contains( " FSharp.Core." ))
207207 pack numericsSolution
208208 collectNuGetPackages numericsSolution
209-
209+
210210 // NuGet Sign (all or nothing)
211211 if isSign then signNuGet fingerprint timeserver [ numericsSolution]
212212
@@ -218,40 +218,40 @@ let ``Build MKL Windows`` isIncremental isSign _ =
218218 // |> CreateProcess.withTimeout (TimeSpan.FromMinutes 10.)
219219 // |> Proc.run
220220 //if result.ExitCode <> 0 then failwith "Error while setting oneAPI environment variables."
221-
221+
222222 restore mklSolution
223- buildVS2019x86 " Release-MKL" isIncremental !! " MathNet.Numerics.MKL.sln"
224- buildVS2019x64 " Release-MKL" isIncremental !! " MathNet.Numerics.MKL.sln"
223+ buildVS2022x86 " Release-MKL" isIncremental !! " MathNet.Numerics.MKL.sln"
224+ buildVS2022x64 " Release-MKL" isIncremental !! " MathNet.Numerics.MKL.sln"
225225 Directory.create mklSolution.OutputZipDir
226226 zip mklWinZipPackage header mklSolution.OutputZipDir " out/MKL/Windows" ( fun f -> f.Contains( " MathNet.Numerics.Providers.MKL." ) || f.Contains( " MathNet.Numerics.MKL." ) || f.Contains( " libiomp5md.dll" ))
227227 Directory.create mklSolution.OutputNuGetDir
228228 nugetPackManually mklSolution [ mklWinPack; mklWin32Pack; mklWin64Pack ] header
229-
229+
230230 // NuGet Sign (all or nothing)
231231 if isSign then signNuGet fingerprint timeserver [ mklSolution]
232232
233233let ``Build CUDA Windows`` isIncremental isSign _ =
234234
235235 restore cudaSolution
236- buildVS2019x64 " Release-CUDA" isIncremental !! " MathNet.Numerics.CUDA.sln"
236+ buildVS2022x64 " Release-CUDA" isIncremental !! " MathNet.Numerics.CUDA.sln"
237237 Directory.create cudaSolution.OutputZipDir
238238 zip cudaWinZipPackage header cudaSolution.OutputZipDir " out/CUDA/Windows" ( fun f -> f.Contains( " MathNet.Numerics.Providers.CUDA." ) || f.Contains( " MathNet.Numerics.CUDA." ) || f.Contains( " cublas" ) || f.Contains( " cudart" ) || f.Contains( " cusolver" ))
239239 Directory.create cudaSolution.OutputNuGetDir
240240 nugetPackManually cudaSolution [ cudaWinPack ] header
241-
241+
242242 // NuGet Sign (all or nothing)
243243 if isSign then signNuGet fingerprint timeserver [ cudaSolution]
244244
245245let ``Build OpenBLAS Windows`` isIncremental isSign _ =
246-
246+
247247 restore openBlasSolution
248- buildVS2019x86 " Release-OpenBLAS" isIncremental !! " MathNet.Numerics.OpenBLAS.sln"
249- buildVS2019x64 " Release-OpenBLAS" isIncremental !! " MathNet.Numerics.OpenBLAS.sln"
248+ buildVS2022x86 " Release-OpenBLAS" isIncremental !! " MathNet.Numerics.OpenBLAS.sln"
249+ buildVS2022x64 " Release-OpenBLAS" isIncremental !! " MathNet.Numerics.OpenBLAS.sln"
250250 Directory.create openBlasSolution.OutputZipDir
251251 zip openBlasWinZipPackage header openBlasSolution.OutputZipDir " out/OpenBLAS/Windows" ( fun f -> f.Contains( " MathNet.Numerics.Providers.OpenBLAS." ) || f.Contains( " MathNet.Numerics.OpenBLAS." ) || f.Contains( " libgcc" ) || f.Contains( " libgfortran" ) || f.Contains( " libopenblas" ) || f.Contains( " libquadmath" ))
252252 Directory.create openBlasSolution.OutputNuGetDir
253253 nugetPackManually openBlasSolution [ openBlasWinPack ] header
254-
254+
255255 // NuGet Sign (all or nothing)
256256 if isSign then signNuGet fingerprint timeserver [ openBlasSolution]
257257
@@ -320,7 +320,7 @@ let initTargets strongname sign incremental =
320320 " Start" =?> ( " Clean" , not incremental) ==> " Restore" |> ignore
321321 Target.create " Prepare" ignore
322322 " Start" =?> ( " Clean" , not incremental) ==> " ApplyVersion" ==> " Prepare" |> ignore
323-
323+
324324 // BUILD, SIGN, COLLECT
325325 Target.create " Build" ( `` Build `` strongname sign)
326326 " Prepare" ==> " Build" |> ignore
@@ -330,7 +330,7 @@ let initTargets strongname sign incremental =
330330 " Prepare" ==> " CudaWinBuild" |> ignore
331331 Target.create " OpenBlasWinBuild" ( `` Build OpenBLAS Windows `` incremental sign)
332332 " Prepare" ==> " OpenBlasWinBuild" |> ignore
333-
333+
334334 // TEST
335335 Target.create " TestNumerics" ignore
336336 Target.create " TestNumericsNET50" ( `` Test Numerics `` " net5.0" )
@@ -419,13 +419,13 @@ let initTargets strongname sign incremental =
419419
420420 Target.create " All" ignore
421421 " All" <== [ " Build" ; " Docs" ; " Api" ; " Test" ]
422-
422+
423423 Target.create " MklWinAll" ignore
424424 " MklWinAll" <== [ " MklWinBuild" ; " MklTest" ]
425-
425+
426426 Target.create " CudaWinAll" ignore
427427 " CudaWinAll" <== [ " CudaWinBuild" ; " CudaTest" ]
428-
428+
429429 Target.create " OpenBlasWinAll" ignore
430430 " OpenBlasWinAll" <== [ " OpenBlasWinBuild" ; " OpenBlasTest" ]
431431
@@ -460,7 +460,7 @@ let main argv =
460460 args |> Seq.contains " --sign" && Environment.isWindows,
461461 args |> Seq.contains " --incremental"
462462 | None -> false , false , false
463-
463+
464464 if isStrongname then Trace.log " Option: Strongnamed"
465465 if isSign then Trace.log " Option: Signed"
466466 if isIncremental then Trace.log " Option: Incremental"
0 commit comments