ngtc
ngtc copied to clipboard
Use premade chroot to build system
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
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.
BTW, if proot is not broken (it shouldn't be on most configurations) you can still use the legacy ./build_all.sh
script.
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???
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.
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.