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/$
72
72
73
73
# Copy nightly-toolchain's host environment stdlib into toolchain
74
74
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'
82
78
83
79
$UTILS_PATH /build-foundation.sh $TMP_DIR /$TOOLCHAIN_NAME
84
80
$UTILS_PATH /build-xctest.sh $TMP_DIR /$TOOLCHAIN_NAME
You can’t perform that action at this time.
0 commit comments