-
Notifications
You must be signed in to change notification settings - Fork 30
Copy Dispatch and Clang from upstream toolchain #719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
65e696d
df2f94c
93ae2a9
3a0e976
130474c
035912e
7bec5b9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,8 @@ cd $TMP_DIR/$TOOLCHAIN_NAME | |
|
||
# Merge wasi-sdk and toolchain | ||
cp -r $WASI_SDK_PATH/lib/clang usr/lib | ||
cp $WASI_SDK_PATH/bin/* usr/bin | ||
cp -a $SOURCE_PATH/build/Ninja-ReleaseAssert/llvm-*/bin/clang* usr/bin | ||
cp -a $WASI_SDK_PATH/bin/*ld usr/bin | ||
cp -r $WASI_SDK_PATH/share/wasi-sysroot usr/share | ||
|
||
# Build SwiftPM and install it into toolchain | ||
|
@@ -73,7 +74,7 @@ sed -i -e "s@\".*/include@\"../../../../share/wasi-sysroot/include@g" $TMP_DIR/$ | |
# Copy nightly-toolchain's host environment stdlib into toolchain | ||
|
||
if [[ "$(uname)" == "Linux" ]]; then | ||
cp -r $NIGHTLY_TOOLCHAIN/usr/lib/swift/linux $TMP_DIR/$TOOLCHAIN_NAME/usr/lib/swift | ||
cp -a $NIGHTLY_TOOLCHAIN/usr/lib/* $TMP_DIR/$TOOLCHAIN_NAME/usr/lib || true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure why need There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There's a single file that fails to get copied, related to clang I think. It doesn't cause problems as far as I understand, and it's a pain to test and to exclude just a single file. I can add a comment about that in the script. Not sure I'll be able to get the exact file name quickly, seems like GitHub erased logs for the previous actions in this PR (maybe because of the force push?), and I don't have access to powerful hardware to re-run builds quickly from scratch. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, I'll try it on my local linux machine 👍 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I got the error. It seems that our toolchain's
So I added |
||
else | ||
cp -r $NIGHTLY_TOOLCHAIN/usr/lib/swift/macosx $TMP_DIR/$TOOLCHAIN_NAME/usr/lib/swift | ||
fi | ||
|
Uh oh!
There was an error while loading. Please reload this page.