Skip to content

Commit 7aabb30

Browse files
Fix cleanup and install target toolchain bin
1 parent 15a6695 commit 7aabb30

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

utils/webassembly/build-toolchain.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,11 @@ sed -i -e "s@\".*/include@\"../../../../share/wasi-sysroot/include@g" $SOURCE_PA
8080
# Avoid copying usr/lib/swift/clang because our toolchain's one is a directory
8181
# but nightly's one is symbolic link. A simple copy fails to merge them.
8282
rsync -v -a $SOURCE_PATH/install/$TOOLCHAIN_NAME/usr/lib/ $HOST_TOOLCHAIN_SDK/usr/lib/ --exclude 'swift/clang'
83+
rsync -v -a $SOURCE_PATH/install/$TOOLCHAIN_NAME/usr/bin/ $HOST_TOOLCHAIN_SDK/usr/bin/
8384

8485
# FIXME: avoid building foundation for now
8586
$UTILS_PATH/build-foundation.sh $HOST_TOOLCHAIN_SDK
8687
$UTILS_PATH/build-xctest.sh $HOST_TOOLCHAIN_SDK
8788

88-
# Cleanup build directory on CI
89-
if [[ -n "${CI}" ]]; then
90-
rm -rf $SOURCE_PATH/build/Ninja-ReleaseAssert/
91-
fi
92-
9389
cd $HOST_TOOLCHAIN_DESTDIR
9490
tar cfz $PACKAGE_ARTIFACT $TOOLCHAIN_NAME

0 commit comments

Comments
 (0)