Update to wabt-1.0.8

Tested by Fabian Raetz, ok tb@
This commit is contained in:
rapha 2019-02-04 14:13:04 +00:00
parent c4b7885c73
commit ff2ab81b25
5 changed files with 33 additions and 30 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.1.1.1 2018/09/16 13:32:32 bcallah Exp $
# $OpenBSD: Makefile,v 1.2 2019/02/04 14:13:04 rapha Exp $
COMMENT = WebAssembly binary toolkit
GH_ACCOUNT = WebAssembly
GH_PROJECT = wabt
GH_TAGNAME = 1.0.5
GH_TAGNAME = 1.0.8
CATEGORIES = lang

View File

@ -1,2 +1,2 @@
SHA256 (wabt-1.0.5.tar.gz) = KFcAUSpq8VJMFkItYa5JWdSzh/KoJpgZjrUktRSCWoo=
SIZE (wabt-1.0.5.tar.gz) = 887391
SHA256 (wabt-1.0.8.tar.gz) = /6rW3lz7xb4MfnjM1MC0S70eWeqjjPUPQkXKBNvaiD4=
SIZE (wabt-1.0.8.tar.gz) = 954541

View File

@ -1,25 +0,0 @@
$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2018/09/16 13:32:32 bcallah Exp $
rm -Werror
rm python - it is only used by tests which we don't execute
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -89,7 +89,7 @@ else ()
# interfaces, etc.
# disable -Wpointer-arith: this is a GCC extension, and doesn't work in MSVC.
add_definitions(
- -Wall -Wextra -Werror -Wno-unused-parameter -Wpointer-arith -g -std=c++11
+ -Wall -Wextra -Wno-unused-parameter -Wpointer-arith -g -std=c++11
-Wold-style-cast -Wuninitialized
)
@@ -370,7 +370,6 @@ if (NOT EMSCRIPTEN)
endif ()
# test running
- find_package(PythonInterp 2.7 REQUIRED)
set(RUN_TESTS_PY ${WABT_SOURCE_DIR}/test/run-tests.py)
add_custom_target(run-tests
COMMAND ${PYTHON_EXECUTABLE} ${RUN_TESTS_PY} --bindir ${CMAKE_BINARY_DIR}

View File

@ -20,3 +20,19 @@ wat-desugar:
wasm2c:
convert a WebAssembly binary file to a C source and header
wasm-strip:
remove sections of a WebAssembly binary file
wasm-validate:
validate a file in the WebAssembly binary format
wast2json:
convert a file in the wasm spec test format to a JSON file and associated
wasm binary files
wasm-opcodecnt:
count opcode usage for instructions
spectest-interp:
read a Spectest JSON file, and run its tests in the interpreter

View File

@ -1,11 +1,23 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/09/16 13:32:32 bcallah Exp $
@comment $OpenBSD: PLIST,v 1.2 2019/02/04 14:13:04 rapha Exp $
@bin bin/spectest-interp
@bin bin/wasm-interp
@bin bin/wasm-objdump
@bin bin/wasm-opcodecnt
@bin bin/wasm-strip
@bin bin/wasm-validate
@bin bin/wasm2c
@bin bin/wasm2wat
@bin bin/wast2json
@bin bin/wat-desugar
@bin bin/wat2wasm
@man man/man1/spectest-interp.1
@man man/man1/wasm-interp.1
@man man/man1/wasm-objdump.1
@man man/man1/wasm-opcodecnt.1
@man man/man1/wasm-strip.1
@man man/man1/wasm-validate.1
@man man/man1/wasm2c.1
@man man/man1/wasm2wat.1
@man man/man1/wast2json.1
@man man/man1/wat-desugar.1
@man man/man1/wat2wasm.1