Wideband autonomous SDR analysis engine forked from sdr-visual-suite
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

20 řádky
710B

  1. $ErrorActionPreference = 'Stop'
  2. $mingw = 'C:\msys64\mingw64\bin'
  3. if (-not (Test-Path (Join-Path $mingw 'g++.exe'))) {
  4. throw "MinGW g++ not found at $mingw"
  5. }
  6. $cudaBin = 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.2\bin'
  7. if (-not (Test-Path (Join-Path $cudaBin 'nvcc.exe'))) {
  8. throw "nvcc.exe not found at $cudaBin"
  9. }
  10. $env:PATH = "$mingw;$cudaBin;" + $env:PATH
  11. Write-Host 'Preparing Windows CUDA environment for gpudemod (MinGW host compiler)...' -ForegroundColor Cyan
  12. powershell -ExecutionPolicy Bypass -File tools\build-gpudemod-kernel.ps1
  13. if ($LASTEXITCODE -ne 0) { throw 'kernel build failed' }
  14. Write-Host 'Done. GNU-compatible gpudemod kernel library prepared.' -ForegroundColor Green