Closed lukevp closed 1 year ago
I noticed the install instructions used wget instead of curl, which requires installation on Mac. I updated to use curl instead, and the same script should work on both macOS and Linux.
I did notice that the architecture is hardcoded to be the x86 build. Is there an ARM Mac build of Extism and of the PDK for use on M1/M2 processors?
@lukevp we don't have an ARM build yet but would gladly take a PR for it. I'm on an M1 and I'm using the x86 one fine for now.
Oh wait, re-reading your question, yes we do have ARM builds for extism itself: https://github.com/extism/extism/releases/tag/v0.1.0
but not for this extism-js CLI
Just need to add a different arch to the matrix here i think? https://github.com/extism/js-pdk/blob/main/.github/workflows/publish.yml#L36
libextism does it like this: https://github.com/extism/extism/blob/main/.github/workflows/release.yml#L18
wget isn't installed by default on macOS. Update the script to use curl instead.