upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/thread_stacks.cpp
diff options
context:
space:
mode:
authorDominik <55330408+Dom-in@users.noreply.github.com>2026-11-22 09:09:05 +0000
committerDominik <55330408+Dom-in@users.noreply.github.com>2026-11-22 09:35:02 +0000
commit7249dcb87d410bbf14ee7b858fd3acead601d31d (patch)
tree580268038a61bc33da2fdc903853c15a1415ec9e /runtime/src/thread_stacks.cpp
parente7584c5207e44ed51472e6aa05c781f39ea975f6 (diff)
hw_oracle: build the launcher with MSVC when there is no MinGW gcc
find_cc() accepted only gcc, so a Windows contributor with Visual Studio (already required for the runtime) got "hardware oracle unavailable: no MinGW gcc". hw_oracle.c builds cleanly with cl /O1. - Order: LEONIDA_HOST_CC (gcc, or cl.exe / clang-cl), gcc on PATH or in C:\msys64, then on Windows a cl on PATH (Developer shell), then the Visual Studio vswhere finds, through its vcvars64.bat in a .cmd script. - cl's objects go to the oracle's work folder, its errors (on stdout) reach the Unavailable message, and the temporary launcher name ends in .exe so cl doesn't append another one. - Unit tests for the choice and the commands; docs/shader_validation.md says the runtime's VS is enough. Checked end to end on an RX 9070 with no gcc and no cl on PATH: the launcher is built through vcvars64.bat, salu_diff and crosslane_fuzz --oracle hw run with 0 mismatches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions