leaningtech / cheerp-meta

Cheerp - a C/C++ compiler for Web applications - compiles to WebAssembly and JavaScript
https://labs.leaningtech.com/cheerp
Other
1.02k stars 50 forks source link

Instruct to only clone with depth=1 because the full history isn't required for a build #131

Closed niansa closed 1 year ago

carlopi commented 1 year ago

Hi @niansa, thanks for your contribution.

You are right, --depth 1 will be helpful in reducing the downloaded assets, but on this I think I personally prefer to lower the entry bar with a simpler to understand/shorter command.

Also on this matters Cheerp usually follows LLVM upstream (https://github.com/llvm/llvm-project), and they seems to prefer the simple git clone.

I will close for now, I have scheduled a proper review of the build instructions, that are then live here: https://docs.leaningtech.com/cheerp/Linux-build-instructions.

If you are looking to contribute, I would recommend joining discord.leaningtech.com, we can brainstorm there.