File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
swift-ci/sdks/static-linux/scripts Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 147147# Work out the host architecture
148148case $( arch) in
149149 arm64|aarch64)
150- host_arch=arm64
150+ host_arch=aarch64
151151 ;;
152152 amd64|x86_64)
153153 host_arch=x86_64
769769
770770 # -----------------------------------------------------------------------
771771
772+ # HACK: Until swift-collections is fixed to install in the right place,
773+ # we need to move it from the wrong location to the right location; check
774+ # for it in the wrong location and move it if we find it.
775+ static_dir=$sdk_root /usr/lib/swift_static
776+ if [ -f $static_dir /linux/lib_FoundationCollections.a ]; then
777+ mv $static_dir /linux/lib_FoundationCollections.a \
778+ $static_dir /linux-static/lib_FoundationCollections.a
779+ mv $static_dir /linux/_FoundationCollections.swiftmodule \
780+ $static_dir /linux-static/_FoundationCollections.swiftmodule
781+ fi
782+
772783 # We don't need the Linux libraries here, but turning off the Linux build
773784 # causes trouble, so we're going to end up building them anyway.
774785 rm -rf \
You can’t perform that action at this time.
0 commit comments