Closed jpietarilagraham closed 3 months ago
You are explicitly passing C++ 11 to the CMake command line:
-DCMAKE_CXX_STANDARD:STRING=11
This is off the master branch. 24.03.0 is fine.
This is a bug in the Legion Spack package, which apparently has not been updated. Legion now requires C++ 17.
Until the Spack package gets updated you would need to build with the variant cxxstd=17
. Otherwise Spack explicitly builds for C++ 11 and Legion of course objects.
Potential fix posted to https://github.com/spack/spack/pull/44596
@jpietarilagraham If you'd like to test, I think you can clone my Spack fork (assuming you have no other local changes you need).
Cmake identifies the compiler is gcc 12.2.0 but then erroneously claims the compiler doesn't support c++17.
spack-build-out.txt