Files
json/cmake
Niels Lohmann c6f532d29f Fix flaky ci_nvhpc job: pin nvc++ target to generic baseline (-tp=px)
The ci_nvhpc job crashes intermittently with nvc++ 25.5's llc failing during
instruction selection on std::ldexp<unsigned>, a defect in LLVM that manifests
when nvc++ auto-detects certain CPU targets (particularly -tp znver4) from the
GitHub Actions runner's hardware.

Pinning to -tp=px (generic x86-64 baseline, SSE2-only) removes this variability
and is robust to future nvc++/LLVM updates. Empirical analysis of 19+ recent
ci_nvhpc runs shows the crash occurs specifically with znver4 runners; non-Zen4
runs pass cleanly, and the fix trades a bit of potential codegen performance
for reliability and reproducibility.

Closes: nlohmann/json#136 (todo tracking)
Co-Authored-By: Claude Code <noreply@anthropic.com>
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-07-09 11:57:17 +02:00
..
2026-05-14 15:39:18 +02:00
2022-09-18 08:15:12 +02:00
2025-07-31 20:10:57 +02:00
2025-05-16 08:32:18 +02:00