Skip to content
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

Use premade chroot to build system #5

Open
oneechanhax opened this issue Jul 14, 2019 · 5 comments
Open

Use premade chroot to build system #5

oneechanhax opened this issue Jul 14, 2019 · 5 comments

Comments

@oneechanhax
Copy link

I made a llvm system by following linux from scratch.
It would be preferable to turn it into a docker file somehow to just extract it, chroot to it and run a script to build itself.
Its much better than forcing clang to fight with gcc in alpine so without libstdc++ it would compile without issues.
Check it out and think about using it to build your project.
https://drive.google.com/open?id=1Uv2_DU60lvUFVrPuqmi_scws1pfVAwmo

@tpimh
Copy link
Owner

tpimh commented Jul 14, 2019

I'm building with Alpine Linux in an LXC container. Probably creating Docker container with the same configuration shouldn't be an issue. I will do it ASAP.

@tpimh
Copy link
Owner

tpimh commented Jul 14, 2019

BTW, if proot is not broken (it shouldn't be on most configurations) you can still use the legacy ./build_all.sh script.

@oneechanhax
Copy link
Author

oh, i was using the ./build_all script im p sure.
i run alpine as my main desktop(why, idonno) but i guess it has to be a docker container???

@tpimh
Copy link
Owner

tpimh commented Jul 15, 2019

If you are already on alpine, you won't need to set up alpine chroot that is done on master branch. Try to switch to alpine-lxc branch and run ./build_all.sh from there.

@tpimh
Copy link
Owner

tpimh commented Jul 19, 2019

Now building with Docker is possible, switch to docker branch. The build command is docker run tpimh/ngtc:latest /bin/sh -c 'git clone https://github.com/tpimh/ngtc && cd ngtc && root/sync.sh && root/configure.sh && root/build.sh && root/install.sh' probably should be simplified or build-all.sh can be restored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants