Open StephanvanSchaik opened 3 years ago
@StephanvanSchaik I would recommend having a play with your Arty board using the examples in the SymbiFlow examples repository to get a feel for how the various parts actually end up being used before trying to package everything. That will also help you understand what to package first.
The team at @antmicro have also recently started looking at packaging for Gentoo (with the ultimate target being ChromeOS). It might be worth talking to @kgugala about this.
As very few people use symbiflow-arch-defs with system dependencies, it is most certainly broken.
It is also unclear to me if symbiflow-arch-defs should actually be packaged or just the data files that it produces. A lot of the project goes away if FPGA vendors start providing the description of their parts using the FPGA interchange format. As well some of the steps in data file production can take many hours even on a hugely beefy machine. Using the data files directly seems like a potential good compromise.
Hi,
I have been trying to package up SymbiFlow for Gentoo in my Portage overlay for FPGAs, but I am still running into issues with certain parts of this project and need some help figuring them out.
To understand the dependency hierarchy, I have been looking at both the packages in the AUR for ArchLinux as well as the requirements.txt and .gitmodules files for this repository as well as other repositories. The
CMakeLists.txt
file in this repository is also helpful as it checks whether certain programs are available or not.1) I am packaging up each dependency, including the Python dependencies, individually, as it discouraged to use something like
virtualenv
orconda
during the build process of an ebuild, especially to install dependencies that are not managed by the package manager. To build symbiflow-arch-defs, I basically have all the packages installed and then run the following:2) In the hope to get something working instead, I wrote an ebuild to simply use the files provided at https://storage.googleapis.com (as described here). I am still interested in packaging up a non-binary symbiflow-arch-defs ebuild, so I really prefer getting the above to work (I am assuming running
make
would end up giving me the same files as provided at https://storage.googleapis.com). However, when I run the following fromsymbiflow-examples/xc7
:3) A bit unrelated to the other issues, but some useful information perhaps:
I would really appreciate any guidance I can get to make it work. I am also around on IRC if that is quicker. I think this effort is also useful for package maintainers using other distributions, as the problems tend to be similar: cannot rely on conda, there is a need to package up dependencies, including the Python ones, individually, in the long run the packages should rely on releases, etc.
Yes, I do agree that distribution efforts do tend to be/get behind, but they are important to iron out some of the issues with the installation of SymbiFlow.