summaryrefslogtreecommitdiff
path: root/share/spack/qa/windows_test_setup.ps1
blob: eebd0b7480380782ffa2259762f344433d3f3235 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
Set-Location ../

$env:python_pf_ver="C:\hostedtoolcache\windows\Python\3.9.5\x64\python.exe"

cmd /c "`"spack\bin\spack_cmd.bat`" print " |
foreach {
    if ($_ -match "=") {
        $v = $_.split("=")
        [Environment]::SetEnvironmentVariable($v[0], $v[1])
    }
}