summaryrefslogtreecommitdiffstats
path: root/CMakePresets.json
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-08-21 22:13:03 (GMT)
committerGitHub <noreply@github.com>2023-08-21 22:13:03 (GMT)
commitceef4a9ebd055f9ec0378a97ec2ce9421cdec866 (patch)
tree887ab50783fb357f8c5f9fe0dee1d6ba5dc536a5 /CMakePresets.json
parent89b4afd4b317c5131cbc8607c99d21b369d050eb (diff)
downloadhdf5-ceef4a9ebd055f9ec0378a97ec2ce9421cdec866.zip
hdf5-ceef4a9ebd055f9ec0378a97ec2ce9421cdec866.tar.gz
hdf5-ceef4a9ebd055f9ec0378a97ec2ce9421cdec866.tar.bz2
Merge/update CMake, presets,java and tools (#3393)
Diffstat (limited to 'CMakePresets.json')
-rw-r--r--CMakePresets.json72
1 files changed, 46 insertions, 26 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
index 13766ca..152aa41 100644
--- a/CMakePresets.json
+++ b/CMakePresets.json
@@ -14,28 +14,35 @@
}
},
{
- "name": "ci-StdCompression",
+ "name": "ci-CompressionVars",
"hidden": true,
- "inherits": "ci-base-tgz",
"cacheVariables": {
"BUILD_ZLIB_WITH_FETCHCONTENT": "ON",
"ZLIB_PACKAGE_NAME": {"type": "STRING", "value": "zlib"},
"ZLIB_TGZ_ORIGPATH": {"type": "STRING", "value": "https://github.com/madler/zlib/releases/download/v1.2.13"},
"ZLIB_TGZ_ORIGNAME": {"type": "STRING", "value": "zlib-1.2.13.tar.gz"},
- "ZLIB_USE_LOCALCONTENT": "OFF",
"BUILD_SZIP_WITH_FETCHCONTENT": "ON",
"LIBAEC_PACKAGE_NAME": {"type": "STRING", "value": "libaec"},
"LIBAEC_TGZ_ORIGPATH": {"type": "STRING", "value": "https://github.com/MathisRosenhauer/libaec/releases/download/v1.0.6"},
- "LIBAEC_TGZ_ORIGNAME": {"type": "STRING", "value": "libaec-1.0.6.tar.gz"},
- "LIBAEC_USE_LOCALCONTENT": "OFF"
+ "LIBAEC_TGZ_ORIGNAME": {"type": "STRING", "value": "libaec-1.0.6.tar.gz"}
+ }
+ },
+ {
+ "name": "ci-StdCompression",
+ "hidden": true,
+ "inherits": ["ci-base-tgz", "ci-CompressionVars"],
+ "cacheVariables": {
+ "HDF5_PACKAGE_EXTLIBS": "ON",
+ "ZLIB_USE_LOCALCONTENT": "OFF",
+ "LIBAEC_USE_LOCALCONTENT": "OFF",
+ "HDF5_ENABLE_SZIP_SUPPORT": "ON"
}
},
{
"name": "ci-base-plugins",
"hidden": true,
- "inherits": "ci-base-tgz",
"cacheVariables": {
- "PLUGIN_TGZ_NAME": {"type": "STRING", "value": "hdf5_plugins-1.14.0.tar.gz"},
+ "PLUGIN_TGZ_NAME": {"type": "STRING", "value": "hdf5_plugins.tar.gz"},
"PLUGIN_PACKAGE_NAME": {"type": "STRING", "value": "pl"},
"BSHUF_TGZ_NAME": {"type": "STRING", "value": "bitshuffle.tar.gz"},
"BSHUF_PACKAGE_NAME": {"type": "STRING", "value": "bshuf"},
@@ -63,32 +70,49 @@
}
},
{
- "name": "ci-StdPlugins",
+ "name": "ci-PluginsVars",
"hidden": true,
- "inherits": ["ci-base-plugins", "ci-base-tgz"],
"cacheVariables": {
"HDF5_ENABLE_PLUGIN_SUPPORT": "ON",
"PLUGIN_TGZ_ORIGPATH": {"type": "STRING", "value": "https://github.com/HDFGroup/hdf5_plugins/archive/refs/tags"},
- "PLUGIN_TGZ_ORIGNAME": {"type": "STRING", "value": "hdf5_plugins-1.14.0.tar.gz"}
+ "PLUGIN_TGZ_ORIGNAME": {"type": "STRING", "value": "hdf5_plugins-master.tar.gz"}
}
},
- {
- "name": "ci-StdExamples",
+ {
+ "name": "ci-StdPlugins",
"hidden": true,
- "inherits": "ci-base",
+ "inherits": ["ci-base-plugins", "ci-PluginsVars", "ci-base-tgz"],
"cacheVariables": {
- "HDF5_PACK_EXAMPLES": "ON",
- "HDF5_EXAMPLES_COMPRESSED": {"type": "STRING", "value": "hdf5-examples-2.0.3.tar.gz"},
+ "H5PL_VERS_MAJOR": "1",
+ "H5PL_VERS_MINOR": "12",
+ "H5PL_VERS_RELEASE": "3"
+ }
+ },
+ {
+ "name": "ci-ExamplesVars",
+ "hidden": true,
+ "cacheVariables": {
+ "HDF5_EXAMPLES_COMPRESSED": {"type": "STRING", "value": "hdf5-examples-2.0.4.tar.gz"},
"HDF5_EXAMPLES_COMPRESSED_DIR": {"type": "STRING", "value": "${sourceParentDir}/temp"},
"EXAMPLES_TGZ_ORIGPATH": {"type": "STRING", "value": "https://github.com/HDFGroup/hdf5-examples/archive/refs/tags/"},
- "EXAMPLES_TGZ_ORIGNAME": {"type": "STRING", "value": "2.0.3.tar.gz"},
+ "EXAMPLES_TGZ_ORIGNAME": {"type": "STRING", "value": "2.0.4.tar.gz"}
+ }
+ },
+ {
+ "name": "ci-StdExamples",
+ "hidden": true,
+ "inherits": ["ci-base", "ci-ExamplesVars", "ci-base-tgz"],
+ "cacheVariables": {
+ "EXAMPLES_USE_RELEASE_NAME": "ON",
+ "EXAMPLES_USE_LOCALCONTENT": "OFF",
+ "HDF5_PACK_EXAMPLES": "ON",
"EXAMPLES_DOWNLOAD": "ON"
}
},
- {
+ {
"name": "ci-StdShar",
"hidden": true,
- "inherits": "ci-StdCompression",
+ "inherits": ["ci-StdCompression", "ci-StdExamples"],
"cacheVariables": {
"HDF_PACKAGE_NAMESPACE": {"type": "STRING", "value": "hdf5::"},
"HDF5_INSTALL_MOD_FORTRAN": "NO",
@@ -105,8 +129,7 @@
"ci-x64-Release-MSVC",
"ci-CPP",
"ci-Java",
- "ci-StdShar",
- "ci-StdExamples"
+ "ci-StdShar"
]
},
{
@@ -117,8 +140,7 @@
"ci-CPP",
"ci-Fortran",
"ci-Java",
- "ci-StdShar",
- "ci-StdExamples"
+ "ci-StdShar"
]
},
{
@@ -129,8 +151,7 @@
"ci-CPP",
"ci-Fortran",
"ci-Java",
- "ci-StdShar",
- "ci-StdExamples"
+ "ci-StdShar"
]
},
{
@@ -141,8 +162,7 @@
"ci-CPP",
"ci-Fortran",
"ci-Java",
- "ci-StdShar",
- "ci-StdExamples"
+ "ci-StdShar"
]
}
],