DLA-Future-Fortran: add v0.2.0 (#45055)

This commit is contained in:
Rocco Meli 2024-07-08 09:16:31 +02:00 committed by GitHub
parent ddab6156a6
commit 09b89e87a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,7 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
# dlaf-no-license-check
from spack.package import *
@ -20,6 +21,7 @@ class DlaFutureFortran(CMakePackage):
license("BSD-3-Clause")
version("main", branch="main")
version("0.2.0", sha256="7fd3e1779c111b35f0d2701a024398b4f6e8dea4af523b6c8617d28c0b7ae61a")
version("0.1.0", sha256="9fd8a105cbb2f3e1daf8a49910f98fce68ca0b954773dba98a91464cf2e7c1da")
variant("shared", default=True, description="Build shared libraries.")
@ -28,7 +30,8 @@ class DlaFutureFortran(CMakePackage):
generator("ninja")
depends_on("cmake@3.22:", type="build")
depends_on("dla-future@0.4.1: +scalapack")
depends_on("dla-future@0.4.1:0.5 +scalapack", when="@0.1.0")
depends_on("dla-future@0.6.0: +scalapack", when="@0.2.0:")
depends_on("dla-future +shared", when="+shared")
depends_on("mpi", when="+test")