Files
ThreadX4TGFS/test/smp/CMakePresets.json
T
alex ce002998c4 Used the pinned ThreadX submodule for SMP regression
Pin the tested Minres SMP port and document the same default workflow for both suites. Put the hard-float test filter in the CTest presets and use an absolute JUnit path in Jenkins.
2026-11-27 12:06:02 +01:00

104 lines
3.3 KiB
JSON

{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 24,
"patch": 0
},
"configurePresets": [
{
"name": "Debug",
"binaryDir": "${sourceDir}/../../build/${presetName}/test/smp",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../../cmake/rv64imac_gnu.cmake",
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "Debug32",
"binaryDir": "${sourceDir}/../../build/${presetName}/test/smp",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../../cmake/rv32imac_gnu.cmake",
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "Release",
"binaryDir": "${sourceDir}/../../build/${presetName}/test/smp",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../../cmake/rv64imac_gnu.cmake",
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "Release32",
"binaryDir": "${sourceDir}/../../build/${presetName}/test/smp",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../../cmake/rv32imac_gnu.cmake",
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "MinSizeRel",
"binaryDir": "${sourceDir}/../../build/${presetName}/test/smp",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../../cmake/rv64imac_gnu.cmake",
"CMAKE_BUILD_TYPE": "MinSizeRel",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "MinSizeRel32",
"binaryDir": "${sourceDir}/../../build/${presetName}/test/smp",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../../cmake/rv32imac_gnu.cmake",
"CMAKE_BUILD_TYPE": "MinSizeRel",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "Context32",
"inherits": "Debug32",
"binaryDir": "${sourceDir}/../../build/${presetName}/test/smp",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../../cmake/rv32gc_gnu.cmake"
}
},
{
"name": "Context64",
"inherits": "Debug",
"binaryDir": "${sourceDir}/../../build/${presetName}/test/smp",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../../cmake/rv64gc_gnu.cmake"
}
}
],
"buildPresets": [
{ "name": "Debug", "configurePreset": "Debug" },
{ "name": "Debug32", "configurePreset": "Debug32" },
{ "name": "Release", "configurePreset": "Release" },
{ "name": "Release32", "configurePreset": "Release32" },
{ "name": "MinSizeRel", "configurePreset": "MinSizeRel" },
{ "name": "MinSizeRel32", "configurePreset": "MinSizeRel32" },
{ "name": "Context32", "configurePreset": "Context32", "targets": ["vp_smp_context"] },
{ "name": "Context64", "configurePreset": "Context64", "targets": ["vp_smp_context"] }
],
"testPresets": [
{
"name": "Context32",
"configurePreset": "Context32",
"filter": { "include": { "name": "^vp_smp_context$" } },
"output": { "outputOnFailure": true }
},
{
"name": "Context64",
"inherits": "Context32",
"configurePreset": "Context64"
}
]
}