Open archenroot opened 7 years ago
Ok, that makes sense. I'm a little busy with other things at the moment, but this may be something for us to look at in the future.
In the meantime, I strongly encourage contributions to the ebuild-generator repo. You should have push access now, and it would be great to have these kinds of discussions there.
Ok, I will be moving into that space now...
Should i introduce this by patching existing ebuild, or rather the ebuild generator itself?
@archenroot I think patching the ebuild generator itself would be the best approach, if you don't mind!
I have Lunar finally on my laptop up and running :dancing_men:
I will be having here in Belgium next month my workstation from parents house back in Czech with 32 cores and I will be upgrading it to dual Xeon 22C, so 88 threads available, hope it will help as well the compilation times :-)))
But to the case. Comparing the Gentoo OpenCV and Lunar OpenCV it is big difference :-), especially when talking about USE flags and available OpenCV modules.
The Lunar OpenCV:
Gentoo OpenCV:
So I enabled by hand following switches for CMake subsystem to get it working. This is just example of CUDA USE flags
Finally there quite huge set of USE flags to be available especially for OpenCV, I think this is nice example of extension, compatibility .
USE flags is minor question and we can extend generator to support them, but to me question is about how to handle situation with mutlti ROS distro installed and multi OpenCV versions pulled in, it must be clear from ebuild/eclass design perspective... I will prepare some expressions for this later....