-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'mkl-find' into 'master'
[cmake] Refactored MKL find logic to use CONFIG mode See merge request ogs/ogs!4789
- Loading branch information
Showing
8 changed files
with
58 additions
and
395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
.load_vs2019_env: &load_vs2019_env | ||
- | | ||
pushd $env:VS160COMNTOOLS | ||
cmd /c "VsDevCmd.bat -arch=amd64 -host_arch=amd64&set" | | ||
foreach { | ||
if ($_ -match "=") { | ||
$v = $_.split("=", 2); set-item -force -path "ENV:\$($v[0])" -value "$($v[1])" | ||
} | ||
} | ||
popd | ||
Write-Host "`nVisual Studio Command Prompt variables set." -ForegroundColor Yellow | ||
.vs2019-environment: | ||
before_script: | ||
# Load VS environment | ||
- | | ||
pushd $env:VS160COMNTOOLS | ||
cmd /c "VsDevCmd.bat -arch=amd64 -host_arch=amd64&set" | | ||
foreach { | ||
if ($_ -match "=") { | ||
$v = $_.split("=", 2); set-item -force -path "ENV:\$($v[0])" -value "$($v[1])" | ||
} | ||
} | ||
popd | ||
Write-Host "`nVisual Studio Command Prompt variables set." -ForegroundColor Yellow | ||
- *load_vs2019_env | ||
|
||
.vs2019-mkl-environment: | ||
before_script: | ||
- *load_vs2019_env | ||
# Load MKL environment | ||
- '& "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"' | ||
- $env:PATH += ";C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\redist\intel64_win\compiler" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.