viable/strict/1789858227: Use language-specific cache keys for compiler flag checks (#197614)
- PyTorch 近 90 天出现 1223 次
- PyTorch 近 90 天第 1209 次发版
- 上一次:同一天稍早 · viable/strict/1789856642
发生了什么
The C and C++ flag helpers used the same cache variable for a given flag. Since CMake caches compiler-check results by variable name, the second helper could reuse the first language's result without testing its compiler. Prefix the cache variables with C or CXX so each language is checked independently. Motivation This issue was discovered by GPT-5.6-Sol while I was working on another feature. I don't think it has…
摘要按规则整理自下方来源原文