You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SR-14896] swift build --build-system xcode doesn't respect SWIFT_EXEC (#3596)
When using the `xcode` build system, SwiftPM isn't passing down the result of overriding SWIFT_EXEC. The same is true for `-toolchain` and `-sdk` but this will be fixed in a different PR.
Besides being incorrect and thus a generally something that should be fixed, this also affects SwiftPM CI, where the newly built compiler isn't being used when cross-compilation is active (since SwiftPM currently implements multi-architecture builds by switching build system to use xcbuild).
rdar://80194565
// Now try building using XCBuild while specifying a faulty compiler override. This should fail. Note that we need to set the executable to use for the manifest itself to the default one, since it defaults to SWIFT_EXEC if not provided.
0 commit comments