Skip to content
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

[SR-14896] swift build --build-system xcode doesn't respect SWIFT_EXEC #4404

abertelrud opened this issue Jul 7, 2021 · 0 comments


Copy link

@abertelrud abertelrud commented Jul 7, 2021

Previous ID SR-14896
Radar rdar://80194565
Original Reporter @abertelrud
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee @abertelrud
Priority Medium

md5: 8cd62021b66cae19ba6a02eaa0733c14

Issue Description:

swift build supports setting SWIFT_EXEC in the environment in order to control which Swift compiler is used. This works with the default native build system, but not with the xcbuild build system. The -toolchain and -sdk flags to swift build also seem to be ignored.

This is a particular problem for CI, especially because swift build automatically switches to the xcode build system when asked to build for more than one architecture at a time.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants