# TODO - load from some common data file for linux + windows build consistency
$GPU_LIST=@(
"gfx900"
"gfx906:xnack-"
"gfx908:xnack-"
"gfx90a:xnack+"
"gfx90a:xnack-"
"gfx1010"
"gfx1012"
"gfx1030"
"gfx1100"
"gfx1101"
"gfx1102"
)
$GPU_LIST-join';'
}
functioninit_vars{
functioninit_vars{
# Verify the environment is a Developer Shell for MSVC 2019
write-host$env:VSINSTALLDIR
if(($env:VSINSTALLDIR-eq$null)){
Write-Error"`r`nBUILD ERROR - YOUR DEVELOPMENT ENVIRONMENT IS NOT SET UP CORRECTLY`r`nTo build Ollama you must run from an MSVC Developer Shell`r`nSee .\docs\development.md for instructions to set up your dev environment"