Docker: Add wasm-wasi-component to the wasm target
Thus $ make build-wasm will build _both_ the 'wasm' & 'wasm-wasi-component' modules. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
This commit is contained in:
@@ -77,9 +77,10 @@ MODULE_PREBUILD_ruby ?= /bin/true
|
|||||||
|
|
||||||
VERSIONS_wasm ?=
|
VERSIONS_wasm ?=
|
||||||
CONTAINER_wasm ?= debian:$(VARIANT)-slim
|
CONTAINER_wasm ?= debian:$(VARIANT)-slim
|
||||||
CONFIGURE_wasm ?= wasm --include-path=\`pwd\`/pkg/contrib/wasmtime/crates/c-api/include --lib-path=/usr/lib/\$$(dpkg-architecture -q DEB_HOST_MULTIARCH)/
|
CONFIGURE_wasm ?= wasm --include-path=\`pwd\`/pkg/contrib/wasmtime/crates/c-api/include --lib-path=/usr/lib/\$$(dpkg-architecture -q DEB_HOST_MULTIARCH)/ \&\& ./configure wasm-wasi-component
|
||||||
INSTALL_wasm ?= wasm-install
|
INSTALL_wasm ?= wasm-install wasm-wasi-component-install
|
||||||
RUN_wasm ?= /bin/true
|
RUN_wasm ?= /bin/true
|
||||||
|
|
||||||
define MODULE_PREBUILD_wasm
|
define MODULE_PREBUILD_wasm
|
||||||
apt-get install --no-install-recommends --no-install-suggests -y libclang-dev \\\n \
|
apt-get install --no-install-recommends --no-install-suggests -y libclang-dev \\\n \
|
||||||
\ \ \ \&\& export RUST_VERSION=1.76.0 \\\n \
|
\ \ \ \&\& export RUST_VERSION=1.76.0 \\\n \
|
||||||
|
|||||||
Reference in New Issue
Block a user