diff options
-rw-r--r-- | community/binaryen/APKBUILD | 6 | ||||
-rw-r--r-- | community/binaryen/link-dynamically.patch | 52 |
2 files changed, 29 insertions, 29 deletions
diff --git a/community/binaryen/APKBUILD b/community/binaryen/APKBUILD index 5cf4c22ae4..a229eb8084 100644 --- a/community/binaryen/APKBUILD +++ b/community/binaryen/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Jakub Jirutka <jakub@jirutka.cz> # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=binaryen -pkgver=38 +pkgver=40 pkgrel=0 pkgdesc="Compiler infrastructure and toolchain library for WebAssembly, in C++" url="https://github.com/WebAssembly/binaryen" @@ -48,6 +48,6 @@ package() { rm "$pkgdir"/usr/share/binaryen/binaryen.js } -sha512sums="be878f6b95e8961822f7a65cb08150eb93aed763bae13de14f481ba02dc0736f0d78dceb6556f287b1c08ec26bcd6a1e2f130ccb4628e8d048bbcc426e89c6c0 binaryen-38.tar.gz -81e27282425c1ce878548a42f18aa9d35c02c4d26353f0a3e8d2c1e4d47435c3c4a3503ad384a5f3facb61c43b51ad43d64d5af233c3369e65d00484418b52fe link-dynamically.patch +sha512sums="89aa73c1686fb6d54c91990acbc7cd6c1bc7e6da57731bf009fe507c955c98c91582b5b9924c3c3f6a2d36d55ae73f1be79911cdce93dfd74954bca46861c8ad binaryen-40.tar.gz +9729655be0d952385de959bf7dd84a075b192fe4b221bb5c23e562a83a2bf9202a07536ad393157b23e0447f28bdd16283f64a63588ca42597bb59e9551219c8 link-dynamically.patch 3b95a197cd8805dfa714cf9f31adc1437b6d29bd4082f752c16d98c40cd024b110c02a412285c78251cb5d0b3080c0f9e4d45d8dd0166c71b9462b1610191ab8 ignore-type-limits-error.patch" diff --git a/community/binaryen/link-dynamically.patch b/community/binaryen/link-dynamically.patch index 8a55a2dfc7..79e930761d 100644 --- a/community/binaryen/link-dynamically.patch +++ b/community/binaryen/link-dynamically.patch @@ -6,20 +6,11 @@ Link binaries with libbinaryen.so to significantly reduce their size. --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -193,7 +193,7 @@ - ELSE() - ADD_LIBRARY(binaryen SHARED ${binaryen_SOURCES}) - ENDIF() --TARGET_LINK_LIBRARIES(binaryen passes wasm asmjs emscripten-optimizer ast cfg support) -+TARGET_LINK_LIBRARIES(binaryen passes wasm asmjs emscripten-optimizer ast cfg support emscripten-optimizer) - INSTALL(TARGETS binaryen DESTINATION ${CMAKE_INSTALL_LIBDIR}) - - INSTALL(FILES src/binaryen-c.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) @@ -206,7 +206,7 @@ ) ADD_EXECUTABLE(wasm-shell ${wasm-shell_SOURCES}) --TARGET_LINK_LIBRARIES(wasm-shell wasm asmjs emscripten-optimizer passes ast cfg support) +-TARGET_LINK_LIBRARIES(wasm-shell wasm asmjs emscripten-optimizer passes ir cfg support) +TARGET_LINK_LIBRARIES(wasm-shell binaryen) SET_PROPERTY(TARGET wasm-shell PROPERTY CXX_STANDARD 11) SET_PROPERTY(TARGET wasm-shell PROPERTY CXX_STANDARD_REQUIRED ON) @@ -28,7 +19,7 @@ Link binaries with libbinaryen.so to significantly reduce their size. ) ADD_EXECUTABLE(wasm-opt ${wasm-opt_SOURCES}) --TARGET_LINK_LIBRARIES(wasm-opt wasm asmjs emscripten-optimizer passes ast cfg support) +-TARGET_LINK_LIBRARIES(wasm-opt wasm asmjs emscripten-optimizer passes ir cfg support) +TARGET_LINK_LIBRARIES(wasm-opt binaryen) SET_PROPERTY(TARGET wasm-opt PROPERTY CXX_STANDARD 11) SET_PROPERTY(TARGET wasm-opt PROPERTY CXX_STANDARD_REQUIRED ON) @@ -37,70 +28,79 @@ Link binaries with libbinaryen.so to significantly reduce their size. ) ADD_EXECUTABLE(wasm-merge ${wasm-merge_SOURCES}) --TARGET_LINK_LIBRARIES(wasm-merge wasm asmjs emscripten-optimizer passes ast cfg support) +-TARGET_LINK_LIBRARIES(wasm-merge wasm asmjs emscripten-optimizer passes ir cfg support) +TARGET_LINK_LIBRARIES(wasm-merge binaryen) SET_PROPERTY(TARGET wasm-merge PROPERTY CXX_STANDARD 11) SET_PROPERTY(TARGET wasm-merge PROPERTY CXX_STANDARD_REQUIRED ON) INSTALL(TARGETS wasm-merge DESTINATION bin) -@@ -238,7 +238,7 @@ +@@ -237,7 +237,7 @@ + ) + ADD_EXECUTABLE(wasm-metadce + ${wasm-metadce_SOURCES}) +-TARGET_LINK_LIBRARIES(wasm-metadce wasm asmjs emscripten-optimizer passes ir cfg support wasm) ++TARGET_LINK_LIBRARIES(wasm-metadce binaryen) + SET_PROPERTY(TARGET wasm-metadce PROPERTY CXX_STANDARD 11) + SET_PROPERTY(TARGET wasm-metadce PROPERTY CXX_STANDARD_REQUIRED ON) + INSTALL(TARGETS wasm-metadce DESTINATION bin) +@@ -248,7 +248,7 @@ ) ADD_EXECUTABLE(asm2wasm ${asm2wasm_SOURCES}) --TARGET_LINK_LIBRARIES(asm2wasm emscripten-optimizer passes wasm asmjs ast cfg support) +-TARGET_LINK_LIBRARIES(asm2wasm emscripten-optimizer passes wasm asmjs ir cfg support) +TARGET_LINK_LIBRARIES(asm2wasm binaryen) SET_PROPERTY(TARGET asm2wasm PROPERTY CXX_STANDARD 11) SET_PROPERTY(TARGET asm2wasm PROPERTY CXX_STANDARD_REQUIRED ON) INSTALL(TARGETS asm2wasm DESTINATION ${CMAKE_INSTALL_BINDIR}) -@@ -248,7 +248,7 @@ +@@ -258,7 +258,7 @@ ) ADD_EXECUTABLE(wasm2asm ${wasm2asm_SOURCES}) --TARGET_LINK_LIBRARIES(wasm2asm passes wasm asmjs emscripten-optimizer ast cfg support) +-TARGET_LINK_LIBRARIES(wasm2asm passes wasm asmjs emscripten-optimizer ir cfg support) +TARGET_LINK_LIBRARIES(wasm2asm binaryen) SET_PROPERTY(TARGET wasm2asm PROPERTY CXX_STANDARD 11) SET_PROPERTY(TARGET wasm2asm PROPERTY CXX_STANDARD_REQUIRED ON) INSTALL(TARGETS wasm2asm DESTINATION ${CMAKE_INSTALL_BINDIR}) -@@ -260,7 +260,7 @@ +@@ -270,7 +270,7 @@ ) ADD_EXECUTABLE(s2wasm ${s2wasm_SOURCES}) --TARGET_LINK_LIBRARIES(s2wasm passes wasm asmjs ast cfg support) +-TARGET_LINK_LIBRARIES(s2wasm passes wasm asmjs ir cfg support) +TARGET_LINK_LIBRARIES(s2wasm binaryen) SET_PROPERTY(TARGET s2wasm PROPERTY CXX_STANDARD 11) SET_PROPERTY(TARGET s2wasm PROPERTY CXX_STANDARD_REQUIRED ON) INSTALL(TARGETS s2wasm DESTINATION ${CMAKE_INSTALL_BINDIR}) -@@ -270,7 +270,7 @@ +@@ -280,7 +280,7 @@ ) ADD_EXECUTABLE(wasm-as ${wasm_as_SOURCES}) --TARGET_LINK_LIBRARIES(wasm-as wasm asmjs passes ast cfg support) +-TARGET_LINK_LIBRARIES(wasm-as wasm asmjs passes ir cfg support) +TARGET_LINK_LIBRARIES(wasm-as binaryen) SET_PROPERTY(TARGET wasm-as PROPERTY CXX_STANDARD 11) SET_PROPERTY(TARGET wasm-as PROPERTY CXX_STANDARD_REQUIRED ON) INSTALL(TARGETS wasm-as DESTINATION ${CMAKE_INSTALL_BINDIR}) -@@ -280,7 +280,7 @@ +@@ -290,7 +290,7 @@ ) ADD_EXECUTABLE(wasm-dis ${wasm_dis_SOURCES}) --TARGET_LINK_LIBRARIES(wasm-dis passes wasm asmjs ast cfg support) +-TARGET_LINK_LIBRARIES(wasm-dis passes wasm asmjs ir cfg support) +TARGET_LINK_LIBRARIES(wasm-dis binaryen) SET_PROPERTY(TARGET wasm-dis PROPERTY CXX_STANDARD 11) SET_PROPERTY(TARGET wasm-dis PROPERTY CXX_STANDARD_REQUIRED ON) INSTALL(TARGETS wasm-dis DESTINATION ${CMAKE_INSTALL_BINDIR}) -@@ -290,7 +290,7 @@ +@@ -300,7 +300,7 @@ ) ADD_EXECUTABLE(wasm-ctor-eval ${wasm-ctor-eval_SOURCES}) --TARGET_LINK_LIBRARIES(wasm-ctor-eval emscripten-optimizer passes wasm asmjs ast cfg support) +-TARGET_LINK_LIBRARIES(wasm-ctor-eval emscripten-optimizer passes wasm asmjs ir cfg support) +TARGET_LINK_LIBRARIES(wasm-ctor-eval binaryen) SET_PROPERTY(TARGET wasm-ctor-eval PROPERTY CXX_STANDARD 11) SET_PROPERTY(TARGET wasm-ctor-eval PROPERTY CXX_STANDARD_REQUIRED ON) INSTALL(TARGETS wasm-ctor-eval DESTINATION bin) -@@ -303,7 +303,7 @@ +@@ -313,7 +313,7 @@ ) ADD_EXECUTABLE(wasm-reduce ${wasm-reduce_SOURCES}) -- TARGET_LINK_LIBRARIES(wasm-reduce wasm asmjs passes wasm ast cfg support) +- TARGET_LINK_LIBRARIES(wasm-reduce wasm asmjs passes wasm ir cfg support) + TARGET_LINK_LIBRARIES(wasm-reduce binaryen) SET_PROPERTY(TARGET wasm-reduce PROPERTY CXX_STANDARD 11) SET_PROPERTY(TARGET wasm-reduce PROPERTY CXX_STANDARD_REQUIRED ON) |