Files
termux-packages/packages/swift/trigger-command
Butta e93c1bb648 bump(swift): 5.7.3 to 5.8 and spin off runtime and sdk subpackages
Make it so that SDKs for other architectures can be easily installed and used
for cross-compilation.
2023-04-06 19:57:47 +05:30

15 lines
435 B
Plaintext

if [ x"$native_triple" != x"$swift_runtime_triple" ]; then
install_path=$install_path/$swift_runtime_triple
fi
install_path=$install_path/lib
for so in Foundation FoundationNetworking FoundationXML XCTest swiftCore swiftDispatch \
swiftDistributed swiftGlibc swiftRegexBuilder swiftRemoteMirror swiftSwiftOnoneSupport \
swift_Concurrency swift_Differentiation swift_RegexParser swift_StringProcessing
do
@COMMAND@
done
exit 0