pdc: add v0.4 (#42508)
This commit is contained in:
parent
3d037c5150
commit
e90b616428
@ -14,26 +14,42 @@ class Pdc(CMakePackage):
|
|||||||
metadata operations to find data objects."""
|
metadata operations to find data objects."""
|
||||||
|
|
||||||
homepage = "https://pdc.readthedocs.io/en/latest/"
|
homepage = "https://pdc.readthedocs.io/en/latest/"
|
||||||
url = "https://github.com/hpc-io/pdc/archive/refs/tags/0.3.tar.gz"
|
url = "https://github.com/hpc-io/pdc/archive/refs/tags/0.4.tar.gz"
|
||||||
git = "https://github.com/hpc-io/pdc.git"
|
git = "https://github.com/hpc-io/pdc.git"
|
||||||
|
|
||||||
maintainers("houjun", "sbyna")
|
maintainers("houjun", "sbyna", "jeanbez")
|
||||||
|
|
||||||
license("BSD-3-Clause-LBNL")
|
license("BSD-3-Clause-LBNL")
|
||||||
|
|
||||||
|
version("0.4", sha256="eb2c2b69e5cdbca3210b8d72a646c16a2aa004ca08792f28cc6290a9a3ad6c8a")
|
||||||
version("0.3", sha256="14a3abd5e1e604f9527105709fca545bcdebe51abd2b89884db74d48a38b5443")
|
version("0.3", sha256="14a3abd5e1e604f9527105709fca545bcdebe51abd2b89884db74d48a38b5443")
|
||||||
version("0.2", sha256="2829e74da227913a1a8e3e4f64e8f422ab9c0a049f8d73ff7b6ca12463959f8b")
|
version(
|
||||||
version("0.1", sha256="01b4207ecf71594a7f339c315f2869b3fa8fbd34b085963dc4c1bdc5b66bb93e")
|
"0.2",
|
||||||
|
sha256="2829e74da227913a1a8e3e4f64e8f422ab9c0a049f8d73ff7b6ca12463959f8b",
|
||||||
|
deprecated=True,
|
||||||
|
)
|
||||||
|
version(
|
||||||
|
"0.1",
|
||||||
|
sha256="01b4207ecf71594a7f339c315f2869b3fa8fbd34b085963dc4c1bdc5b66bb93e",
|
||||||
|
deprecated=True,
|
||||||
|
)
|
||||||
|
|
||||||
version("stable", branch="stable")
|
version("stable", branch="stable")
|
||||||
version("develop", branch="develop")
|
version("develop", branch="develop")
|
||||||
|
|
||||||
conflicts("%clang")
|
conflicts("%clang")
|
||||||
|
|
||||||
depends_on("libfabric")
|
depends_on("libfabric")
|
||||||
depends_on("mercury")
|
depends_on("mercury@2.0.0", when="@0.1:0.3")
|
||||||
|
depends_on("mercury@2.2.0", when="@0.4:")
|
||||||
depends_on("mpi")
|
depends_on("mpi")
|
||||||
|
|
||||||
root_cmakelists_dir = "src"
|
@property
|
||||||
|
def root_cmakelists_dir(self):
|
||||||
|
if "@0.4:" in self.spec:
|
||||||
|
return self.stage.source_path
|
||||||
|
else:
|
||||||
|
return "src"
|
||||||
|
|
||||||
def cmake_args(self):
|
def cmake_args(self):
|
||||||
args = [
|
args = [
|
||||||
@ -47,4 +63,5 @@ def cmake_args(self):
|
|||||||
|
|
||||||
if self.spec.satisfies("platform=cray"):
|
if self.spec.satisfies("platform=cray"):
|
||||||
args.append("-DRANKSTR_LINK_STATIC=ON")
|
args.append("-DRANKSTR_LINK_STATIC=ON")
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
Loading…
Reference in New Issue
Block a user