-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
xcbuild: add support for exporting sdk info #85844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xcbuild: add support for exporting sdk info #85844
Conversation
@worldofpeace Can you merge this, or let me know what i should be doing to move this forward? Thanks! |
@virusdave Hi, I would merge this solely off the fact @matthewbauer approves, but I'm wondering if we want a mass rebuild on darwin for master where it isn't critical. I'm suspecting not, so could you rebase onto staging? |
"Real" xcodebuild allows using `xcodebuild -version -sdk` without an sdk version argument, which will dump sdk info for all the installed sdks. Bazel"s "xcode cc toolchain setup on mac" process uses this to determine which SDK version is actually installed. This change allows using a nix-supplied pinned compiler and build system under bazel.
1d2d6e1
to
c3c3f68
Compare
Sure, done! For my benefit, what's the difference between |
Thanks for this ✨ |
"Real" xcodebuild allows using
xcodebuild -version -sdk
withoutan sdk version argument, which will dump sdk info for all the
installed sdks.
Bazel"s "xcode cc toolchain setup on mac" process uses this
to determine which SDK version is actually installed. This
change allows using a nix-supplied pinned compiler and build
system under bazel.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)