Skip to content

Commit

Permalink
Merge pull request #390 from AlexanderRichert-NOAA/cprnc_offline_install
Browse files Browse the repository at this point in the history
Add genf90 resource for cprnc to allow offline builds
  • Loading branch information
climbfuji authored Jan 12, 2024
2 parents d003817 + d53244c commit 9702bcb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions var/spack/repos/builtin/packages/cprnc/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,17 @@ class Cprnc(CMakePackage):

depends_on("netcdf-fortran")
depends_on("cmake@3:", type="build")

resource(
name="genf90",
git="https://github.com/PARALLELIO/genf90",
tag="genf90_200608",
destination="genf90-resource",
)

def cmake_args(self):
args = [
self.define("GENF90_PATH", join_path(self.stage.source_path, "genf90-resource/genf90"))
]

return args

0 comments on commit 9702bcb

Please sign in to comment.