-
Notifications
You must be signed in to change notification settings - Fork 36.6k
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
macOS: Evaluate removing xcrun
s in darwin builder
#18959
Comments
Practically, how should someone interested in this as a good first issue test the "hypothesis is that the right way to invoke Other thoughts:
|
I built the project on macOS Big Sur 11.2.2 after the change above ... it seems ok! |
Closing this for now, per discussion in #21341. |
When building on macOS, as in, using the
depends/builders/darwin.mk
, we currently usexcrun
to determine the right paths for well-known tools.bitcoin/depends/builders/darwin.mk
Lines 1 to 22 in 8da1e43
However, it seems like:
clang
vs$(xcrun -f clang)
)My hypothesis is that the right way to invoke
clang
on macOS for non-Xcode projects like ours is to invoke it directly (which is what a naive build script would expect), and that$(xcrun -f clang)
is being specialized for Xcode, which is why it doesn't work too well without extra flags as seen here: #18743The text was updated successfully, but these errors were encountered: