Skip to content

Commit

Permalink
devel/wasmer: Update to 4.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kjozic authored and clausecker committed Oct 9, 2023
1 parent 7fe5af3 commit 6ab67ba
Show file tree
Hide file tree
Showing 5 changed files with 154 additions and 113 deletions.
17 changes: 12 additions & 5 deletions devel/wasmer/Makefile
@@ -1,7 +1,6 @@
PORTNAME= wasmer
DISTVERSIONPREFIX= v
DISTVERSION= 4.2.1
PORTREVISION= 1
DISTVERSION= 4.2.2
CATEGORIES= devel

MAINTAINER= kjozic@gmail.com
Expand All @@ -14,21 +13,29 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= aarch64 amd64
ONLY_FOR_ARCHS_REASON= only aarch64 and amd64 are supported so far

BUILD_DEPENDS= bash>0:shells/bash
BUILD_DEPENDS= bash>0:shells/bash \
libffi>0:devel/libffi \
zstd>0:archivers/zstd

USES= cargo gmake pkgconfig
USES= cargo gmake llvm pkgconfig

USE_GITHUB= yes
GH_ACCOUNT= wasmerio

CARGO_BUILD= no
CARGO_INSTALL= no

MAKE_ENV+= ENABLE_SINGLEPASS=0
MAKE_ENV+= ENABLE_CRANELIFT=1 \
ENABLE_LLVM=1 \
ENABLE_SINGLEPASS=1

ALL_TARGET= build-wasmer

PLIST_FILES= bin/wasmer

