summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/Makefile.wasm (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-09-09Packages: bump wasmtime to 24.0.0 and wasi-sysroot to 24.0.Konstantin Pavlov1-6/+12
Wasm module is now not built for Amazon Linux 2, Debian 11 and Ubuntu 2.0.04, since it requires cmake version newer than what's available on those OSes. wasm-wasi-component is not affected.
2024-02-22Packages: Pass CFLAGS to compile wasm modules on all packaging targetsKonstantin Pavlov1-2/+2
This extends the approach used for debian-based packages in 3f805bc64e28 to rpm as well. Notable change for both deb and rpm packaging is to use CFLAGS as defined in the build/Makefile, and not pass them from the environment which might not be there (as is the case for rpm). While at it, stop passing CFLAGS in the install phase, as it should no longer invoke builds (see d54af163c46b). The rpm part was overlooked in 7a6405566c0, since testing was not done on the platforms where problem manifested itself, notably Amazon Linux 2023 and Fedora 38+.
2024-02-21Packages: added wasm-wasi-component module packaging for deb-based distrosKonstantin Pavlov1-3/+3
We need to redefine CFLAGS to drop missing-prototypes as warning since third-party code such as wasmtime fails to build from source when building a debian package. This happens only for packages because we use DPKG_EXPORT_BUILDFLAGS=1 propagating build flags to the environment, so cargo build picks it up as well. Since we have no control over third-party code, the easiest solution is to disable this warning.
2023-08-22Packages: added wasm module packaging for deb-based distros.Konstantin Pavlov1-0/+47