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 @@ -77,13 +77,9 @@ sed -i -e "s@\".*/include@\"../../../../share/wasi-sysroot/include@g" $TMP_DIR/$
77
77
78
78
# Copy nightly-toolchain's host environment stdlib into toolchain
79
79
80
- if [[ " $( uname) " == " Linux" ]]; then
81
- # Avoid to copy usr/lib/swift/clang because our toolchain's one is a directory
82
- # but nightly's one is symbolic link, so fail to merge them.
83
- rsync -a $NIGHTLY_TOOLCHAIN /usr/lib/ $TMP_DIR /$TOOLCHAIN_NAME /usr/lib/ --exclude ' swift/clang'
84
- else
85
- cp -r $NIGHTLY_TOOLCHAIN /usr/lib/swift/macosx $TMP_DIR /$TOOLCHAIN_NAME /usr/lib/swift
86
- fi
80
+ # Avoid copying usr/lib/swift/clang because our toolchain's one is a directory
81
+ # but nightly's one is symbolic link, simple copy fails to merge them.
82
+ rsync -a $NIGHTLY_TOOLCHAIN /usr/lib/ $TMP_DIR /$TOOLCHAIN_NAME /usr/lib/ --exclude ' swift/clang'
87
83
88
84
cd $TMP_DIR
89
85
tar cfz $PACKAGE_ARTIFACT $TOOLCHAIN_NAME
You can’t perform that action at this time.
0 commit comments