File tree 3 files changed +4
-14
lines changed
3 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -1376,7 +1376,7 @@ elif run_os == 'wasi':
1376
1376
config .swift_test_options , config .swift_frontend_test_options )
1377
1377
subst_target_swift_frontend_mock_sdk = config .target_swift_frontend
1378
1378
subst_target_swift_frontend_mock_sdk_after = ""
1379
- config .target_run = 'wasmtime --'
1379
+ config .target_run = 'wasmer run --'
1380
1380
if 'interpret' in lit_config .params :
1381
1381
use_interpreter_for_simple_runs ()
1382
1382
config .target_sil_opt = (
Original file line number Diff line number Diff line change @@ -17,12 +17,9 @@ cd $SWIFT_PATH
17
17
18
18
./utils/update-checkout --clone --scheme wasm --skip-repository swift
19
19
20
- # Install wasmtime
20
+ # Install wasmer
21
21
22
- sudo mkdir /opt/wasmtime && cd /opt/wasmtime
23
- wget -O - " https://github.com/bytecodealliance/wasmtime/releases/download/v0.8.0/wasmtime-v0.8.0-x86_64-linux.tar.xz" | \
24
- sudo tar Jx --strip-components 1
25
- sudo ln -sf /opt/wasmtime/* /usr/local/bin
22
+ curl https://get.wasmer.io -sSfL | sh
26
23
27
24
cd $SOURCE_PATH
28
25
Original file line number Diff line number Diff line change 3
3
set -ex
4
4
5
5
brew uninstall python@2 || true
6
- brew install cmake ninja llvm sccache
6
+ brew install cmake ninja llvm sccache wasmer
7
7
8
8
SOURCE_PATH=" $( cd " $( dirname $0 ) /../../../../" && pwd ) "
9
9
SWIFT_PATH=$SOURCE_PATH /swift
10
10
cd $SWIFT_PATH
11
11
12
12
./utils/update-checkout --clone --scheme wasm --skip-repository swift
13
13
14
- # Install wasmtime
15
-
16
- sudo mkdir /opt/wasmtime && cd /opt/wasmtime
17
- wget -O - " https://github.com/bytecodealliance/wasmtime/releases/download/v0.8.0/wasmtime-v0.8.0-x86_64-macos.tar.xz" | \
18
- sudo tar Jx --strip-components 1
19
- sudo ln -sf /opt/wasmtime/* /usr/local/bin
20
-
21
14
cd $SOURCE_PATH
22
15
23
16
wget -O dist-wasi-sdk.tgz.zip " https://github.com/swiftwasm/wasi-sdk/releases/download/0.2.0-swiftwasm/dist-macos-latest.tgz.zip"
You can’t perform that action at this time.
0 commit comments