Skip to content

Commit

Permalink
spack updates
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 5, 2024
1 parent 17a16fd commit 2edb4f8
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 2edb4f8

Please sign in to comment.