Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPrevent building with busted xcode tools #22978
Comments
|
@paulrouget What does |
|
The check has to be added in this file, or is there a better place? https://github.com/servo/servo/blob/master/python/servo/build_commands.py#L200 |
|
Yes, that seems fine to me. We have similar checks for known-broken configurations at servo/python/servo/build_commands.py Lines 215 to 218 in 55347aa |
|
I remember I'm using Xcode beta on macOS Mojave (10.14.3) but, unfortunately, I see → xcode-select -p
/Applications/Xcode-beta.app/Contents/Developer
→ xcode-select --version
xcode-select version 2354. |
|
Humbug. What about |
|
How about yours @pradyunsg? |
|
|
Should I try adding homebrew's LLVM to the path? (it does seem
|
|
No idea if that will work or not. The supported way is to install the xcode beta. |
|
I'll try after my paper today. |
|
|
Alrighty then, starting an ~7 hour download then. :) |
We know that a particular version of xcode that is available with MacOS Mojave contains a bug that prevents linking Servo (#21792). We should detect that and tell users attempting to build Servo with that XCode version that they need to update.
It might be possible to use
xcode-select --versionto detect this. On a system with a busted version, the output is2354. On my system which is pre-Mojave is it2347.