Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/lit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1415,7 +1415,7 @@ elif run_os == 'wasi':
config.swift_test_options, config.swift_frontend_test_options)
subst_target_swift_frontend_mock_sdk = config.target_swift_frontend
subst_target_swift_frontend_mock_sdk_after = ""
config.target_run = 'wasmer run --backend cranelift --'
config.target_run = 'wasmer run --singlepass --'
if 'interpret' in lit_config.params:
use_interpreter_for_simple_runs()
config.target_sil_opt = (
Expand Down
2 changes: 1 addition & 1 deletion utils/webassembly/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if [[ "$(uname)" == "Darwin" ]]; then
fi

if [[ "$(uname)" == "Linux" ]]; then
$RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 test/stdlib/ || true
$RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 test/stdlib/
echo "Skip running test suites for Linux"
else

Expand Down
8 changes: 7 additions & 1 deletion utils/webassembly/macos/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
set -ex

brew uninstall $(brew list | grep python@2)
brew install cmake ninja llvm sccache wasmer
brew install cmake ninja llvm sccache

# Install latest wasmer

if [ ! -e ~/.wasmer/bin/wasmer ]; then
curl https://get.wasmer.io -sSfL | sh
fi

SOURCE_PATH="$( cd "$(dirname $0)/../../../../" && pwd )"
SWIFT_PATH=$SOURCE_PATH/swift
Expand Down