FairRootGroup / FairSoft

Repository for installation routines of the external software required by FairRoot
GNU Lesser General Public License v3.0
16 stars 61 forks source link

Use conan or vcpkg as the package manager? #500

Closed YanzhaoW closed 2 months ago

YanzhaoW commented 1 year ago

Hi,

Sorry if this is a stupid question. But why do we not use conan or vcpkg for FairRoot? They are the 2 most popular package managers among C++ projects in industries and they also integrate seamlessly with the cmake build system. I know spack is designed for the HPC system. However, we still have a lot of users who also need to run FairRoot in their own machines.

dennisklein commented 1 year ago

Sorry if this is a stupid question.

not at all!

why do we not use conan or vcpkg for FairRoot?

Short answer: lack of manpower

Long answer: Too long to write everything here now in one post in all glory details, just a few comments:

In the end this is all solvable with enough manpower, which we do not have a lot of. But I see it this way: There is no technical reason, why FairRoot and its dependencies cannot be packaged in many packaging solutions/communities in parallel. If you would want to contribute a (maintained :wink:) FairRoot package in vcpkg or conan - I would be happy to link to your packages in our docs for all our users to benefit if you wish so! (and regarding packaging-friendliness of FairRoot and co: If you encounter any obstacles, you are welcome to report them, we want to fix those!)

Also FairSoft itself is open: You are welcome to submit pull requests to help with our current packaging efforts in this repo (cmake legacy script or the soon-to-be spack distro). We do not yet have a lot of outside (our group) contributions, so FairSoft is lacking polished contribution docs, but if you are interested, we can easily connect and figure out the details/questions.

They are the 2 most popular package managers among C++ projects in industries and they also integrate seamlessly with the cmake build system. I know spack is designed for the HPC system. However, we still have a lot of users who also need to run FairRoot in their own machines.

Hmm, what exactly makes spack HPC system specific? What prevents you from using it locally on your laptop?

fuhlig1 commented 2 months ago

@YanzhaoW,

since there was no action for more than one year I close the issue now. Please reopen it if there is more to discuss.