Wideband autonomous SDR analysis engine forked from sdr-visual-suite
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

21 satır
894B

  1. $ErrorActionPreference = 'Stop'
  2. $msvcCl = 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64'
  3. if (-not (Test-Path (Join-Path $msvcCl 'cl.exe'))) {
  4. throw "cl.exe not found at $msvcCl"
  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 = "$msvcCl;$cudaBin;" + $env:PATH
  11. Write-Host "Building CUDA kernel artifacts for Windows..." -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. Kernel artifacts prepared." -ForegroundColor Green
  15. Write-Host "Note: final full-app linking may still require an MSVC-compatible CGO/link strategy, not the current MinGW flow." -ForegroundColor Yellow