Skip to content

Commit

Permalink
Update package.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA authored Jan 23, 2024
1 parent 7bba531 commit 1cfad92
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spack/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ class Ip(CMakePackage):
when="@5.0:",
)

depends_on("sp", when="@:4")
depends_on("sp@:2.3.3", when="@:4.0")
depends_on("sp precision=4", when="@4.1:4 precision=4")
depends_on("sp precision=d", when="@4.1:4 precision=d")
depends_on("sp precision=8", when="@4.1:4 precision=8")

def cmake_args(self):
args = [
self.define_from_variant("OPENMP", "openmp"),
Expand Down

0 comments on commit 1cfad92

Please sign in to comment.