-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
nolibc: add initial Linux build and rumprun support #65
Conversation
This commits introduces the initial build support of rumprun unikernel with Linux kernel, with the buildrump.sh support. Currently nolibc case is only implemented and tested, where the test is under tests/nolibc. With a proper configuration after linux build, below should work. % rumprun qemu -M 512 -g "-nographic -vga none" -i main.elf For CI test, Linux build gave up to use travis-ci.org since we have difficulties on random build errors with bigger parallel jobs (i.e., -j option) and decided to use circleci.com instead: though matrix build of current circleci is not that useful as travis-ci is. Currently, buildrump.sh git submodule points to our private repository (under github.com/libos-nuse): once buildrump.sh is upstreamed, it should be changed to the main one. Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
Hmm, Travis still doesn't like myself :) around line 1826:
it seems like the VM on travis didn't have enough RAM for parallel build. I didn't touch .travis.yml and new build-rr.sh should not build linux part, so this travis build should be the same as previous commit. I didn't see those issues on circleci and that's why I went with circleci. does anyone have any ideas ? |
have completely no idea how travis complained ... if I deinit lkl-linux git submodule, travis pass the test... https://travis-ci.org/libos-nuse/rumprun/builds/92656956 then if I reactivate the submodule, the test failed. voila ! https://travis-ci.org/libos-nuse/rumprun/builds/92658747 so this means, the existence of lkl-linux git submodule, which is about 1.4G size btw, does matter.. |
Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
kernonly build doesn't generate rumprun Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
7bcc63a
to
01b1a6f
Compare
Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
01b1a6f
to
de19ff2
Compare
Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
Thanks for the contribution. I'm afraid though that there seem to be some difficult problems here, particularly with respect to the submodules and the travis CI failure. Good luck with fixing them; I'm afraid I don't really understand them well myself. Regards, |
thanks for closing and agree since i don't have much progress in these days. will open another one once I got back. |
This commits introduces the initial build support of rumprun unikernel
with Linux kernel, with the buildrump.sh support. Currently nolibc case
is only implemented and tested, where the test is under tests/nolibc.
With a proper configuration after linux build, below should work.
% rumprun qemu -M 512 -g "-nographic -vga none" -i main.elf
For CI test, Linux build gave up to use travis-ci.org since we have
difficulties on random build errors with bigger parallel jobs (i.e., -j
option) and decided to use circleci.com instead: though matrix build of
current circleci is not that useful as travis-ci is.
Currently, buildrump.sh git submodule points to our private repository
(under github.com/libos-nuse): once buildrump.sh is upstreamed, it
should be changed to the main one.
Signed-off-by: Hajime Tazaki thehajime@gmail.com