unikraft / app-wamr

Web Assembly (WAMR) on Unikraft
9 stars 8 forks source link

Update setup for developer-centric scripts #7

Closed razvand closed 1 year ago

razvand commented 1 year ago

Update setup to include scripts for building and running. Restructure contents to use the workdir/ directory as the directory to store repository clones and build output; use defconfigs/ to store default configuration files.

This relies on lib-wamr #9 PR.

razvand commented 1 year ago

@StefanJum , this relies on lib-wamr PR #9.

StefanJum commented 1 year ago

@razvand does lib-wamr#9 works for you? I don't get the errors anymore but the file is not executed. The application just closes after printing the Unikraft banner. I can look into it, just want to make sure if it's something wrong on my config.

razvand commented 1 year ago

@razvand does lib-wamr#9 works for you? I don't get the errors anymore but the file is not executed. The application just closes after printing the Unikraft banner. I can look into it, just want to make sure if it's something wrong on my config.

lemme retry

razvand commented 1 year ago

@razvand does lib-wamr#9 works for you? I don't get the errors anymore but the file is not executed. The application just closes after printing the Unikraft banner. I can look into it, just want to make sure if it's something wrong on my config.

lemme retry

@StefanJum , I've retried. I used lib-wamr in workdir/libs/ checked out at PR #9. And I tested both with initrd and 9pfs. It all works:

./scripts/generate.py
./scripts/build/make-qemu-x86_64-9pfs.sh
./scripts/run/qemu-x86_64-9pfs.sh
./scripts/build/make-qemu-x86_64-initrd.sh
./scripts/run/qemu-x86_64-initrd.sh