Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Sep 15, 2023
1 parent a7937f2 commit bb13fe9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/Spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,8 @@ jobs:
strategy:
matrix:
os: ["ubuntu-latest"]
sharedlibs: ["+shared", "~shared"]
pic: ["+pic", "~pic"]
picshared: ["+pic +shared", "+pic ~shared", "~pic"]
precision: ["precision=d", "precision=4", "precision=8"]
exclude:
- sharedlibs: +shared
pic: ~pic

runs-on: ${{ matrix.os }}

Expand Down
3 changes: 1 addition & 2 deletions spack/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class W3emc(CMakePackage):
description="Set precision (_4/_d/_8 library versions)",
when="@2.10:",
)
variant("shared", default=False, description="Build shared library", when="@2.10:")
variant("shared", default=False, description="Build shared library", when="@2.10: +pic")
variant(
"extradeps",
default=False,
Expand All @@ -45,7 +45,6 @@ class W3emc(CMakePackage):
)

conflicts("+shared +extradeps", msg="Shared library cannot be built with unknown dependencies")
conflicts("+shared ~pic")

depends_on("bufr", when="@2.10: +bufr")
depends_on("bacio", when="@2.9.2:")
Expand Down

0 comments on commit bb13fe9

Please sign in to comment.