-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #398 from lanl/jhp/spack_for_release
Update spackage in preparation for release
- Loading branch information
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,14 +90,14 @@ class SingularityEos(CMakePackage, CudaPackage): | |
default="none", | ||
validator=plugin_validator, | ||
description="list of plugins to build", | ||
when="@main" | ||
when="@1.9.0:" | ||
) | ||
variant("variant", default="default", description="include path used for variant header", when="@main") | ||
variant("variant", default="default", description="include path used for variant header", when="@1.9.0:") | ||
|
||
# building/testing/docs | ||
depends_on("[email protected]:") | ||
depends_on("[email protected]:", when="@main +tests") | ||
depends_on("[email protected]", when="@:1.8.0 +tests") | ||
depends_on("[email protected]:", when="@1.9.0: +tests") | ||
depends_on("python@3:", when="+python") | ||
depends_on("py-numpy", when="+python+tests") | ||
depends_on("[email protected]:", when="+python") | ||
|
@@ -112,7 +112,7 @@ class SingularityEos(CMakePackage, CudaPackage): | |
|
||
depends_on("[email protected],1.5.2:", when="@:1.7.0") | ||
depends_on("[email protected]:", when="@1.7.1:") | ||
depends_on("[email protected]:", when="@1.8.1:") | ||
depends_on("[email protected]:", when="@1.9.0:") | ||
# request HEAD of main branch | ||
depends_on("ports-of-call@main", when="@main") | ||
|
||
|
@@ -216,7 +216,7 @@ def cmake_args(self): | |
self.define("SINGULARITY_USE_EOSPAC", "^eospac" in self.spec), | ||
] | ||
|
||
if self.spec.satisfies("@main"): | ||
if self.spec.satisfies("@1.9.0:"): | ||
if "none" not in self.spec.variants["plugins"].value: | ||
pdirs = [join_path(self.stage.source_path, self.plugins[p]) for p in self.spec.variants["plugins"].value] | ||
args.append(self.define("SINGULARITY_PLUGINS", ";".join(pdirs))) | ||
|