Skip to content

Commit cce48a0

Browse files
authored
test_wamr.sh: Fix build wabt tool (#3703)
And fix a typo in ATTRIBUTIONS.md.
1 parent 5b8dfbc commit cce48a0

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

ATTRIBUTIONS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ WAMR project reused some components from other open source project:
1616
- **asmjit**: for the Fast JIT x86-64 codegen implementation
1717
- **zydis**: for the Fast JIT x86-64 codegen implementation
1818
- **NuttX ELF headers**: used in core/iwasm/aot/debug/elf_parser.c
19-
- **Dhrystone**: for the test benchmakr dhrystone
19+
- **Dhrystone**: for the test benchmark dhrystone
2020

2121
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.
2222

tests/wamr-test-suites/test_wamr.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -409,12 +409,13 @@ function setup_wabt()
409409
git clone --recursive https://github.com/WebAssembly/wabt
410410
fi
411411
echo "upate wabt"
412-
cd wabt
413-
git fetch origin
414-
git reset --hard origin/main
415-
git checkout tags/${WABT_VERSION} -B ${WABT_VERSION}
416-
cd ..
417-
make -C wabt gcc-release -j 4 || exit 1
412+
cd wabt \
413+
&& git fetch origin \
414+
&& git reset --hard origin/main \
415+
&& git checkout tags/${WABT_VERSION} -B ${WABT_VERSION} \
416+
&& git submodule update --init \
417+
&& cd .. \
418+
&& make -C wabt gcc-release -j 4 || exit 1
418419
fi
419420
}
420421

0 commit comments

Comments
 (0)