Skip to content

Commit

Permalink
Fix paths in packaging scripts (#23)
Browse files Browse the repository at this point in the history
`wasm` was replaced with `wasi` in the platform triple, the packaging scripts are now updated accordingly.
  • Loading branch information
MaxDesiatov authored and kateinoigakukun committed Jan 25, 2020
1 parent 433b143 commit 0dea906
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion utils/webassembly/copy-shared-files.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
set -e
cp -r ../sdkroot/* compiler/
cp ../linux/compiler/opt/swiftwasm-sdk/lib/swift/wasm/wasm32/glibc.modulemap compiler/extra_utils
cp ../linux/compiler/opt/swiftwasm-sdk/lib/swift/wasi/wasm32/glibc.modulemap compiler/extra_utils
2 changes: 1 addition & 1 deletion utils/webassembly/macos/unpack-prebuilts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ mv compiler/wasi-sdk/share/wasi-sysroot compiler/wasi-sdk/share/sysroot
rm -r compiler/wasi-sdk/bin
mkdir compiler/wasi-sdk/bin
cp tmpdir/clang+llvm-*-x86_64-darwin-apple/bin/wasm-ld compiler/wasi-sdk/bin
cp -a tmpdir/opt/swiftwasm-sdk/lib/swift/wasm compiler/opt/swiftwasm-sdk/lib/swift/wasm
cp -a tmpdir/opt/swiftwasm-sdk/lib/swift/wasi compiler/opt/swiftwasm-sdk/lib/swift/wasi
cp -a tmpdir/opt/swiftwasm-sdk/lib/swift_static compiler/opt/swiftwasm-sdk/lib/swift_static
# ok, finally copy over the shared files
../copy-shared-files.sh || true

0 comments on commit 0dea906

Please sign in to comment.