pre-configure:
${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/Makefile

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/wasmer ${STAGEDIR}${PREFIX}/bin/

Expand Down
74 changes: 39 additions & 35 deletions devel/wasmer/Makefile.crates
Expand Up @@ -9,11 +9,11 @@ CARGO_CRATES= Inflector-0.11.4 \
android-tzdata-0.1.1 \
android_system_properties-0.1.5 \
anes-0.1.6 \
anstream-0.5.0 \
anstyle-1.0.3 \
anstyle-parse-0.2.1 \
anstream-0.6.4 \
anstyle-1.0.4 \
anstyle-parse-0.2.2 \
anstyle-query-1.0.0 \
anstyle-wincon-2.1.0 \
anstyle-wincon-3.0.1 \
any_ascii-0.1.7 \
anyhow-1.0.75 \
arbitrary-1.3.0 \
Expand Down Expand Up @@ -58,9 +58,9 @@ CARGO_CRATES= Inflector-0.11.4 \
ciborium-io-0.2.1 \
ciborium-ll-0.2.1 \
cipher-0.4.4 \
clap-4.4.5 \
clap-4.4.6 \
clap-verbosity-flag-2.0.1 \
clap_builder-4.4.5 \
clap_builder-4.4.6 \
clap_derive-4.4.2 \
clap_lex-0.5.1 \
colorchoice-1.0.0 \
Expand Down Expand Up @@ -98,8 +98,8 @@ CARGO_CRATES= Inflector-0.11.4 \
crossterm-0.26.1 \
crossterm_winapi-0.9.1 \
crypto-common-0.1.6 \
csv-1.2.2 \
csv-core-0.1.10 \
csv-1.3.0 \
csv-core-0.1.11 \
ctor-0.1.26 \
cty-0.2.2 \
cynic-3.2.2 \
Expand Down Expand Up @@ -141,12 +141,12 @@ CARGO_CRATES= Inflector-0.11.4 \
encoding_rs-0.8.33 \
enum-iterator-0.7.0 \
enum-iterator-derive-0.7.0 \
enum-ordinalize-3.1.13 \
enum-ordinalize-3.1.15 \
enumset-1.1.2 \
enumset_derive-0.8.1 \
equivalent-1.0.1 \
erased-serde-0.3.31 \
errno-0.3.3 \
errno-0.3.4 \
errno-dragonfly-0.1.2 \
fallible-iterator-0.2.0 \
fallible-streaming-iterator-0.1.9 \
Expand Down Expand Up @@ -193,7 +193,7 @@ CARGO_CRATES= Inflector-0.11.4 \
hash32-0.2.1 \
hashbrown-0.11.2 \
hashbrown-0.12.3 \
hashbrown-0.14.0 \
hashbrown-0.14.1 \
hashlink-0.8.4 \
heapless-0.7.16 \
heck-0.3.3 \
Expand All @@ -210,15 +210,15 @@ CARGO_CRATES= Inflector-0.11.4 \
hyper-0.14.27 \
hyper-rustls-0.24.1 \
hyper-tls-0.5.0 \
hyper-tungstenite-0.10.0 \
hyper-tungstenite-0.11.1 \
iana-time-zone-0.1.57 \
iana-time-zone-haiku-0.1.2 \
id-arena-2.2.1 \
ident_case-1.0.1 \
idna-0.2.3 \
idna-0.4.0 \
indexmap-1.9.3 \
indexmap-2.0.1 \
indexmap-2.0.2 \
indicatif-0.17.7 \
inkwell-0.1.1 \
inkwell_internals-0.7.0 \
Expand All @@ -241,12 +241,12 @@ CARGO_CRATES= Inflector-0.11.4 \
lexical-sort-0.3.1 \
libc-0.2.148 \
libfuzzer-sys-0.4.7 \
libloading-0.8.0 \
libloading-0.8.1 \
libsqlite3-sys-0.25.2 \
linked-hash-map-0.5.6 \
linked_hash_set-0.1.4 \
linux-raw-sys-0.4.7 \
llvm-sys-140.1.2 \
linux-raw-sys-0.4.8 \
llvm-sys-150.1.2 \
lock_api-0.4.10 \
log-0.4.20 \
lzma-rs-0.2.0 \
Expand All @@ -255,7 +255,7 @@ CARGO_CRATES= Inflector-0.11.4 \
matchers-0.1.0 \
matches-0.1.10 \
md5-0.7.0 \
memchr-2.6.3 \
memchr-2.6.4 \
memmap2-0.5.10 \
memmap2-0.6.2 \
memoffset-0.6.5 \
Expand Down Expand Up @@ -348,15 +348,15 @@ CARGO_CRATES= Inflector-0.11.4 \
ref-cast-impl-1.0.20 \
ref_thread_local-0.1.1 \
regalloc2-0.5.1 \
regex-1.9.5 \
regex-1.9.6 \
regex-automata-0.1.10 \
regex-automata-0.3.8 \
regex-automata-0.3.9 \
regex-syntax-0.6.29 \
regex-syntax-0.7.5 \
region-3.0.0 \
rend-0.4.1 \
replace_with-0.1.7 \
reqwest-0.11.20 \
reqwest-0.11.22 \
ring-0.16.20 \
rkyv-0.7.42 \
rkyv_derive-0.7.42 \
Expand All @@ -369,7 +369,7 @@ CARGO_CRATES= Inflector-0.11.4 \
rustc_version-0.3.3 \
rustc_version-0.4.0 \
rustfix-0.5.1 \
rustix-0.38.14 \
rustix-0.38.15 \
rustls-0.21.7 \
rustls-pemfile-1.0.3 \
rustls-webpki-0.101.6 \
Expand Down Expand Up @@ -437,6 +437,8 @@ CARGO_CRATES= Inflector-0.11.4 \
subtle-2.5.0 \
syn-1.0.109 \
syn-2.0.37 \
system-configuration-0.5.1 \
system-configuration-sys-0.5.0 \
tap-1.0.1 \
tar-0.4.40 \
target-lexicon-0.11.2 \
Expand Down Expand Up @@ -464,13 +466,15 @@ CARGO_CRATES= Inflector-0.11.4 \
tokio-native-tls-0.3.1 \
tokio-rustls-0.24.1 \
tokio-serde-0.8.0 \
tokio-tungstenite-0.19.0 \
tokio-tungstenite-0.20.1 \
tokio-util-0.6.10 \
tokio-util-0.7.9 \
toml-0.5.11 \
toml-0.7.8 \
toml-0.8.2 \
toml_datetime-0.6.3 \
toml_edit-0.19.15 \
toml_edit-0.20.2 \
tower-0.4.13 \
tower-http-0.4.4 \
tower-layer-0.3.2 \
Expand All @@ -485,7 +489,7 @@ CARGO_CRATES= Inflector-0.11.4 \
tracing-wasm-0.2.1 \
try-lock-0.2.4 \
trybuild-1.0.85 \
tungstenite-0.19.0 \
tungstenite-0.20.1 \
typenum-1.17.0 \
typetag-0.1.8 \
typetag-impl-0.1.8 \
Expand All @@ -510,8 +514,8 @@ CARGO_CRATES= Inflector-0.11.4 \
vcpkg-0.2.15 \
version-compare-0.1.1 \
version_check-0.9.4 \
virtual-mio-0.2.0 \
virtual-net-0.5.0 \
virtual-mio-0.3.0 \
virtual-net-0.6.1 \
void-1.0.2 \
wai-bindgen-gen-core-0.2.3 \
wai-bindgen-gen-rust-0.2.3 \
Expand Down Expand Up @@ -544,21 +548,21 @@ CARGO_CRATES= Inflector-0.11.4 \
wasm-encoder-0.32.0 \
wasm-smith-0.4.5 \
wasm-streams-0.3.0 \
wasmer-api-0.0.16 \
wasmer-deploy-cli-0.1.25 \
wasmer-deploy-schema-0.0.14 \
wasmer-deploy-util-0.0.14 \
wasmer-api-0.0.21 \
wasmer-deploy-cli-0.1.29 \
wasmer-deploy-schema-0.0.21 \
wasmer-deploy-util-0.0.21 \
wasmer-inline-c-0.1.2 \
wasmer-inline-c-macro-0.1.6 \
wasmer-registry-5.6.0 \
wasmer-toml-0.6.0 \
wasmer-toml-0.8.0 \
wasmer-wasm-interface-4.2.0 \
wasmer-registry-5.7.0 \
wasmer-toml-0.8.1 \
wasmer-toml-0.9.0 \
wasmer-wasm-interface-4.2.1 \
wasmparser-0.51.4 \
wasmparser-0.83.0 \
wasmparser-0.95.0 \
wasmparser-0.113.2 \
wasmprinter-0.2.67 \
wasmparser-0.113.3 \
wasmprinter-0.2.68 \
wast-24.0.0 \
wast-38.0.1 \
wast-64.0.0 \
Expand Down

0 comments on commit 6ab67ba

Please sign in to comment.