Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove CXXSTD for next-root6 build #4052

Merged
merged 1 commit into from
Apr 10, 2022
Merged

Conversation

TimoWilken
Copy link
Contributor

This seems to cause build failures for GEANT4 in the AliPhysics CI, like the following:

CMake Warning at cmake/Modules/G4BuildSettings.cmake:171 (message):
  The GEANT4_BUILD_CXXSTD argument is deprecated.

  Please use CMAKE_CXX_STANDARD to set the required C++ Standard.  The value
  supplied will be used to set CMAKE_CXX_STANDARD, but this behaviour will be
  removed in future releases.
Call Stack (most recent call first):
  cmake/Modules/G4CMakeMain.cmake:53 (include)
  CMakeLists.txt:50 (include)

CMake Error at cmake/Modules/G4CMakeUtilities.cmake:112 (message):
  Value '11' for variable CMAKE_CXX_STANDARD is not allowed

  It must be selected from the set: 17;20 (DEFAULT: 17)

Call Stack (most recent call first):
  cmake/Modules/G4BuildSettings.cmake:179 (enum_option)
  cmake/Modules/G4CMakeMain.cmake:53 (include)
  CMakeLists.txt:50 (include)

-- Configuring incomplete, errors occurred!

This seems to cause build failures for GEANT4 in the AliPhysics CI, like the
following:

```
CMake Warning at cmake/Modules/G4BuildSettings.cmake:171 (message):
  The GEANT4_BUILD_CXXSTD argument is deprecated.

  Please use CMAKE_CXX_STANDARD to set the required C++ Standard.  The value
  supplied will be used to set CMAKE_CXX_STANDARD, but this behaviour will be
  removed in future releases.
Call Stack (most recent call first):
  cmake/Modules/G4CMakeMain.cmake:53 (include)
  CMakeLists.txt:50 (include)

CMake Error at cmake/Modules/G4CMakeUtilities.cmake:112 (message):
  Value '11' for variable CMAKE_CXX_STANDARD is not allowed

  It must be selected from the set: 17;20 (DEFAULT: 17)

Call Stack (most recent call first):
  cmake/Modules/G4BuildSettings.cmake:179 (enum_option)
  cmake/Modules/G4CMakeMain.cmake:53 (include)
  CMakeLists.txt:50 (include)

-- Configuring incomplete, errors occurred!
```
@TimoWilken TimoWilken requested a review from a team as a code owner April 8, 2022 12:42
@ktf ktf merged commit 50406e2 into alisw:master Apr 10, 2022
@TimoWilken TimoWilken deleted the fix-aliphysics-ci branch March 29, 2023 11:49
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