compiler-explorer / infra

Infrastructure to set up the public Compiler Explorer instances and compilers

Home Page:https://godbolt.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Required Ninja copy change

partouf opened this issue · comments

Change

cp /opt/compiler-explorer/ninja/ninja /usr/local/bin
to copy the actual binary and not the link.

readlink -f /opt/compiler-explorer/ninja/ninja etc

and then make a new AMI

ninja is only tiny - does it really need to be copied locally? Can't we install it on /opt/compiler-explorer like the compilers etc? it'll be squashfs's and all that

Well it needs to be in the PATH whatever it would be, so there's a difference between it and compilers

I'm pretty sure it can be configured to be anywhere; but this also works.

not that I can find the config now...so...! Nothing to see here, move along, please continue :)

Would've been easier if we called ninja ourselves, but I chose to swap to cmake --build instead because that's easier in CE configuration