Skip to content

Commit

Permalink
Merge pull request #96 from lanl/github-bot/update_spackages
Browse files Browse the repository at this point in the history
Update spackages
  • Loading branch information
rbberger authored Sep 5, 2024
2 parents 6301440 + 1213095 commit 035c599
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spack-repo/packages/ports-of-call/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,15 @@ class PortsOfCall(CMakePackage):
default="None",
when="@:1.2.0",
)
variant("test", default=False, description="Build tests")

depends_on("[email protected]:")
depends_on("[email protected]:", when="+test")

def cmake_args(self):
args = []
args = [
self.define_from_variant("PORTS_OF_CALL_BUILD_TESTING", "test"),
]
if self.spec.satisfies("@:1.2.0"):
args.append(self.define_from_variant("PORTABILITY_STRATEGY", "portability_strategy"))
return args

0 comments on commit 035c599

Please sign in to comment.