summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/cmake.yml6
-rw-r--r--Meta/generate-libwasm-spec-test.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 9b77370ebb..a70dcda7b9 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -196,15 +196,15 @@ jobs:
run: |
sudo apt-get purge -y clang-11
sudo apt-get update
- sudo apt-get install ninja-build binaryen
+ sudo apt-get install ninja-build wabt
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-12 100
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-12 100
if: ${{ runner.os == 'Linux' }}
- name: Install macOS dependencies
- run: brew install ninja binaryen
+ run: brew install ninja wabt
if: ${{ runner.os == 'macOS' }}
- name: Check versions
- run: set +e; clang --version; clang++ --version; ninja --version; wasm-as --version
+ run: set +e; clang --version; clang++ --version; ninja --version; wat2wasm --version
# === PREPARE FOR BUILDING ===
diff --git a/Meta/generate-libwasm-spec-test.py b/Meta/generate-libwasm-spec-test.py
index 0cff818d0b..476a8db949 100644
--- a/Meta/generate-libwasm-spec-test.py
+++ b/Meta/generate-libwasm-spec-test.py
@@ -380,7 +380,7 @@ def main():
with NamedTemporaryFile("w+") as temp:
temp.write(mod[1])
temp.flush()
- rc = call(["wasm-as", "-n", "-all", temp.name, "-o", outpath])
+ rc = call(["wat2wasm", temp.name, "-o", outpath])
if rc != 0:
print("Failed to compile", name, "module index", index, "skipping that test", file=stderr)
continue