Package Details: wasm-micro-runtime 1.3.2-1

Git Clone URL: https://aur.archlinux.org/wasm-micro-runtime.git (read-only, click to copy)
Package Base: wasm-micro-runtime
Description: Standalone WebAssembly (WASM) runtime with small footprint
Upstream URL: https://github.com/bytecodealliance/wasm-micro-runtime
Licenses: Apache
Conflicts: wasm-micro-runtime-git
Provides: wasm-micro-runtime
Submitter: 1ace
Maintainer: ldcraft
Last Packager: ldcraft
Votes: 1
Popularity: 0.000062
First Submitted: 2022-09-10 19:15 (UTC)
Last Updated: 2024-03-13 04:33 (UTC)

Latest Comments

lmartinez-mirror commented on 2023-01-22 00:19 (UTC)

Thanks for the heads up, I've pushed a fix.

foobat commented on 2023-01-21 16:27 (UTC)

This PKGBUILD only include the iwasm binary, but not the headers and the static library. You can include the headers and static library in this way:

provides=('libiwasm.so')
changelog=RELEASE_NOTES.md
source=("$pkgname-$pkgver.tar.gz::$url/archive/WAMR-$pkgver.tar.gz")
sha256sums=('976b928f420040a77e793051e4d742208adf157370b9ad0f5535e126adb31eb0')

build() {
        cmake \
                -B build \
                -S "$pkgname-WAMR-$pkgver/product-mini/platforms/linux" \
                -DCMAKE_BUILD_TYPE=Release \
                -DCMAKE_INSTALL_PREFIX=/usr \
                -Wno-dev
        cmake --build build

        cmake \
                -B build-lib \
                -S "$pkgname-WAMR-$pkgver" \
                -DCMAKE_BUILD_TYPE=Release \
                -DCMAKE_INSTALL_PREFIX=/usr \
                -Wno-dev
        cmake --build build-lib
}

package() {
        DESTDIR="${pkgdir}" cmake --install build
        DESTDIR="${pkgdir}" cmake --install build-lib
}

ThePirate42 commented on 2023-01-08 15:54 (UTC)

This package doesn't include the headers, could you add them? I never used cmake, but I noticed that CMakeLists.txt does mention them, maybe there is a way to make it install them.