File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -72,13 +72,9 @@ sed -i -e "s@\".*/include@\"../../../../share/wasi-sysroot/include@g" $TMP_DIR/$
7272
7373# Copy nightly-toolchain's host environment stdlib into toolchain
7474
75- if [[ " $( uname) " == " Linux" ]]; then
76- # Avoid to copy usr/lib/swift/clang because our toolchain's one is a directory
77- # but nightly's one is symbolic link, so fail to merge them.
78- rsync -a $NIGHTLY_TOOLCHAIN /usr/lib/ $TMP_DIR /$TOOLCHAIN_NAME /usr/lib/ --exclude ' swift/clang'
79- else
80- cp -r $NIGHTLY_TOOLCHAIN /usr/lib/swift/macosx $TMP_DIR /$TOOLCHAIN_NAME /usr/lib/swift
81- fi
75+ # Avoid copying usr/lib/swift/clang because our toolchain's one is a directory
76+ # but nightly's one is symbolic link, simple copy fails to merge them.
77+ rsync -a $NIGHTLY_TOOLCHAIN /usr/lib/ $TMP_DIR /$TOOLCHAIN_NAME /usr/lib/ --exclude ' swift/clang'
8278
8379$UTILS_PATH /build-foundation.sh $TMP_DIR /$TOOLCHAIN_NAME
8480$UTILS_PATH /build-xctest.sh $TMP_DIR /$TOOLCHAIN_NAME
You can’t perform that action at this time.
0 commit comments