Skip to content

Commit

Permalink
Update the source for building crun
Browse files Browse the repository at this point in the history
The nnpreload and plugin loading mechanisms are already in the upstream.

Signed-off-by: vincent <[email protected]>
  • Loading branch information
CaptainVincent committed Apr 3, 2024
1 parent 8a5a312 commit 873abc5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/start/build-and-run/docker_wasm_gpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ GPU 0: NVIDIA GeForce GTX 1080 (UUID: GPU-********-****-****-****-************)

## Setup your container runtime (crun + wasmedge + plugin system)

Build crun with wasmedge and plugin system both enable
Build crun with wasmedge enable

```bash
> sudo apt install -y make git gcc build-essential pkgconf libtool libsystemd-dev libprotobuf-c-dev libcap-dev libseccomp-dev libyajl-dev go-md2man libtool autoconf python3 automake

> git clone -b enable-wasmedge-plugin https://github.com/second-state/crun
> git clone https://github.com/containers/crun
> cd crun
> ./autogen.sh
> ./configure --with-wasmedge
Expand All @@ -96,7 +96,7 @@ Replace container run time
{
"runtimes": {
"crun": {
"path": "<the crun binary path build from you>"
"path": "<The crun binary path is built by yourself>"
}
},
"features": {
Expand Down
4 changes: 2 additions & 2 deletions docs/start/build-and-run/podman_wasm_gpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ nvidia.com/gpu=all

## Setup your container runtime (crun + wasmedge + plugin system)

Build crun with wasmedge and plugin system both enable
Build crun with wasmedge enable

```bash
> sudo apt install -y make git gcc build-essential pkgconf libtool libsystemd-dev libprotobuf-c-dev libcap-dev libseccomp-dev libyajl-dev go-md2man libtool autoconf python3 automake

> git clone -b enable-wasmedge-plugin https://github.com/second-state/crun
> git clone https://github.com/containers/crun
> cd crun
> ./autogen.sh
> ./configure --with-wasmedge
Expand Down

0 comments on commit 873abc5

Please sign in to comment.