Skip to content

Allow setting c++ standard globally and set default to c++20#277

Merged
aaust merged 16 commits intomasterfrom
davidl_c++20
Sep 15, 2025
Merged

Allow setting c++ standard globally and set default to c++20#277
aaust merged 16 commits intomasterfrom
davidl_c++20

Conversation

@faustus123
Copy link
Contributor

This was tested on the gluon RHEL9.5 computers with the native gcc 11.5.0 compiler, but not on other platforms/compilers.

  • Add GLOBAL_CXX_STANDARD variable which is used to specify the C++ standard to be used for compiling halld_recon, root, and JANA2

  • Set the default value of GLOBAL_CXX_STANDARD to use c++20

  • Add GLOBAL_DEBUG_SYMBOLS which allows setting debug symbols on for halld_recon, root, and JANA2

  • Unset HDDM_VERSION during environment cleaning

@aaust aaust merged commit bf04160 into master Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants