Don't put LLVM in $PATH since we now prefer .mozbuild
Categories
(Firefox Build System :: MozillaBuild, defect)
Tracking
(Not tracked)
People
(Reporter: jesup, Unassigned)
References
(Blocks 1 open bug, Regression)
Details
We added detection of system-installed LLVM for windows in bug 1238251; since we now use .mozbuild and pull clang from there for windows (or want to), if this adds LLVM from the system (Program Files (x86)) it breaks builds and uses the wrong LLVM/clang.
Bug 1238251 was OK in its time, when anything related to LLVM on Windows was a personal customization that you had to set up explicitly. Presumably at that point you were aware of what did and didn't work, etc.
But nowadays, with so many build pieces defaulting to LLVM, we should really prefer .mozbuild because it often contains compiler patches that our tree requires. People who aren't tinkering with compilers shouldn't have to think about whether their system LLVM is appropriate or not; things should Just Work by default.
Reporter | ||
Updated•6 years ago
|
Comment 2•5 years ago
|
||
Bug 1519954 prioritized .mozbuild over $PATH, so, practically speaking, this is fixed.
Updated•2 years ago
|
Description
•