瀏覽代碼

docs: align README with current build flows

master
Jan Svabenik 2 天之前
父節點
當前提交
0faa198bf0
共有 1 個文件被更改,包括 12 次插入8 次删除
  1. +12
    -8
      README.md

+ 12
- 8
README.md 查看文件

@@ -33,15 +33,19 @@ go build -tags sdrplay ./cmd/sdrd
.\sdrd.exe -config config.yaml
```

#### Windows (GPU FFT / cuFFT)
Requires the NVIDIA CUDA Toolkit installed (cuFFT + cudart). Ensure CUDA `bin` and `lib/x64` are on PATH/LIB.
```powershell
$env:CGO_CFLAGS='-IC:\Program Files\SDRplay\API\inc -IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\include'
$env:CGO_LDFLAGS='-LC:\Program Files\SDRplay\API\x64 -lsdrplay_api -LC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\lib\x64 -lcufft -lcudart'
#### Windows (GPU / CUDA status)
Windows CUDA support in this repository is currently split into separate steps:

go build -tags "sdrplay,cufft" ./cmd/sdrd
.\sdrd.exe -config config.yaml
```
- `build-windows-default.ps1` → reliable default Windows app build
- `build-cuda-windows.ps1` → builds CUDA kernel artifacts (`kernels.obj`, `gpudemod_kernels.lib`)
- `build-windows-cuda-app.ps1` → experimental full Windows CUDA app build path

Important:
- the original invalid `#cgo LDFLAGS` CUDA integration issue has been fixed
- CUDA kernel artifact preparation works on Jan's machine
- a full end-to-end Windows CUDA app build is still blocked by Go/CGO + Windows toolchain behavior (see `docs/build-cuda.md` and `docs/windows-cgo-msvc-note.md`)

Use the scripts above instead of the older manual one-liner.

### Linux
```bash


Loading…
取消
儲存