hdf5/HDF5Examples/CMakePresets.json
Allen Byrne 5e94301e71
Add THREADS check to configuration file (#4746)
* Cleanup threads package checks

* Check first if package was found

* Remove unnecessary dependent checks

* Remove Unused options and fix names of option prefix
2024-09-07 20:45:12 -05:00

239 lines
5.6 KiB
JSON

{
"version": 6,
"include": [
"config/cmake-presets/hidden-presets.json"
],
"configurePresets": [
{
"name": "ci-base-examples",
"hidden": true,
"cacheVariables": {
"CPACK_PACKAGE_VERSION": "2.0.4",
"HDF5_NAMESPACE": {"type": "STRING", "value": "hdf5::"},
"HDF5_PACKAGE_NAME": {"type": "STRING", "value": "hdf5"},
"H5EX_BUILD_TESTING": "ON"
}
},
{
"name": "ci-StdJava",
"hidden": true,
"cacheVariables": {
"H5EX_BUILD_JAVA": "ON"
}
},
{
"name": "ci-StdFortran",
"hidden": true,
"cacheVariables": {
"H5EX_BUILD_FORTRAN": "ON"
}
},
{
"name": "ci-StdPlugins",
"hidden": true,
"cacheVariables": {
"H5EX_BUILD_FILTERS": "ON"
}
},
{
"name": "ci-StdShar",
"hidden": true,
"inherits": ["ci-base", "ci-base-examples"],
"cacheVariables": {
"BUILD_SHARED_LIBS": "ON",
"USE_SHARED_LIBS": "ON"
}
},
{
"name": "ci-StdShar-MSVC",
"description": "MSVC Standard Config for x64 (Release)",
"inherits": [
"ci-x64-Release-MSVC",
"ci-StdJava",
"ci-StdFortran",
"ci-StdShar"
]
},
{
"name": "ci-StdShar-Clang",
"description": "Clang Standard Config for x64 (Release)",
"inherits": [
"ci-x64-Release-Clang",
"ci-StdJava",
"ci-StdFortran",
"ci-StdShar"
]
},
{
"name": "ci-StdShar-GNUC",
"description": "GNUC Standard Config for x64 (Release)",
"inherits": [
"ci-x64-Release-GNUC",
"ci-StdJava",
"ci-StdFortran",
"ci-StdShar"
]
},
{
"name": "ci-StdShar-Intel",
"description": "Intel Standard Config for x64 (Release)",
"inherits": [
"ci-x64-Release-Intel",
"ci-StdJava",
"ci-StdFortran",
"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": true,
"inherits": [
"ci-x64-Release-GNUC"
]
},
{
"name": "ci-StdShar-Intel",
"description": "Intel Standard Build for x64 (Release)",
"configurePreset": "ci-StdShar-Intel",
"verbose": true,
"inherits": [
"ci-x64-Release-Intel"
]
}
],
"testPresets": [
{
"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-MACOS-Clang",
"configurePreset": "ci-StdShar-Clang",
"inherits": [
"ci-x64-Release-Clang"
],
"execution": {
"noTestsAction": "error",
"timeout": 180,
"jobs": 2
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
}
},
{
"name": "ci-StdShar-GNUC",
"configurePreset": "ci-StdShar-GNUC",
"inherits": [
"ci-x64-Release-GNUC"
]
},
{
"name": "ci-StdShar-win-Intel",
"configurePreset": "ci-StdShar-Intel",
"inherits": [
"ci-x64-Release-Intel"
],
"filter": {
"exclude": {
"name": "H5DUMP-tfloatsattrs"
}
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "ci-StdShar-Intel",
"configurePreset": "ci-StdShar-Intel",
"inherits": [
"ci-x64-Release-Intel"
]
}
],
"workflowPresets": [
{
"name": "ci-StdShar-MSVC",
"steps": [
{"type": "configure", "name": "ci-StdShar-MSVC"},
{"type": "build", "name": "ci-StdShar-MSVC"},
{"type": "test", "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"}
]
},
{
"name": "ci-StdShar-MACOS-Clang",
"steps": [
{"type": "configure", "name": "ci-StdShar-Clang"},
{"type": "build", "name": "ci-StdShar-Clang"},
{"type": "test", "name": "ci-StdShar-MACOS-Clang"}
]
},
{
"name": "ci-StdShar-GNUC",
"steps": [
{"type": "configure", "name": "ci-StdShar-GNUC"},
{"type": "build", "name": "ci-StdShar-GNUC"},
{"type": "test", "name": "ci-StdShar-GNUC"}
]
},
{
"name": "ci-StdShar-Intel",
"steps": [
{"type": "configure", "name": "ci-StdShar-Intel"},
{"type": "build", "name": "ci-StdShar-Intel"},
{"type": "test", "name": "ci-StdShar-Intel"}
]
},
{
"name": "ci-StdShar-win-Intel",
"steps": [
{"type": "configure", "name": "ci-StdShar-Intel"},
{"type": "build", "name": "ci-StdShar-Intel"},
{"type": "test", "name": "ci-StdShar-win-Intel"}
]
}
]
}