DUNE / dune-tms

DUNE ND Temporary Muon Spectrometer
0 stars 1 forks source link

Build system and TOML dependency #31

Closed LiamOS closed 5 months ago

LiamOS commented 1 year ago

Current build system functions well on DUNE GPVMs and some versions of ubuntu, but does not build well with up-to-date gcc or clang. Clean up code to reduce warnings/errors resulting from newer compiler implementations

As of Python 3.11, TOML files can be read using tomllib, a la

import tomllib
tomllib.load(fileObject)
tomllib.loads(fileName)

Since we already depend on Python we can have TOML for free, but at time of writing even ROOT doesn't work with 3.11 yet.

LiamOS commented 5 months ago

Closing this. We have CMake for building, and the current toml dependency is fine. Python 3.11 isn't even that mainstream yet and 3.13's almost out.