summaryrefslogtreecommitdiffstats
path: root/CMakePresets.json
blob: 03bad0adc767b8bfbffe83fda54c5a3091e81938 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
{
  "version": 6,
  "include": [
    "config/cmake-presets/hidden-presets.json"
  ],
  "configurePresets": [
    {
      "name": "ci-base-tgz",
      "hidden": true,
      "inherits": "ci-base",
      "cacheVariables": {
        "HDF5_ALLOW_EXTERNAL_SUPPORT": "NO",
        "TGZPATH": {"type": "STRING", "value": "${sourceParentDir}/temp"}
      }
    },
    {
      "name": "ci-CompressionVars",
      "hidden": true,
      "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"},
        "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"}
      }
    },
    {
      "name": "ci-StdCompression",
      "hidden": true,
      "inherits": ["ci-base-tgz", "ci-CompressionVars"],
      "cacheVariables": {
        "HDF5_PACKAGE_EXTLIBS": "ON",
        "ZLIB_USE_LOCALCONTENT": "OFF",
        "LIBAEC_USE_LOCALCONTENT": "OFF"
      }
    },
    {
      "name": "ci-base-plugins",
      "hidden": true,
      "cacheVariables": {
        "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"},
        "BLOSC_TGZ_NAME": {"type": "STRING", "value": "c-blosc.tar.gz"},
        "BLOSC_PACKAGE_NAME": {"type": "STRING", "value": "blosc"},
        "BLOSC_ZLIB_TGZ_NAME": {"type": "STRING", "value": "ZLib.tar.gz"},
        "BLOSC_ZLIB_PACKAGE_NAME": {"type": "STRING", "value": "zlib"},
        "BZ2_TGZ_NAME": {"type": "STRING", "value": "BZ2.tar.gz"},
        "BZ2_PACKAGE_NAME": {"type": "STRING", "value": "bz2"},
        "FPZIP_TGZ_NAME": {"type": "STRING", "value": "fpzip.tar.gz"},
        "FPZIP_PACKAGE_NAME": {"type": "STRING", "value": "fpzip"},
        "JPEG_TGZ_NAME": {"type": "STRING", "value": "JPEG.tar.gz"},
        "JPEG_PACKAGE_NAME": {"type": "STRING", "value": "jpeg"},
        "BUILD_LZ4_LIBRARY_SOURCE": "ON",
        "LZ4_TGZ_NAME": {"type": "STRING", "value": "lz4.tar.gz"},
        "LZ4_PACKAGE_NAME": {"type": "STRING", "value": "lz4"},
        "LZF_TGZ_NAME": {"type": "STRING", "value": "lzf.tar.gz"},
        "LZF_PACKAGE_NAME": {"type": "STRING", "value": "lzf"},
        "SZ_TGZ_NAME": {"type": "STRING", "value": "szf.tar.gz"},
        "SZ_PACKAGE_NAME": {"type": "STRING", "value": "SZ"},
        "ZFP_TGZ_NAME": {"type": "STRING", "value": "zfp.tar.gz"},
        "ZFP_PACKAGE_NAME": {"type": "STRING", "value": "zfp"},
        "ZSTD_TGZ_NAME": {"type": "STRING", "value": "zstd.tar.gz"},
        "ZSTD_PACKAGE_NAME": {"type": "STRING", "value": "zstd"}
      }
    },
    {
      "name": "ci-PluginsVars",
      "hidden": true,
      "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-master.tar.gz"}
      }
    },
    {
      "name": "ci-StdPlugins",
      "hidden": true,
      "inherits": ["ci-base-plugins", "ci-PluginsVars", "ci-base-tgz"]
    },
    {
      "name": "ci-ExamplesVars",
      "hidden": true,
      "cacheVariables": {
        "HDF5_EXAMPLES_COMPRESSED": {"type": "STRING", "value": "hdf5-examples-2.0.3.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"}
      }
    },
    {
      "name": "ci-StdExamples",
      "hidden": true,
      "inherits": ["ci-base", "ci-ExamplesVars", "ci-base-tgz"],
      "cacheVariables": {
        "EXAMPLES_USE_LOCALCONTENT": "OFF",
        "HDF5_PACK_EXAMPLES": "ON",
        "EXAMPLES_DOWNLOAD": "ON"
      }
    },
    {
      "name": "ci-StdShar",
      "hidden": true,
      "inherits": ["ci-StdCompression", "ci-StdExamples"],
      "cacheVariables": {
        "HDF_PACKAGE_NAMESPACE": {"type": "STRING", "value": "hdf5::"},
        "HDF5_INSTALL_MOD_FORTRAN": "NO",
        "HDF5_BUILD_GENERATORS": "ON",
        "HDF5_ENABLE_ALL_WARNINGS": "ON",
        "HDF5_MINGW_STATIC_GCC_LIBS": "ON",
        "HDF_TEST_EXPRESS": "2"
      }
    },
    {
      "name": "ci-StdShar-MSVC",
      "description": "MSVC Standard Config for x64 (Release)",
      "inherits": [
        "ci-x64-Release-MSVC",
        "ci-CPP",
        "ci-Java",
        "ci-StdShar"
      ]
    },
    {
      "name": "ci-StdShar-MSVC-Fortran",
      "description": "MSVC Standard Config for x64 (Release)",
      "inherits": [
        "ci-x64-Release-MSVC",
        "ci-CPP",
        "ci-Fortran",
        "ci-Java",
        "ci-StdShar"
      ]
    },
    {
      "name": "ci-StdShar-Clang",
      "description": "Clang Standard Config for x64 (Release)",
      "inherits": [
        "ci-x64-Release-Clang",
        "ci-CPP",
        "ci-Fortran",
        "ci-Java",
        "ci-StdShar"
      ]
    },
    {
      "name": "ci-StdShar-GNUC",
      "description": "GNUC Standard Config for x64 (Release)",
      "inherits": [
        "ci-x64-Release-GNUC",
        "ci-CPP",
        "ci-Fortran",
        "ci-Java",
        "ci-StdShar"
      ]
    }
  ],
  "buildPresets": [
    {
      "name": "ci-StdShar-MSVC",
      "description": "MSVC Standard Build for x64 (Release)",
      "configurePreset": "ci-StdShar-MSVC",
      "inherits": [
        "ci-x64-Release-MSVC"
      ]
    },
    {
      "name": "ci-StdShar-Clang",
      "description": "Clang Standard Build for x64 (Release)",
      "configurePreset": "ci-StdShar-Clang",
      "inherits": [
        "ci-x64-Release-Clang"
      ]
    },
    {
      "name": "ci-StdShar-GNUC",
      "description": "GNUC Standard Build for x64 (Release)",
      "configurePreset": "ci-StdShar-GNUC",
      "verbose": false,
      "inherits": [
        "ci-x64-Release-GNUC"
      ]
    }
  ],
  "testPresets": [
    {
      "name": "ci-StdShar-MSVC",
      "configurePreset": "ci-StdShar-MSVC",
      "inherits": [
        "ci-x64-Release-MSVC"
      ],
      "filter": {
        "exclude": {
          "name": "H5DUMP-tfloatsattrs"
        }
      }
    },
    {
      "name": "ci-StdShar-Clang",
      "configurePreset": "ci-StdShar-Clang",
      "inherits": [
        "ci-x64-Release-Clang"
      ]
    },
    {
      "name": "ci-StdShar-GNUC",
      "configurePreset": "ci-StdShar-GNUC",
      "inherits": [
        "ci-x64-Release-GNUC"
      ]
    }
  ],
  "packagePresets": [
    {
      "name": "ci-StdShar-MSVC",
      "configurePreset": "ci-StdShar-MSVC",
      "inherits": "ci-x64-Release-MSVC"
    },
    {
      "name": "ci-StdShar-Clang",
      "configurePreset": "ci-StdShar-Clang",
      "inherits": "ci-x64-Release-Clang"
    },
    {
      "name": "ci-StdShar-GNUC",
      "configurePreset": "ci-StdShar-GNUC",
      "inherits": "ci-x64-Release-GNUC"
    }
  ],
  "workflowPresets": [
    {
      "name": "ci-StdShar-MSVC",
      "steps": [
        {"type": "configure", "name": "ci-StdShar-MSVC"},
        {"type": "build", "name": "ci-StdShar-MSVC"},
        {"type": "test", "name": "ci-StdShar-MSVC"},
        {"type": "package", "name": "ci-StdShar-MSVC"}
      ]
    },
    {
      "name": "ci-StdShar-Clang",
      "steps": [
        {"type": "configure", "name": "ci-StdShar-Clang"},
        {"type": "build", "name": "ci-StdShar-Clang"},
        {"type": "test", "name": "ci-StdShar-Clang"},
        {"type": "package", "name": "ci-StdShar-Clang"}
      ]
    },
    {
      "name": "ci-StdShar-GNUC",
      "steps": [
        {"type": "configure", "name": "ci-StdShar-GNUC"},
        {"type": "build", "name": "ci-StdShar-GNUC"},
        {"type": "test", "name": "ci-StdShar-GNUC"},
        {"type": "package", "name": "ci-StdShar-GNUC"}
      ]
    }
  ]
}