test_wamr.sh: Fix build wabt tool (#3703)

And fix a typo in ATTRIBUTIONS.md.
This commit is contained in:
Wenyong Huang 2024-08-14 16:20:32 +08:00 committed by GitHub
parent 5b8dfbce75
commit cce48a0943
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 7 deletions

View File

@ -16,7 +16,7 @@ WAMR project reused some components from other open source project:
- **asmjit**: for the Fast JIT x86-64 codegen implementation - **asmjit**: for the Fast JIT x86-64 codegen implementation
- **zydis**: for the Fast JIT x86-64 codegen implementation - **zydis**: for the Fast JIT x86-64 codegen implementation
- **NuttX ELF headers**: used in core/iwasm/aot/debug/elf_parser.c - **NuttX ELF headers**: used in core/iwasm/aot/debug/elf_parser.c
- **Dhrystone**: for the test benchmakr dhrystone - **Dhrystone**: for the test benchmark dhrystone
The WAMR fast interpreter is a clean room development. We would acknowledge the inspirations by [WASM3](https://github.com/wasm3/wasm3) open source project for the approach of pre-calculated operand stack location. The WAMR fast interpreter is a clean room development. We would acknowledge the inspirations by [WASM3](https://github.com/wasm3/wasm3) open source project for the approach of pre-calculated operand stack location.

View File

@ -409,12 +409,13 @@ function setup_wabt()
git clone --recursive https://github.com/WebAssembly/wabt git clone --recursive https://github.com/WebAssembly/wabt
fi fi
echo "upate wabt" echo "upate wabt"
cd wabt cd wabt \
git fetch origin && git fetch origin \
git reset --hard origin/main && git reset --hard origin/main \
git checkout tags/${WABT_VERSION} -B ${WABT_VERSION} && git checkout tags/${WABT_VERSION} -B ${WABT_VERSION} \
cd .. && git submodule update --init \
make -C wabt gcc-release -j 4 || exit 1 && cd .. \
&& make -C wabt gcc-release -j 4 || exit 1
fi fi
} }