Trick-17 / clang-build

Clang-based cross platform build system written in Python
https://clang-build.readthedocs.io
MIT License
8 stars 3 forks source link

Local binary cache #105

Open GPMueller opened 4 years ago

GPMueller commented 4 years ago

Similar to the caches of conan or vcpkg, we should at some point add the ability to use cached builds:

Questions:

This is also related to the current ideas around bundling and redistributable packages, see PR #98 and https://clang-build.readthedocs.io/en/latest/user_guide/bundling.html

GPMueller commented 3 years ago

Maybe it would be smarter to leave the packaging aspect to tools specialized to this task.

It would be easy enough to write a clang-build.py script that generates a project with targets pointing to the local conan cache. The user could then conan install whatever versions of libraries they want and depend on them in clang-build targets. This could be provided as a kind of "real-world example".