Skip to content

Commit

Permalink
package.py require appropriate precision for sp
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Sep 11, 2023
1 parent e41b862 commit 44f0057
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spack/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ class Ip(CMakePackage):

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

def cmake_args(self):
args = [
Expand Down

0 comments on commit 44f0057

Please sign in to comment.