Skip to content

Commit d53244c

Browse files
Add genf90 resource for cprnc to allow offline builds (spack#42015)
* Add genf90 resource for cprnc to allow offline builds * Update package.py * Update package.py style fix
1 parent d003817 commit d53244c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

var/spack/repos/builtin/packages/cprnc/package.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,17 @@ class Cprnc(CMakePackage):
2222

2323
depends_on("netcdf-fortran")
2424
depends_on("cmake@3:", type="build")
25+
26+
resource(
27+
name="genf90",
28+
git="https://github.com/PARALLELIO/genf90",
29+
tag="genf90_200608",
30+
destination="genf90-resource",
31+
)
32+
33+
def cmake_args(self):
34+
args = [
35+
self.define("GENF90_PATH", join_path(self.stage.source_path, "genf90-resource/genf90"))
36+
]
37+
38+
return args

0 commit comments

Comments
 (0)