Skip to content

Commit 5f5dc32

Browse files
install nlohmann/json from package like ROOT does (#117)
* install nlohmann/json from package like ROOT does * patch version in README
1 parent 451e0cb commit 5f5dc32

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ RUN install-ubuntu-packages \
137137
libxpm-dev \
138138
libz-dev \
139139
libzstd-dev \
140+
nlohmann-json3-dev \
140141
srm-ifce-dev \
141142
libgsl-dev
142143

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ Software Package | Version | Construction Process
4040
[Ubuntu Server](https://ubuntu.com/) | 24.04 | Base Image
4141
[Python](https://www.python.org/) | 3.12.3 | From Ubuntu Repos
4242
[cmake](https://cmake.org/) | 3.28.3 | From Ubuntu Repos
43-
[Boost](https://www.boost.org/doc/libs/1_74_0/) | 1.83.0 | From Ubuntu Repos
43+
[Boost](https://www.boost.org/doc/libs/1_83_0/) | 1.83.0 | From Ubuntu Repos
4444
[XercesC](http://xerces.apache.org/xerces-c/) | 3.3.0 | Built from source
4545
[LHAPDF](https://www.lhapdf.org/) | 6.5.5 | Built from source
4646
[Pythia8](https://pythia.org/) | 8.313 | Built from source
47+
[nlohmann/json](https://json.nlohmann.me/) | 3.11.3 | From Ubuntu Repos
4748
[ROOT](https://root.cern.ch/) | 6.34.04 | Built from source
4849
[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
4950
[Eigen](https://eigen.tuxfamily.org/index.php?title=Main_Page) | 3.4.0 | Built from source

docs/src/ubuntu-packages.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ libxmu-dev | low-level window management (ROOT GUI)
7070
libxpm-dev | low-level window management (ROOT GUI)
7171
libz-dev | Data compression in ROOT serialization
7272
libzstd-dev | Data compression in ROOT serialization
73+
nlohmann-json3-dev | JSON reading/writing in ROOT and ldmx-sw
7374
srm-ifce-dev | [srm-ifce](https://github.com/cern-fts/srm-ifce) client side access of distributed storage within ROOT
7475
libgsl-dev | GNU Scientific Library for numerical calculations in ROOT MathMore (needed for GENIE)
7576
liblog4cpp5-dev | C++ Logging Library used in GENIE

0 commit comments

Comments
 (0)