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
Fix package access modifier in XCBuild support (#7258)
`package` access modifier was previously not supported in `swift build
--build-system xcode`. This causes build issues when attempting to
produce Universal binaries for SwiftPM, for example in this job
https://ci.swift.org/job/swift-PR-source-compat-suite-debug-macos/1297/consoleFull.
The reason was that `-package-name` option was not added to
`OTHER_SWIFT_FLAGS` in `PIFBuilder.swift`. Additionally, in llbuild
support code we were shelling out to Swift Driver for every target to
check whether `-package-name` is supported. Now with `-package-name`
options calculation generalized across build systems, Swift Driver
checks are done once per `BuildParameters` initialization, which reduces
excessive shelling for llbuild.
Resolves rdar://120925895.
0 commit comments