https://github.com/halide/Halide
Tip revision: 6b9ed2afd1d6d0badf04986602c943e287d44e46 authored by Steven Johnson on 30 March 2022, 22:30:42 UTC
Remove the nobuild/partialbuildmethod tests from python_bindings/ (#6668)
Remove the nobuild/partialbuildmethod tests from python_bindings/ (#6668)
Tip revision: 6b9ed2a
CMakePresets.json
{
"version": 1,
"cmakeMinimumRequired": {
"major": 3,
"minor": 16,
"patch": 0
},
"configurePresets": [
{
"name": "gcc-debug",
"displayName": "GCC (Debug)",
"description": "Debug build using Ninja generator and GCC-compatible compiler",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "gcc-release",
"inherits": "gcc-debug",
"displayName": "GCC (Release)",
"description": "Release build using Ninja generator and GCC-compatible compiler",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "msvc-debug",
"displayName": "MSVC (Debug)",
"description": "Debug build using Ninja generator and MSVC with vcpkg dependencies.",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
}
},
{
"name": "msvc-release",
"inherits": "msvc-debug",
"displayName": "MSVC (Release)",
"description": "Release build using Ninja generator and MSVC with vcpkg dependencies.",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "win32",
"displayName": "Win32 (Visual Studio)",
"description": "Visual Studio-based Win32 build with vcpkg dependencies.",
"generator": "Visual Studio 16 2019",
"architecture": "Win32",
"toolset": "host=x64",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
}
},
{
"name": "win64",
"displayName": "Win64 (Visual Studio)",
"description": "Visual Studio-based Win64 build with vcpkg dependencies.",
"generator": "Visual Studio 16 2019",
"architecture": "x64",
"toolset": "host=x64",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
}
},
{
"name": "package",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"LLVM_DIR": "$env{LLVM_DIR}",
"Clang_DIR": "$env{Clang_DIR}",
"LLD_DIR": "$env{LLD_DIR}",
"WITH_TESTS": "NO",
"WITH_TUTORIALS": "NO",
"WITH_DOCS": "YES",
"WITH_UTILS": "NO",
"WITH_PYTHON_BINDINGS": "NO",
"CMAKE_INSTALL_DATADIR": "share/Halide"
}
},
{
"name": "package-windows",
"inherits": "package",
"displayName": "Package ZIP for Windows",
"description": "Build for packaging Windows shared libraries.",
"binaryDir": "${sourceDir}/build",
"generator": "Visual Studio 16 2019",
"toolset": "host=x64",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"BUILD_SHARED_LIBS": "YES",
"CMAKE_INSTALL_BINDIR": "bin/$<CONFIG>",
"CMAKE_INSTALL_LIBDIR": "lib/$<CONFIG>",
"Halide_INSTALL_CMAKEDIR": "lib/cmake/Halide",
"Halide_INSTALL_HELPERSDIR": "lib/cmake/HalideHelpers"
}
},
{
"name": "package-unix",
"hidden": true,
"inherits": "package",
"generator": "Ninja"
},
{
"name": "package-unix-shared",
"inherits": "package-unix",
"displayName": "Package UNIX shared libs",
"description": "Build for packaging UNIX shared libraries.",
"binaryDir": "shared-Release",
"cacheVariables": {
"BUILD_SHARED_LIBS": "YES"
}
},
{
"name": "package-unix-static",
"inherits": "package-unix",
"displayName": "Package UNIX static libs",
"description": "Build for packaging UNIX static libraries.",
"binaryDir": "static-Release",
"cacheVariables": {
"BUILD_SHARED_LIBS": "NO",
"Halide_BUNDLE_LLVM": "YES"
}
},
{
"name": "package-ubuntu-shared",
"inherits": "package-unix-shared",
"displayName": "Package shared Halide for Ubuntu",
"description": "Package shared Halide for Ubuntu, using system packages.",
"binaryDir": "shared-release",
"cacheVariables": {
"Halide_SHARED_LLVM": "YES",
"LLVM_DIR": "$env{LLVM_ROOT}/lib/cmake/llvm",
"Clang_DIR": "$env{LLVM_ROOT}/lib/cmake/clang",
"LLD_DIR": "$env{LLVM_ROOT}/lib/cmake/lld",
"CMAKE_INSTALL_INCLUDEDIR": "include/Halide",
"CMAKE_INSTALL_LIBDIR": "lib/x86_64-linux-gnu",
"Halide_INSTALL_PLUGINDIR": "lib/x86_64-linux-gnu/Halide",
"Halide_INSTALL_HELPERSDIR": "lib/cmake/HalideHelpers",
"CMAKE_STRIP": "${sourceDir}/packaging/ubuntu/extra-strip.sh"
}
},
{
"name": "package-ubuntu-static",
"inherits": "package-ubuntu-shared",
"displayName": "Package static Halide for Ubuntu",
"description": "Package static Halide for Ubuntu, using system packages.",
"binaryDir": "static-release",
"cacheVariables": {
"BUILD_SHARED_LIBS": "NO",
"WITH_DOCS": "NO"
}
}
]
}