From bbfec45fbb1e95ba55f84193582b41295d22ff97 Mon Sep 17 00:00:00 2001 From: Jan Svabenik Date: Thu, 19 Mar 2026 09:46:51 +0100 Subject: [PATCH] chore: ignore generated CUDA build outputs --- .gitignore | 2 +- tools/build-gpudemod-kernel.ps1 | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index badc133..d84ca9d 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,7 @@ /bin/ # runtime data -data/events.jsonl +data/ config.autosave.yaml # local prompts diff --git a/tools/build-gpudemod-kernel.ps1 b/tools/build-gpudemod-kernel.ps1 index d021574..f09276f 100644 --- a/tools/build-gpudemod-kernel.ps1 +++ b/tools/build-gpudemod-kernel.ps1 @@ -16,6 +16,8 @@ if (!(Test-Path $nvcc)) { New-Item -ItemType Directory -Force -Path $OutDir | Out-Null $outObj = Join-Path $OutDir 'kernels.obj' $outLib = Join-Path $OutDir 'gpudemod_kernels.lib' +if (Test-Path $outObj) { Remove-Item $outObj -Force } +if (Test-Path $outLib) { Remove-Item $outLib -Force } Write-Host "Using nvcc: $nvcc" Write-Host "Building $Source -> $outObj"