celeritas-project / celeritas

Celeritas is a new Monte Carlo transport code designed to accelerate scientific discovery in high energy physics by improving detector simulation throughput and energy efficiency using GPUs.
https://celeritas-project.github.io/celeritas/user/index.html
Other
58 stars 32 forks source link

Fix minor dependency issues #1219

Closed sethrj closed 2 months ago

sethrj commented 2 months ago

We've encountered several instances in the past (usually with nlohmann/json) where the CI builds pass but individual builds fail, because the CI uses spack views so that including one dependency will propagate include paths for all of them. This fixes such an issue with JSON and changes the "spack" CI so that it loads dependencies from separate installation directories (no spack changes for now since it's not straightforward like I thought). It also should fix the ability to link against a Geant4 build directory, which @whokion noticed was broken.