ktock / container2wasm

Container to WASM converter

Home Page:https://ktock.github.io/container2wasm-demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mac builds?

mishushakov opened this issue · comments

Do you plan releasing pre-built binaries for (Apple Silicon) Macs?

pre-built binaries for (Apple Silicon) Macs

SGTM. I haven't tested c2w on mac but c2w is a wrapper of docker build and large part of the conversion steps runs in Dockerfile (should already be runnable on mac as well) so I believe compiling/porting c2w for mac isn't hard.
(BTW you can already run c2w on mac using Linux VMs.)

@mishushakov fyi, compiling for mac worked for me on a M2 on macOS 14.5 with the documented steps, with one little addition: the make install uses a -D flag which is not supported. Simply omitting it solved it:

make
sed -i '' -e 's/install -D/install/g' Makefile
sudo make install