[SR-382] Ensure same lipo used across all build scripts #42999
Labels
build-script
Area → utils: The build script
improvement
utils
Area: the build system and other accessory scripts under the "utils" directory
Additional Detail from JIRA
md5: 333987e26838947d9080aa0456ab6a16
Issue Description:
swift/utils/build-script-impl
usesxcrun --find
to find thelipo
it uses to create static librariesswift/CMakeLists.txt
usesfind_program()
to find thelipo
it uses to make universal binariesThese could return two different
lipo
executables, especially if the person building has specified a custom--darwin-xcrun-toolchain
when invokingswift/utils/build-script
.Instead,
build-script-impl
should be modified such that it passes the path tolipo
to CMake.The text was updated successfully, but these errors were encountered: