charmpp: use CMake for versions 7.0.0+ (#28401)

This commit is contained in:
Nils Leif Fischer 2022-01-15 07:56:16 +01:00 committed by GitHub
parent 93377942d1
commit 3f903c49e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,6 +101,10 @@ class Charmpp(Package):
variant("production", default=True, description="Build charm++ with all optimizations")
variant("tracing", default=False, description="Enable tracing modules")
# Versions 7.0.0+ use CMake by default when it's available. It's more
# robust.
depends_on('cmake@3.4:', when='@7.0.0:', type='build')
depends_on("mpi", when="backend=mpi")
depends_on("papi", when="+papi")
depends_on("cuda", when="+cuda")