Open cdleary opened 3 years ago
FYI - @hzeller
FYI - @QuantamHD
I think I've run into this issue before. I have a PR https://github.com/YosysHQ/yosys/pull/2417 out for it in yosys to allow you to set the datdir at runtime. Would that help?
You can also hack it together with something like this
-DYOSYS_DATDIR='std::getenv(\"YOSYS_DATDIR\") ? std::getenv(\"YOSYS_DATDIR\") : \"{YOUR_DEFAULT_DATDIR_HERE}\"'
Need at least an
alwayslink=True
on the kernel link target and pointing somewhere else as theYOSYS_DATDIR
in the defines. Been using out-of-tree binaries thus far, but we should be able to resolve this!