szaszm commented on PR #1775:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1775#issuecomment-2090424252

   There are a few things we would need for this to be viable:
   - The python bootstrap should be updated to support selecting each extension 
with its dependencies installed from Conan vs FetchContent
   - I think CMake should be updated to allow selecting the dependency source 
on a per-extension basis. This is also needed to implement the first point.
   - (optional) If we're doing the per-extension dependency source selection, a 
normal find_package could be added as well, to use the system version of libs. 
This may not be trivial to get working, but if it works at least at a few 
places, it can be an easy win.
   - I wouldn't flood FetchContent users with "SLOW" messages. Until we can 
ensure that all dependencies have viable binary packages on conan center, there 
isn't necessarily a build speed difference. We need to discuss how to handle 
these cases with Conan. And even after we can ensure binary packages for all 
major targets, FetchContent can still be a viable option, even if it builds the 
packages.
   
   Let's see how this progresses, these can be done separately as well.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to