Skip to content

Commit

Permalink
Deploy Swift to sysroot due to swiftc in 6.1 and later requiring swif…
Browse files Browse the repository at this point in the history
…trt.o in the sysroot instead of resource-dir
  • Loading branch information
xtremekforever committed Mar 2, 2025
1 parent a28319a commit 160d1f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions build-swift-stdlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,6 @@ echo "Build Swift StdLib"

echo "Install Swift StdLib"
(cd $SWIFT_BUILDDIR && ninja install)

echo "Install Swift Stdlib to sysroot"
cp -rf ${SWIFT_INSTALL_PREFIX}/* ${STAGING_DIR}/usr/
3 changes: 0 additions & 3 deletions deploy-to-sysroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
set -e
source swift-define

echo "Install Swift Stdlib to sysroot"
cp -rf ${SWIFT_INSTALL_PREFIX}/* ${STAGING_DIR}/usr/

echo "Install Dispatch to sysroot"
cp -rf ${LIBDISPATCH_INSTALL_PREFIX}/* ${STAGING_DIR}/usr/

Expand Down

0 comments on commit 160d1f4

Please sign in to comment.