Dafang-Hacks / Main

138 stars 63 forks source link

Build scripts don't completely work #22

Closed puddly closed 4 years ago

puddly commented 6 years ago

The live submodule references the toolchain directory's old name, which causes compile-libraries.sh to fail unless toolchain is symlinked to the old name.

I've also combined all of the compile.sh scripts contained in the submodules, since they are all really three lines long once you get rid of the common environment variables.

Any thoughts? I'd like to lock down freetype2 to a stable version instead of keeping it as a Git submodule tracking potentially breaking changes, but that'd require pulling it into the current source tree or keeping it external and just cloning the latest stable tag from within the build script.

nik0 commented 6 years ago

I guess you can reference a submodule particular commit. I did a quick google search on "Fix the submodule to a particular commit" Is it what you are looking for ? Now I don't know if it is a good idea. It should be interesting to get the last bug fix.

schemacs commented 5 years ago

@puddly Thanks for pointing this out, I just do ln -s /root/Main/toolchain /root/Main/mips-gcc472-glibc216-64bit when building with docker.