Start: Add option to not install wheels

Building from source is a case for many wheels, so add an option
to skip wheel upgrades/installation if the user uses the start script.

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri
2023-12-25 11:49:56 -05:00
parent 09ae71aa91
commit 670ccac19a

View File

@@ -1,6 +1,7 @@
# Arg parsing
param(
[switch]$ignore_upgrade = $false,
[switch]$nowheel = $false,
[switch]$activate_venv = $false
)
@@ -12,6 +13,12 @@ function GetRequirementsFile {
exit
}
# Install nowheel if specified
if ($nowheel) {
Write-Output "Not installing wheels due to user request."
return "requirements-nowheel"
}
$CudaPath = $env:CUDA_PATH
$CudaVersion = Split-Path $CudaPath -Leaf