olofk / fusesoc

Package manager and build abstraction tool for FPGA/ASIC development
BSD 2-Clause "Simplified" License
1.21k stars 246 forks source link

Declaratively specify and pull dependencies #701

Open yousifBilal opened 3 months ago

yousifBilal commented 3 months ago

Hello,

I am interested in using FuSoc. I would like to know if there is a way to declare my dependencies and have the tool pull it through git.

Suppose you are working on project a locally, and it depends on b and c. c and b both exist in some github repositories. All of these projects have there respective .core files. So far, I can only make the tool link the dependencies if I had previously added them with fusesoc library add .... If I give the fusesoc.conf file to a collleague, the tool would complain that it cannot find the libraries (not a directory error). So he has to manually add all the libraries. I would expect the tool to check that if the libraries are not present, it would simply result to pulling them. Is this possible currently? or is it in any way planned?