Set C++17 for GCC 7 and above, in line with LCG
Hi,
Since a few people now hit the issue that their local GCC8 compilation doesn't work unless they specify CMAKE_CXX_STANDARD=17, I thought it was best to enable this for GCC 7 and above directly.
Once we drop GCC 6.2 we can remove this logic.
Work related to ATLINFR-2384
Cheers,
Stewart
Merge request reports
Activity
- Resolved by Stewart Martin-Haugh
And now I remembered that you'll have to also update this line:
https://gitlab.cern.ch/atlas/atlasexternals/blob/master/Build/AtlasLCG/LCGConfig.cmake#L468
That's because Gaudi doesn't rely on our specialised build flags for setting up its own thing. Hence we need to force it through
AtlasLCG
to use the c++ standard that we want... (Plus I wanted back in the day to makeAtlasLCG
functional withoutAtlasCMake
as well.) AE Build SUCCESS
Build logfiles are available at Jenkins [AE-MERGE-REQUEST #569] AE Build SUCCESS
Build logfiles are available at Jenkins [AE-MERGE-REQUEST #571] AE Build SUCCESS
Build logfiles are available at Jenkins [AE-MERGE-REQUEST #572]mentioned in commit 162b7687
Hi Stewart,
Note that tag 2.0.12, which I made last evening, is currently in validation for master. (https://gitlab.cern.ch/atlas/athena/merge_requests/14843) We should probably wait for that to go through first, and then see exactly when to push this one in...
Cheers, Attila
I see 2.0.13 tag was made and master is now using that. Removing
-x "-DCMAKE_CXX_STANDARD=17"
from the jenkins jobsEdited by Emil Obreshkov