dla-future-fortran: fix +test option (#44458)

* Spglib: add version 2.4.0

* DLA-Future: fix +test option
This commit is contained in:
Rocco Meli 2024-05-31 11:18:52 +02:00 committed by GitHub
parent 77fd5d8414
commit b8c8e80965
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,6 +38,10 @@ def cmake_args(self):
args = []
args.append(self.define_from_variant("BUILD_SHARED_LIBS", "shared"))
args.append(self.define_from_variant("DLAF_FORTRAN_BUILD_TESTING", "test"))
if self.spec.satisfies("+test"):
args.append(self.define("DLAF_FORTRAN_BUILD_TESTING", True))
# Tests run with 6 MPI ranks
args.append(self.define("MPIEXEC_MAX_NUMPROCS", 6))
return args