File tree 1 file changed +8
-6
lines changed
var/spack/repos/builtin/packages/crtm
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -94,10 +94,12 @@ def url_for_version(self, version):
94
94
# https://github.com/JCSDA/spack-stack/issues/1088
95
95
patch ("v3.1.0-skylabv8.installprefix.patch" , when = "@v3.1.0-skylabv8" )
96
96
97
- @when ("@2.4.0.1" )
98
97
def patch (self ):
99
- if self .compiler .name in ["gcc" , "clang" , "apple-clang" ]:
100
- # Line lengths in RSS_Emissivity_Model.f90 are too long for gfortran default limit
101
- filter_file (
102
- "-fbacktrace" , "-fbacktrace -ffree-line-length-none" , "libsrc/CMakeLists.txt"
103
- )
98
+ if self .spec .satisfies ("@2.4.0.1" ):
99
+ if self .compiler .name in ["gcc" , "clang" , "apple-clang" ]:
100
+ # Line lengths in RSS_Emissivity_Model.f90 are too long for gfortran default limit
101
+ filter_file (
102
+ "-fbacktrace" , "-fbacktrace -ffree-line-length-none" , "libsrc/CMakeLists.txt"
103
+ )
104
+ if not self .run_tests :
105
+ filter_file (r"add_subdirectory\(test\)" , "# disable testing" , "CMakeLists.txt" )
You can’t perform that action at this time.
0 commit comments