Skip to content

Commit 43e5c25

Browse files
committed
Merge pull request #728 from hashdist/netcdf
netcdf: Rebase the patch on top of the latest code
2 parents b890c0a + e1c2605 commit 43e5c25

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

pkgs/netcdf4/max_dims.patch

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
commit c3e8003955febdb8e46c760d21fe891f958dd245
1+
commit 9e8b68aae32f9fda89625a7a9c9cc391feb455e3
22
Author: Ondřej Čertík <ondrej.certik@gmail.com>
3-
Date: Sun Dec 7 23:11:01 2014 -0700
3+
Date: Wed Apr 15 12:44:47 2015 -0600
44

55
Increase max dimensions
6-
6+
77
In order to handle larger meshes in libraries like ExodusII and Moab.
88

99
diff --git a/include/netcdf.h b/include/netcdf.h
10-
index 5d556bc..a642b71 100644
10+
index c9ca0af..ac27c2d 100644
1111
--- a/include/netcdf.h
1212
+++ b/include/netcdf.h
13-
@@ -225,9 +225,9 @@ created with the ::NC_CLASSIC_MODEL flag.
13+
@@ -226,9 +226,9 @@ created with the ::NC_CLASSIC_MODEL flag.
1414
As a rule, NC_MAX_VAR_DIMS <= NC_MAX_DIMS.
1515
*/
1616
/**@{*/
17-
-#define NC_MAX_DIMS 1024
17+
-#define NC_MAX_DIMS 1024
1818
+#define NC_MAX_DIMS 65536
19-
#define NC_MAX_ATTRS 8192
20-
-#define NC_MAX_VARS 8192
19+
#define NC_MAX_ATTRS 8192
20+
-#define NC_MAX_VARS 8192
2121
+#define NC_MAX_VARS 524288
22-
#define NC_MAX_NAME 256
22+
#define NC_MAX_NAME 256
2323
#define NC_MAX_VAR_DIMS 1024 /**< max per variable dimensions */
2424
/**@}*/

pkgs/netcdf4/netcdf4.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ build_stages:
2929
files: [max_dims.patch]
3030
name: max_dims
3131
handler: bash
32-
before: make
32+
before: configure
3333
bash: |
3434
patch -p1 < _hashdist/max_dims.patch

0 commit comments

Comments
 (0)