Files
blis/build/cmake/presets/linux-make.json
Eleni Vlachopoulou e14da6f73d GTestSuite: Generic updates to CMake system and cmake presets.
- Updating gemm/cgemm_ukernel.cpp to cast integers so that gtestsuite works for ILP64.
- Updating BLIS cmake presets to be conditional on Windows and Linux.
- Updating GTestSuite cmake system to use environment variable to set BLIS_PATH and reference library.
- Add more cmake presets options in gtestsuite.
2024-03-19 18:14:49 +00:00

621 lines
22 KiB
JSON

{
"version": 6,
"include": [
"base.json"
],
"configurePresets": [
{
"name": "linux-make",
"inherits": "base",
"hidden": true,
"cacheVariables": {
"ENABLE_ADDON": "aocl_gemm"
},
"generator": "Unix Makefiles",
"condition": {
"type": "notEquals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "linux-make-st-lp64-amdzen-static",
"inherits": ["linux-make", "st", "lp64", "amdzen", "linux-static"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-linux-lp64-amdzen"
},
"hidden": false
},
{
"name": "linux-make-st-lp64-amdzen-shared",
"inherits": ["linux-make", "st", "lp64", "amdzen", "linux-shared"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-linux-lp64-amdzen"
},
"hidden": false
},
{
"name": "linux-make-mt-lp64-amdzen-static",
"inherits": ["linux-make", "mt", "lp64", "amdzen", "linux-static"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-linux-lp64-amdzen"
},
"hidden": false
},
{
"name": "linux-make-mt-lp64-amdzen-shared",
"inherits": ["linux-make", "mt", "lp64", "amdzen", "linux-shared"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-linux-lp64-amdzen"
},
"hidden": false
},
{
"name": "linux-make-st-ilp64-amdzen-static",
"inherits": ["linux-make", "st", "ilp64", "amdzen", "linux-static"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-linux-ilp64-amdzen"
},
"hidden": false
},
{
"name": "linux-make-st-ilp64-amdzen-shared",
"inherits": ["linux-make", "st", "ilp64", "amdzen", "linux-shared"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-linux-ilp64-amdzen"
},
"hidden": false
},
{
"name": "linux-make-mt-ilp64-amdzen-static",
"inherits": ["linux-make", "mt", "ilp64", "amdzen", "linux-static"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-linux-ilp64-amdzen"
},
"hidden": false
},
{
"name": "linux-make-mt-ilp64-amdzen-shared",
"inherits": ["linux-make", "mt", "ilp64", "amdzen", "linux-shared"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-linux-ilp64-amdzen"
},
"hidden": false
},
{
"name": "linux-make-st-lp64-auto-static",
"inherits": ["linux-make", "st", "lp64", "auto", "linux-static"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-linux-lp64-auto"
},
"hidden": false
},
{
"name": "linux-make-st-lp64-auto-shared",
"inherits": ["linux-make", "st", "lp64", "auto", "linux-shared"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-linux-lp64-auto"
},
"hidden": false
},
{
"name": "linux-make-mt-lp64-auto-static",
"inherits": ["linux-make", "mt", "lp64", "auto", "linux-static"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-linux-lp64-auto"
},
"hidden": false
},
{
"name": "linux-make-mt-lp64-auto-shared",
"inherits": ["linux-make", "mt", "lp64", "auto", "linux-shared"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-linux-lp64-auto"
},
"hidden": false
},
{
"name": "linux-make-st-ilp64-auto-static",
"inherits": ["linux-make", "st", "ilp64", "auto", "linux-static"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-linux-ilp64-auto"
},
"hidden": false
},
{
"name": "linux-make-st-ilp64-auto-shared",
"inherits": ["linux-make", "st", "ilp64", "auto", "linux-shared"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-linux-ilp64-auto"
},
"hidden": false
},
{
"name": "linux-make-mt-ilp64-auto-static",
"inherits": ["linux-make", "mt", "ilp64", "auto", "linux-static"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-linux-ilp64-auto"
},
"hidden": false
},
{
"name": "linux-make-mt-ilp64-auto-shared",
"inherits": ["linux-make", "mt", "ilp64", "auto", "linux-shared"],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install-linux-ilp64-auto"
},
"hidden": false
}
],
"buildPresets": [
{
"name": "linux-make-st-lp64-amdzen-static",
"configurePreset": "linux-make-st-lp64-amdzen-static",
"inherits": "base"
},
{
"name": "linux-make-st-lp64-amdzen-shared",
"configurePreset": "linux-make-st-lp64-amdzen-shared",
"inherits": "base"
},
{
"name": "linux-make-mt-lp64-amdzen-static",
"configurePreset": "linux-make-mt-lp64-amdzen-static",
"inherits": "base"
},
{
"name": "linux-make-mt-lp64-amdzen-shared",
"configurePreset": "linux-make-mt-lp64-amdzen-shared",
"inherits": "base"
},
{
"name": "linux-make-st-ilp64-amdzen-static",
"configurePreset": "linux-make-st-ilp64-amdzen-static",
"inherits": "base"
},
{
"name": "linux-make-st-ilp64-amdzen-shared",
"configurePreset": "linux-make-st-ilp64-amdzen-shared",
"inherits": "base"
},
{
"name": "linux-make-mt-ilp64-amdzen-static",
"configurePreset": "linux-make-mt-ilp64-amdzen-static",
"inherits": "base"
},
{
"name": "linux-make-mt-ilp64-amdzen-shared",
"configurePreset": "linux-make-mt-ilp64-amdzen-shared",
"inherits": "base"
},
{
"name": "linux-make-st-lp64-auto-static",
"configurePreset": "linux-make-st-lp64-auto-static",
"inherits": "base"
},
{
"name": "linux-make-st-lp64-auto-shared",
"configurePreset": "linux-make-st-lp64-auto-shared",
"inherits": "base"
},
{
"name": "linux-make-mt-lp64-auto-static",
"configurePreset": "linux-make-mt-lp64-auto-static",
"inherits": "base"
},
{
"name": "linux-make-mt-lp64-auto-shared",
"configurePreset": "linux-make-mt-lp64-auto-shared",
"inherits": "base"
},
{
"name": "linux-make-st-ilp64-auto-static",
"configurePreset": "linux-make-st-ilp64-auto-static",
"inherits": "base"
},
{
"name": "linux-make-st-ilp64-auto-shared",
"configurePreset": "linux-make-st-ilp64-auto-shared",
"inherits": "base"
},
{
"name": "linux-make-mt-ilp64-auto-static",
"configurePreset": "linux-make-mt-ilp64-auto-static",
"inherits": "base"
},
{
"name": "linux-make-mt-ilp64-auto-shared",
"configurePreset": "linux-make-mt-ilp64-auto-shared",
"inherits": "base"
},
{
"name": "linux-make-st-lp64-amdzen-static-check",
"description": "Check static single-threaded LP64 BLIS with amdzen option on Linux",
"configurePreset": "linux-make-st-lp64-amdzen-static",
"targets": ["check", "checkblis-salt", "checkblis-md"]
},
{
"name": "linux-make-st-lp64-amdzen-shared-check",
"description": "Check shared single-threaded LP64 BLIS with amdzen option on Linux",
"configurePreset": "linux-make-st-lp64-amdzen-shared",
"targets": ["check", "checkblis-salt", "checkblis-md"]
},
{
"name": "linux-make-mt-lp64-amdzen-static-check",
"description": "Check multithreaded static LP64 BLIS with amdzen option on Linux",
"configurePreset": "linux-make-mt-lp64-amdzen-static",
"targets": ["check", "checkblis-salt", "checkblis-md"]
},
{
"name": "linux-make-mt-lp64-amdzen-shared-check",
"description": "Check multithreaded shared LP64 BLIS with amdzen option on Linux",
"configurePreset": "linux-make-mt-lp64-amdzen-shared",
"targets": ["check", "checkblis-salt", "checkblis-md"]
},
{
"name": "linux-make-st-ilp64-amdzen-static-check",
"description": "Check single-threaded static ILP64 BLIS with amdzen option on Linux",
"configurePreset": "linux-make-st-ilp64-amdzen-static",
"targets": ["check", "checkblis-salt", "checkblis-md"]
},
{
"name": "linux-make-st-ilp64-amdzen-shared-check",
"description": "Check single-threaded shared ILP64 BLIS with amdzen option on Linux",
"configurePreset": "linux-make-st-ilp64-amdzen-shared",
"targets": ["check", "checkblis-salt", "checkblis-md"]
},
{
"name": "linux-make-mt-ilp64-amdzen-static-check",
"description": "Check multithreaded static ILP64 BLIS with amdzen option on Linux",
"configurePreset": "linux-make-mt-ilp64-amdzen-static",
"targets": ["check", "checkblis-salt", "checkblis-md"]
},
{
"name": "linux-make-mt-ilp64-amdzen-shared-check",
"description": "Check multithreaded shared ILP64 BLIS with amdzen option on Linux",
"configurePreset": "linux-make-mt-ilp64-amdzen-shared",
"targets": ["check", "checkblis-salt", "checkblis-md"]
},
{
"name": "linux-make-st-lp64-auto-static-check",
"description": "Check static single-threaded LP64 BLIS with auto option on Linux",
"configurePreset": "linux-make-st-lp64-auto-static",
"targets": ["check", "checkblis-salt", "checkblis-md"]
},
{
"name": "linux-make-st-lp64-auto-shared-check",
"description": "Check shared single-threaded LP64 BLIS with auto option on Linux",
"configurePreset": "linux-make-st-lp64-auto-shared",
"targets": ["check", "checkblis-salt", "checkblis-md"]
},
{
"name": "linux-make-mt-lp64-auto-static-check",
"description": "Check multithreaded static LP64 BLIS with auto option on Linux",
"configurePreset": "linux-make-mt-lp64-auto-static",
"targets": ["check", "checkblis-salt", "checkblis-md"]
},
{
"name": "linux-make-mt-lp64-auto-shared-check",
"description": "Check multithreaded shared LP64 BLIS with auto option on Linux",
"configurePreset": "linux-make-mt-lp64-auto-shared",
"targets": ["check", "checkblis-salt", "checkblis-md"]
},
{
"name": "linux-make-st-ilp64-auto-static-check",
"description": "Check single-threaded static ILP64 BLIS with auto option on Linux",
"configurePreset": "linux-make-st-ilp64-auto-static",
"targets": ["check", "checkblis-salt", "checkblis-md"]
},
{
"name": "linux-make-st-ilp64-auto-shared-check",
"description": "Check single-threaded shared ILP64 BLIS with auto option on Linux",
"configurePreset": "linux-make-st-ilp64-auto-shared",
"targets": ["check", "checkblis-salt", "checkblis-md"]
},
{
"name": "linux-make-mt-ilp64-auto-static-check",
"description": "Check multithreaded static ILP64 BLIS with auto option on Linux",
"configurePreset": "linux-make-mt-ilp64-auto-static",
"targets": ["check", "checkblis-salt", "checkblis-md"]
},
{
"name": "linux-make-mt-ilp64-auto-shared-check",
"description": "Check multithreaded shared ILP64 BLIS with auto option on Linux",
"configurePreset": "linux-make-mt-ilp64-auto-shared",
"targets": ["check", "checkblis-salt", "checkblis-md"]
}
],
"workflowPresets": [
{
"name": "linux-make-st-lp64-amdzen-static",
"description": "Build and check single-threaded static BLIS for amdzen configuration on Linux",
"steps": [
{
"type": "configure",
"name": "linux-make-st-lp64-amdzen-static"
},
{
"type": "build",
"name": "linux-make-st-lp64-amdzen-static"
},
{
"type": "build",
"name": "linux-make-st-lp64-amdzen-static-check"
}
]
},
{
"name": "linux-make-st-lp64-amdzen-shared",
"description": "Build and check single-threaded shared BLIS for amdzen configuration on Linux",
"steps": [
{
"type": "configure",
"name": "linux-make-st-lp64-amdzen-shared"
},
{
"type": "build",
"name": "linux-make-st-lp64-amdzen-shared"
},
{
"type": "build",
"name": "linux-make-st-lp64-amdzen-shared-check"
}
]
},
{
"name": "linux-make-mt-lp64-amdzen-static",
"description": "Build and check multithreaded static BLIS for amdzen configuration on Linux",
"steps": [
{
"type": "configure",
"name": "linux-make-mt-lp64-amdzen-static"
},
{
"type": "build",
"name": "linux-make-mt-lp64-amdzen-static"
},
{
"type": "build",
"name": "linux-make-mt-lp64-amdzen-static-check"
}
]
},
{
"name": "linux-make-mt-lp64-amdzen-shared",
"description": "Build and check multithreaded shared BLIS for amdzen configuration on Linux",
"steps": [
{
"type": "configure",
"name": "linux-make-mt-lp64-amdzen-shared"
},
{
"type": "build",
"name": "linux-make-mt-lp64-amdzen-shared"
},
{
"type": "build",
"name": "linux-make-mt-lp64-amdzen-shared-check"
}
]
},
{
"name": "linux-make-st-ilp64-amdzen-static",
"description": "Build and check single-threaded static BLIS for amdzen configuration on Linux",
"steps": [
{
"type": "configure",
"name": "linux-make-st-ilp64-amdzen-static"
},
{
"type": "build",
"name": "linux-make-st-ilp64-amdzen-static"
},
{
"type": "build",
"name": "linux-make-st-ilp64-amdzen-static-check"
}
]
},
{
"name": "linux-make-st-ilp64-amdzen-shared",
"description": "Build and check single-threaded shared BLIS for amdzen configuration on Linux",
"steps": [
{
"type": "configure",
"name": "linux-make-st-ilp64-amdzen-shared"
},
{
"type": "build",
"name": "linux-make-st-ilp64-amdzen-shared"
},
{
"type": "build",
"name": "linux-make-st-ilp64-amdzen-shared-check"
}
]
},
{
"name": "linux-make-mt-ilp64-amdzen-static",
"description": "Build and check multithreaded static BLIS for amdzen configuration on Linux",
"steps": [
{
"type": "configure",
"name": "linux-make-mt-ilp64-amdzen-static"
},
{
"type": "build",
"name": "linux-make-mt-ilp64-amdzen-static"
},
{
"type": "build",
"name": "linux-make-mt-ilp64-amdzen-static-check"
}
]
},
{
"name": "linux-make-mt-ilp64-amdzen-shared",
"description": "Build and check multithreaded shared BLIS for amdzen configuration on Linux",
"steps": [
{
"type": "configure",
"name": "linux-make-mt-ilp64-amdzen-shared"
},
{
"type": "build",
"name": "linux-make-mt-ilp64-amdzen-shared"
},
{
"type": "build",
"name": "linux-make-mt-ilp64-amdzen-shared-check"
}
]
},
{
"name": "linux-make-st-lp64-auto-static",
"description": "Build and check single-threaded static BLIS for auto configuration on Linux",
"steps": [
{
"type": "configure",
"name": "linux-make-st-lp64-auto-static"
},
{
"type": "build",
"name": "linux-make-st-lp64-auto-static"
},
{
"type": "build",
"name": "linux-make-st-lp64-auto-static-check"
}
]
},
{
"name": "linux-make-st-lp64-auto-shared",
"description": "Build and check single-threaded shared BLIS for auto configuration on Linux",
"steps": [
{
"type": "configure",
"name": "linux-make-st-lp64-auto-shared"
},
{
"type": "build",
"name": "linux-make-st-lp64-auto-shared"
},
{
"type": "build",
"name": "linux-make-st-lp64-auto-shared-check"
}
]
},
{
"name": "linux-make-mt-lp64-auto-static",
"description": "Build and check multithreaded static BLIS for auto configuration on Linux",
"steps": [
{
"type": "configure",
"name": "linux-make-mt-lp64-auto-static"
},
{
"type": "build",
"name": "linux-make-mt-lp64-auto-static"
},
{
"type": "build",
"name": "linux-make-mt-lp64-auto-static-check"
}
]
},
{
"name": "linux-make-mt-lp64-auto-shared",
"description": "Build and check multithreaded shared BLIS for auto configuration on Linux",
"steps": [
{
"type": "configure",
"name": "linux-make-mt-lp64-auto-shared"
},
{
"type": "build",
"name": "linux-make-mt-lp64-auto-shared"
},
{
"type": "build",
"name": "linux-make-mt-lp64-auto-shared-check"
}
]
},
{
"name": "linux-make-st-ilp64-auto-static",
"description": "Build and check single-threaded static BLIS for auto configuration on Linux",
"steps": [
{
"type": "configure",
"name": "linux-make-st-ilp64-auto-static"
},
{
"type": "build",
"name": "linux-make-st-ilp64-auto-static"
},
{
"type": "build",
"name": "linux-make-st-ilp64-auto-static-check"
}
]
},
{
"name": "linux-make-st-ilp64-auto-shared",
"description": "Build and check single-threaded shared BLIS for auto configuration on Linux",
"steps": [
{
"type": "configure",
"name": "linux-make-st-ilp64-auto-shared"
},
{
"type": "build",
"name": "linux-make-st-ilp64-auto-shared"
},
{
"type": "build",
"name": "linux-make-st-ilp64-auto-shared-check"
}
]
},
{
"name": "linux-make-mt-ilp64-auto-static",
"description": "Build and check multithreaded static BLIS for auto configuration on Linux",
"steps": [
{
"type": "configure",
"name": "linux-make-mt-ilp64-auto-static"
},
{
"type": "build",
"name": "linux-make-mt-ilp64-auto-static"
},
{
"type": "build",
"name": "linux-make-mt-ilp64-auto-static-check"
}
]
},
{
"name": "linux-make-mt-ilp64-auto-shared",
"description": "Build and check multithreaded shared BLIS for auto configuration on Linux",
"steps": [
{
"type": "configure",
"name": "linux-make-mt-ilp64-auto-shared"
},
{
"type": "build",
"name": "linux-make-mt-ilp64-auto-shared"
},
{
"type": "build",
"name": "linux-make-mt-ilp64-auto-shared-check"
}
]
}
]
}