R3BRootGroup / R3BRoot

Framework for Simulations and Data Analysis of R3B Experiment
https://github.com/R3BRootGroup/R3BRoot/wiki
GNU General Public License v3.0
18 stars 102 forks source link

Adding conan package manager (Opt-in) #1077

Closed YanzhaoW closed 1 month ago

YanzhaoW commented 2 months ago

Purpose

Adding conan package manager to R3BRoot such that users can freely utilize popular C++ packages without waiting for updates from FairSoft.

By default, conan package manager is not enabled. To enable it, users have to configure cmake with cmake presets (in project root folder):

git submodule update --init --recursive
cmake --preset default

This PR is one part of the PR #890. Other parts will be presented in the following PRs.

Any reviews and comments are welcome.


Checklist:

YanzhaoW commented 1 month ago

Hi @jose-luis-rs . It's ready to be merged.

jose-luis-rs commented 1 month ago

Hi @YanzhaoW

Let me know if you want to change/update something wrt this message:

==> WARNING: A newer version of conda exists. <== current version: 23.5.2 latest version: 24.7.1

Please update conda by running

$ conda update -n base -c defaults conda

Or to minimize the number of packages updated during conda update use

 conda install conda=24.7.1
YanzhaoW commented 1 month ago

@jose-luis-rs

Thanks for the info. I will update the conda version directly from the container. So there is no need to do any change in this PR regarding this.