-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman machine for macOS and Windows with wasm support #16930
Comments
For Fedora and Fedora CoreOS /cc: @n1hility |
@dustymabe WDYT? |
@dustymabe where is the site to request additional packages in coreos? |
A friendly reminder that this issue had no activity for 30 days. |
@hydai would it be possible for wasmedge to drop the requirement for python? |
Hi @giuseppe
Could you identify which stages wasmedge ask for this? |
it seems to drag python3 as an indirect dependency:
it seems to be a dependency of llvm |
Okay, seems like llvm has python deps. Does this work for you? If so, we can have it in the next release. |
yes, that sounds like a decent compromise to start playing with it on CoreOS as well. Thanks for having a look |
Just change the spec file to from |
Because the current However, to remove the LLVM dependency, the CMake compile options for I appreciate your help! |
could the LLVM dependency be loaded at runtime similarly to what crun does with wasmedge? If that is possible, it would simplify packaging wasmedge and llvm support could be added later. Otherwise, not sure how to achieve that just from the spec file. @lsm5 do you have any suggestions? |
I just tried to add the |
hello, the PR from the previous comment has been merged |
@lsm5, do you know the latest state on this issue? |
I'm probably more of a middleman here. The wasmedge-rt subpackage does exist https://src.fedoraproject.org/rpms/wasmedge/blob/rawhide/f/wasmedge.spec#_36 . If I'm reading this right, podman-desktop would need to use wasmedge-rt package instead of wasmedge. @benoitf please let me know if there's anything else you're looking for in this case. |
issue was about that wasmedge (or wasmedge-rt) would be installed by default on each macOS podman machine (so no extra setup to perform) |
One potential issue could be the handling of wasmedge dependency in crun. Please let me know if you have trouble installing wasmedge-rt. |
@benoitf ack, so are we good to close this? wasmedge-rt installation on podman machine by default would probably be an FCOS issue, so we'll need to take it there if need be. |
Looking at the Containerfile included in #19477, it only has podman-next specific stuff, and |
I thought I had commented that we should keep this issue as we need wasm both in fedora (for Windows VM) and inside FCOS (for macOS VM) |
and yes it's not related to #19477 Here is the expectation: |
ack. The |
but this issue is like the 'track' of external issues. We can't close it until podman machine on both Windows and macOS provides wasm engine out of the box. if there are dependencies, we can list them here. |
@benoitf sgtm, thanks |
@dustymabe FYI |
can someone summarize and post an update to coreos/fedora-coreos-tracker#1375 ? |
related to containers/podman#16930 Signed-off-by: Florent Benoit <[email protected]>
related to containers/podman#16930 Signed-off-by: Florent Benoit <[email protected]>
available since podman machine v4.8 |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
I would like to use wasm when working with Podman engine.
But when using the default podman machine it's failing as there is no wasm runtime in the podman machine
Steps to reproduce the issue:
use like '--runtime=io.containerd.wasmedge.v1' or
--runtime /usr/bin/crun-wasm
flag and--platform=wasi/wasm32
Describe the results you received:
I received either
crun: could not load
libwasmedge.so.0: libwasmedge.so.0: cannot open shared object file
or
Error: unknown flag: --runtime
Describe the results you expected:
Work out of the box using Podman machine on macOS and Windows
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info
:Package info (e.g. output of
rpm -q podman
orapt list podman
orbrew info podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes/No
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: