fix(wasmer)

closes #6217
This commit is contained in:
Jacob Heider 2024-05-23 11:47:33 -04:00 committed by Jacob Heider
parent 79ec1bce70
commit 0650366adf

View file

@ -1,10 +1,9 @@
distributable: distributable:
strip-components: 1 strip-components: 1
url: https://github.com/wasmerio/wasmer/archive/refs/tags/v{{version.raw}}.tar.gz url: https://github.com/wasmerio/wasmer/archive/refs/tags/{{version.tag}}.tar.gz
versions: versions:
github: wasmerio/wasmer/tags github: wasmerio/wasmer/tags
strip: /v/
interprets: interprets:
extensions: wasm extensions: wasm
@ -22,14 +21,16 @@ build:
- -A warnings - -A warnings
# Remove debug information (to reduce binary size) # Remove debug information (to reduce binary size)
- -C debuginfo=0 - -C debuginfo=0
script: | linux:
mkdir -p "{{prefix}}"/bin CC: clang
make build-wasmer CXX: clang++
mv target/release/wasmer "{{prefix}}"/bin LD: clang
script:
- mkdir -p "{{prefix}}"/bin
- make build-wasmer
- mv target/release/wasmer "{{prefix}}"/bin
provides: provides:
- bin/wasmer - bin/wasmer
test: test: test "$(wasmer --version)" = "wasmer {{version.raw}}"
script: |
test "$(wasmer --version)" = "wasmer {{version.raw}}"