Update COSTA package (#35137)
This commit is contained in:
parent
051abfb894
commit
047a481e48
@ -13,14 +13,18 @@ class Costa(CMakePackage):
|
|||||||
Based on the paper: https://arxiv.org/abs/2106.06601
|
Based on the paper: https://arxiv.org/abs/2106.06601
|
||||||
"""
|
"""
|
||||||
|
|
||||||
maintainers = ["haampie", "kabicm"]
|
maintainers = [
|
||||||
|
"haampie",
|
||||||
|
"kabicm",
|
||||||
|
"RMeli",
|
||||||
|
]
|
||||||
homepage = "https://github.com/eth-cscs/COSTA"
|
homepage = "https://github.com/eth-cscs/COSTA"
|
||||||
url = "https://github.com/eth-cscs/COSTA/releases/download/v2.0/COSTA-v2.0.tar.gz"
|
|
||||||
git = "https://github.com/eth-cscs/COSTA.git"
|
git = "https://github.com/eth-cscs/COSTA.git"
|
||||||
|
|
||||||
# note: The default archives produced with github do not have the archives
|
# note: The default archives produced with github do not have the archives
|
||||||
# of the submodules.
|
# of the submodules.
|
||||||
version("master", branch="master", submodules=True)
|
version("master", branch="master", submodules=True)
|
||||||
|
version("2.1", sha256="c1e86452415083f7470b292d93ec60708b7c8dbafc2bac383636bb4b28135866")
|
||||||
version("2.0", sha256="de250197f31f7d23226c6956a687c3ff46fb0ff6c621a932428236c3f7925fe4")
|
version("2.0", sha256="de250197f31f7d23226c6956a687c3ff46fb0ff6c621a932428236c3f7925fe4")
|
||||||
|
|
||||||
variant("scalapack", default=False, description="Build with ScaLAPACK API")
|
variant("scalapack", default=False, description="Build with ScaLAPACK API")
|
||||||
@ -31,9 +35,14 @@ class Costa(CMakePackage):
|
|||||||
depends_on("scalapack", when="+scalapack")
|
depends_on("scalapack", when="+scalapack")
|
||||||
|
|
||||||
def url_for_version(self, version):
|
def url_for_version(self, version):
|
||||||
return "https://github.com/eth-cscs/COSTA/releases/download/v{0}/COSTA-v{1}.tar.gz".format(
|
if version == Version("2.0"):
|
||||||
version, version
|
return "https://github.com/eth-cscs/COSTA/releases/download/v{0}/COSTA-v{1}.tar.gz".format(
|
||||||
)
|
version, version
|
||||||
|
)
|
||||||
|
else:
|
||||||
|
return "https://github.com/eth-cscs/COSTA/archive/refs/tags/v{0}.tar.gz".format(
|
||||||
|
version
|
||||||
|
)
|
||||||
|
|
||||||
def setup_build_environment(self, env):
|
def setup_build_environment(self, env):
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user