valida-xyz / valida-compiler

Old, obsolete version of the Valida compiler; its replacement will become public later
Other
50 stars 12 forks source link

Edit CMake and remove unecessary dependencies #8

Open maxgillett opened 1 year ago

maxgillett commented 1 year ago

See https://github.com/tonlabs/TON-Compiler repo structure for an example of how to remove everything not required for backend compilation.

vivekvpandya commented 1 year ago

The linked code seems to be using old LLVM repo. So if you would like to have regular updates from LLVM community and if up streaming this work to LLVM community is desired then its not good idea to make things as per above project. See https://llvm.org/docs/Proposals/GitHubMove.html

Correct me if this understanding is wrong.

maxgillett commented 1 year ago

Ah, I'm not suggesting that we change the directory structure, just that this repo should be a standalone product and only contain dependencies required to build the compiler. I'm not advocating for making any changes to the target independent code unless they're absolutely necessary. It's definitely a goal to one day upstream the backend target to the llvm-project repo.