mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
0650366adf
closes #6217
36 lines
764 B
YAML
36 lines
764 B
YAML
distributable:
|
|
strip-components: 1
|
|
url: https://github.com/wasmerio/wasmer/archive/refs/tags/{{version.tag}}.tar.gz
|
|
|
|
versions:
|
|
github: wasmerio/wasmer/tags
|
|
|
|
interprets:
|
|
extensions: wasm
|
|
args: [wasmer, run]
|
|
|
|
build:
|
|
dependencies:
|
|
rust-lang.org: ^1.65
|
|
rust-lang.org/cargo: ^0
|
|
nodejs.org: ^18
|
|
gnu.org/make: ^4
|
|
env:
|
|
RUSTFLAGS:
|
|
# Ignore warnings (to focus on errors)
|
|
- -A warnings
|
|
# Remove debug information (to reduce binary size)
|
|
- -C debuginfo=0
|
|
linux:
|
|
CC: clang
|
|
CXX: clang++
|
|
LD: clang
|
|
script:
|
|
- mkdir -p "{{prefix}}"/bin
|
|
- make build-wasmer
|
|
- mv target/release/wasmer "{{prefix}}"/bin
|
|
|
|
provides:
|
|
- bin/wasmer
|
|
|
|
test: test "$(wasmer --version)" = "wasmer {{version.raw}}"
|