-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
130 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Remove check for install lib directory $libpath, because it does not exist yet | ||
--- ni/src/ncl/MakeNcl.csh.orig 2019-02-28 00:44:39 | ||
+++ ni/src/ncl/MakeNcl.csh 2025-02-19 14:06:58 | ||
@@ -28,11 +28,6 @@ | ||
set libmath = "-lngmath" | ||
set ncarg_libs = "$libncl $libnfp $libhlu $libncarg $libgks $libncarg_c $libmath" | ||
|
||
-if (! -d "$libpath") then | ||
- echo "Library directory <$libpath> does not exist." | ||
- exit 1 | ||
-endif | ||
- | ||
set files = "" | ||
set extra_opts = "" | ||
|
41 changes: 41 additions & 0 deletions
41
science/ncarg/files/patch-ni-src-ncl-remove-nc-set-log.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
Remove nc_set_log_level() because it is not (no longer?) available in libnetcdf | ||
--- ni/src/ncl/NclNetCDF4.c.orig 2019-02-28 00:44:39 | ||
+++ ni/src/ncl/NclNetCDF4.c 2025-02-19 14:07:33 | ||
@@ -409,7 +409,6 @@ | ||
} | ||
|
||
/*nc_set_log_level(3);*/ | ||
- nc_set_log_level(3); | ||
|
||
ChunkSizeHint = 2 * blksize; | ||
|
||
--- ni/src/ncl/NclNetCdf.c.orig 2019-02-28 00:44:39 | ||
+++ ni/src/ncl/NclNetCdf.c 2025-02-19 14:07:38 | ||
@@ -614,7 +614,6 @@ | ||
} | ||
|
||
/*nc_set_log_level(3);*/ | ||
- nc_set_log_level(3); | ||
|
||
ChunkSizeHint = 64 * blksize; | ||
therec = (NetCdfFileRecord*)NclCalloc(1, sizeof(NetCdfFileRecord)); | ||
--- ni/src/ncl/NclNewHDF5.c.orig 2019-02-28 00:44:39 | ||
+++ ni/src/ncl/NclNewHDF5.c 2025-02-19 14:08:16 | ||
@@ -3834,7 +3834,6 @@ | ||
} | ||
|
||
/*nc_set_log_level(3);*/ | ||
- nc_set_log_level(3); | ||
|
||
grpnode = (NclFileGrpNode *)NclCalloc(1, sizeof(NclFileGrpNode)); | ||
assert(grpnode); | ||
--- ni/src/ncl/NclNewHDFEOS5.c.orig 2019-02-28 00:44:39 | ||
+++ ni/src/ncl/NclNewHDFEOS5.c 2025-02-19 14:08:21 | ||
@@ -530,7 +530,6 @@ | ||
} | ||
|
||
/*nc_set_log_level(3);*/ | ||
- nc_set_log_level(3); | ||
|
||
grpnode = (NclFileGrpNode *)NclCalloc(1, sizeof(NclFileGrpNode)); | ||
assert(grpnode); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Replace '+' with '|' in sed. With '+' it complains about wrong flag | ||
--- ni/src/ncl/yMakefile.orig 2019-02-28 00:44:39 | ||
+++ ni/src/ncl/yMakefile 2025-02-19 14:06:24 | ||
@@ -655,12 +655,12 @@ | ||
|
||
MakeNcl: MakeNcl.csh Makefile | ||
@sed \ | ||
- -e 's+SED_CC_LD+$(CC_LD)+' \ | ||
- -e 's+SED_CC_OPT+$(CCOPTIONS)+' \ | ||
- -e 's+SED_LDLIBS+$(LDLIBS)+' \ | ||
- -e 's+SED_EXTRA_LDLIBS+$(EXTRA_LDLIBS)+' \ | ||
- -e 's+SED_LIBPATH+$(LIBPATH)+' \ | ||
- -e 's+SED_INCPATH+$(INCPATH)+' \ | ||
+ -e 's|SED_CC_LD|$(CC_LD)|' \ | ||
+ -e 's|SED_CC_OPT|$(CCOPTIONS)|' \ | ||
+ -e 's|SED_LDLIBS|$(LDLIBS)|' \ | ||
+ -e 's|SED_EXTRA_LDLIBS|$(EXTRA_LDLIBS)|' \ | ||
+ -e 's|SED_LIBPATH|$(LIBPATH)|' \ | ||
+ -e 's|SED_INCPATH|$(INCPATH)|' \ | ||
<MakeNcl.csh > MakeNcl | ||
|
||
#if defined(Darwin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.