summaryrefslogblamecommitdiff
path: root/share/spack/qa/windows_test_setup.ps1
blob: a7e3c66ea3e206ffe6c3626cf620ef4c78af8379 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                           
 
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])
    }
}