-
Notifications
You must be signed in to change notification settings - Fork 10.5k
swiftenv-script: Fix some issues with swiftenvs. #8268
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
Conversation
@swift-ci Please smoke test |
I don't think you're supposed to drop flags from build-script; that'd be a breaking change. (In particular, people need to customize the C++ compiler much more than they need to customize the other tools.) |
It still lets you customize the C compiler with |
I don't understand your comment. You deleted those arguments from build-script. |
Please use "one line summary\n\ndescription" commit message format. |
@swift-ci Please smoke test |
@jrose-apple |
That's not true. build-script-impl gets all flags after the |
(Maybe it should. That would make migrating options in either direction much less breaking. But it doesn't today.) |
Not arbitrary flags, but flags that build-script-impl handles are ok to pass without mentioning them in build-script.
Note the
|
@swift-ci Please smoke test |
Oh, I didn't realize we did that! Okay, retracted. Sorry for wasting your time! |
Np, it's helpful to have reviews, and I had to research a bit to answer your question, so it's worth it. |
@swift-ci Please smoke test |
Fix the mocked output files of swiftc. Change the lookup of clang from build-script to build-script-impl like all the other commands. Pass more args to LLVM. Fix swiftenv creation. Fix unit tests. The reason this patch works is that build-script-impl gets all the arguments that are not handled by build-script.
@swift-ci Please smoke test |
clang from build-script to build-script-impl like all the other
commands. Pass more args to LLVM. Fix swiftenv creation.