From c9276b5d709cb095c64e15b51229c7b2e85e992c Mon Sep 17 00:00:00 2001 From: tomeichlersmith Date: Mon, 17 Mar 2025 13:26:04 -0500 Subject: [PATCH 1/2] install nlohmann/json from package like ROOT does --- Dockerfile | 1 + README.md | 1 + docs/src/ubuntu-packages.md | 1 + 3 files changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 66487d3..0358281 100644 --- a/Dockerfile +++ b/Dockerfile @@ -137,6 +137,7 @@ RUN install-ubuntu-packages \ libxpm-dev \ libz-dev \ libzstd-dev \ + nlohmann-json3-dev \ srm-ifce-dev \ libgsl-dev diff --git a/README.md b/README.md index 266faf8..b68e492 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ Software Package | Version | Construction Process [XercesC](http://xerces.apache.org/xerces-c/) | 3.3.0 | Built from source [LHAPDF](https://www.lhapdf.org/) | 6.5.5 | Built from source [Pythia8](https://pythia.org/) | 8.313 | Built from source +[nlohmann/json](https://json.nlohmann.me/) | 3.10.5 | From Ubuntu Repos [ROOT](https://root.cern.ch/) | 6.34.04 | Built from source [Geant4](https://geant4.web.cern.ch/) | [LDMX.10.2.3\_v0.6](https://github.com/LDMX-Software/geant4/tree/LDMX.10.2.3_v0.6) | Built from source [Eigen](https://eigen.tuxfamily.org/index.php?title=Main_Page) | 3.4.0 | Built from source diff --git a/docs/src/ubuntu-packages.md b/docs/src/ubuntu-packages.md index 5fb73cd..ab1fbea 100644 --- a/docs/src/ubuntu-packages.md +++ b/docs/src/ubuntu-packages.md @@ -70,6 +70,7 @@ libxmu-dev | low-level window management (ROOT GUI) libxpm-dev | low-level window management (ROOT GUI) libz-dev | Data compression in ROOT serialization libzstd-dev | Data compression in ROOT serialization +nlohmann-json3-dev | JSON reading/writing in ROOT and ldmx-sw srm-ifce-dev | [srm-ifce](https://github.com/cern-fts/srm-ifce) client side access of distributed storage within ROOT libgsl-dev | GNU Scientific Library for numerical calculations in ROOT MathMore (needed for GENIE) liblog4cpp5-dev | C++ Logging Library used in GENIE From 1b0561a03ed3f14dc4207f165963c62d6a534707 Mon Sep 17 00:00:00 2001 From: tomeichlersmith Date: Wed, 19 Mar 2025 11:47:40 -0500 Subject: [PATCH 2/2] patch version in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b68e492..0369c9b 100644 --- a/README.md +++ b/README.md @@ -40,11 +40,11 @@ Software Package | Version | Construction Process [Ubuntu Server](https://ubuntu.com/) | 24.04 | Base Image [Python](https://www.python.org/) | 3.12.3 | From Ubuntu Repos [cmake](https://cmake.org/) | 3.28.3 | From Ubuntu Repos -[Boost](https://www.boost.org/doc/libs/1_74_0/) | 1.83.0 | From Ubuntu Repos +[Boost](https://www.boost.org/doc/libs/1_83_0/) | 1.83.0 | From Ubuntu Repos [XercesC](http://xerces.apache.org/xerces-c/) | 3.3.0 | Built from source [LHAPDF](https://www.lhapdf.org/) | 6.5.5 | Built from source [Pythia8](https://pythia.org/) | 8.313 | Built from source -[nlohmann/json](https://json.nlohmann.me/) | 3.10.5 | From Ubuntu Repos +[nlohmann/json](https://json.nlohmann.me/) | 3.11.3 | From Ubuntu Repos [ROOT](https://root.cern.ch/) | 6.34.04 | Built from source [Geant4](https://geant4.web.cern.ch/) | [LDMX.10.2.3\_v0.6](https://github.com/LDMX-Software/geant4/tree/LDMX.10.2.3_v0.6) | Built from source [Eigen](https://eigen.tuxfamily.org/index.php?title=Main_Page) | 3.4.0 | Built from source