| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0fe3332 commit c5cd3fd
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,219 @@ | |||
| 1 | + { | ||
| 2 | + "version": 2, | ||
| 3 | + "cmakeMinimumRequired": { | ||
| 4 | + "major": 3, | ||
| 5 | + "minor": 20, | ||
| 6 | + "patch": 0 | ||
| 7 | + }, | ||
| 8 | + "configurePresets": [ | ||
| 9 | + { | ||
| 10 | + "name": "ninja-all-off-debug", | ||
| 11 | + "hidden": true, | ||
| 12 | + "description": "Base preset with all backends off with Debug build configuration", | ||
| 13 | + "binaryDir": "${sourceDir}/build/${presetName}", | ||
| 14 | + "generator": "Ninja", | ||
| 15 | + "cacheVariables": { | ||
| 16 | + "CMAKE_BUILD_TYPE": { | ||
| 17 | + "type": "String", | ||
| 18 | + "value": "Debug" | ||
| 19 | + }, | ||
| 20 | + "AF_BUILD_CPU": { | ||
| 21 | + "type": "BOOL", | ||
| 22 | + "value": "OFF" | ||
| 23 | + }, | ||
| 24 | + "AF_BUILD_CUDA": { | ||
| 25 | + "type": "BOOL", | ||
| 26 | + "value": "OFF" | ||
| 27 | + }, | ||
| 28 | + "AF_BUILD_OPENCL": { | ||
| 29 | + "type": "BOOL", | ||
| 30 | + "value": "OFF" | ||
| 31 | + }, | ||
| 32 | + "AF_BUILD_UNIFIED": { | ||
| 33 | + "type": "BOOL", | ||
| 34 | + "value": "OFF" | ||
| 35 | + }, | ||
| 36 | + "AF_BUILD_FORGE": { | ||
| 37 | + "type": "BOOL", | ||
| 38 | + "value": "ON" | ||
| 39 | + }, | ||
| 40 | + "AF_BUILD_DOCS": { | ||
| 41 | + "type": "BOOL", | ||
| 42 | + "value": "OFF" | ||
| 43 | + }, | ||
| 44 | + "AF_BUILD_EXAMPLES": { | ||
| 45 | + "type": "BOOL", | ||
| 46 | + "value": "OFF" | ||
| 47 | + }, | ||
| 48 | + "AF_TEST_WITH_MTX_FILES": { | ||
| 49 | + "type": "BOOL", | ||
| 50 | + "value": "OFF" | ||
| 51 | + }, | ||
| 52 | + "CMAKE_INSTALL_PREFIX": { | ||
| 53 | + "type": "PATH", | ||
| 54 | + "value": "${sourceDir}/build/${presetName}/pkg" | ||
| 55 | + } | ||
| 56 | + } | ||
| 57 | + }, | ||
| 58 | + { | ||
| 59 | + "name": "ninja-cpu-debug", | ||
| 60 | + "description": "Build CPU Backend with FFTW and a BLAS library using Ninja Generator in Debug Configuration", | ||
| 61 | + "inherits": "ninja-all-off-debug", | ||
| 62 | + "cacheVariables": { | ||
| 63 | + "AF_BUILD_CPU": "ON" | ||
| 64 | + } | ||
| 65 | + }, | ||
| 66 | + { | ||
| 67 | + "name": "ninja-cpu-relwithdebinfo", | ||
| 68 | + "description": "Build CPU Backend with FFTW and a BLAS library using Ninja Generator in RelWithDebInfo Configuration", | ||
| 69 | + "inherits": "ninja-cpu-debug", | ||
| 70 | + "cacheVariables": { | ||
| 71 | + "CMAKE_BUILD_TYPE": "RelWithDebInfo" | ||
| 72 | + } | ||
| 73 | + }, | ||
| 74 | + { | ||
| 75 | + "name": "ninja-cpu-mkl-debug", | ||
| 76 | + "description": "Build CPU Backend using Intel MKL in Debug Configuration with Ninja Generator", | ||
| 77 | + "inherits": "ninja-cpu-debug", | ||
| 78 | + "cacheVariables": { | ||
| 79 | + "USE_CPU_MKL": "ON" | ||
| 80 | + } | ||
| 81 | + }, | ||
| 82 | + { | ||
| 83 | + "name": "ninja-cpu-mkl-relwithdebinfo", | ||
| 84 | + "description": "Build CPU Backend using Intel MKL in RelWithDebInfo Configuration with Ninja Generator", | ||
| 85 | + "inherits": "ninja-cpu-mkl-debug", | ||
| 86 | + "cacheVariables": { | ||
| 87 | + "CMAKE_BUILD_TYPE": "RelWithDebInfo" | ||
| 88 | + } | ||
| 89 | + }, | ||
| 90 | + { | ||
| 91 | + "name": "ninja-cuda-debug", | ||
| 92 | + "description": "Build CUDA Backend in debug configuration using Ninja Generator", | ||
| 93 | + "inherits": "ninja-all-off-debug", | ||
| 94 | + "cacheVariables": { | ||
| 95 | + "AF_BUILD_CUDA": "ON" | ||
| 96 | + } | ||
| 97 | + }, | ||
| 98 | + { | ||
| 99 | + "name": "ninja-cuda-relwithdebinfo", | ||
| 100 | + "description": "Build CUDA Backend in RelWithDebInfo configuration using Ninja Generator", | ||
| 101 | + "inherits": "ninja-cuda-debug", | ||
| 102 | + "cacheVariables": { | ||
| 103 | + "CMAKE_BUILD_TYPE": "RelWithDebInfo" | ||
| 104 | + } | ||
| 105 | + }, | ||
| 106 | + { | ||
| 107 | + "name": "ninja-opencl-debug", | ||
| 108 | + "description": "Build OpenCL Backend in debug configuration using Ninja Generator", | ||
| 109 | + "inherits": "ninja-all-off-debug", | ||
| 110 | + "cacheVariables": { | ||
| 111 | + "AF_BUILD_OPENCL": "ON" | ||
| 112 | + } | ||
| 113 | + }, | ||
| 114 | + { | ||
| 115 | + "name": "ninja-opencl-mkl-debug", | ||
| 116 | + "description": "Build OpenCL Backend in debug configuration using Ninja Generator", | ||
| 117 | + "inherits": "ninja-opencl-debug", | ||
| 118 | + "cacheVariables": { | ||
| 119 | + "USE_OPENCL_MKL": "ON" | ||
| 120 | + } | ||
| 121 | + }, | ||
| 122 | + { | ||
| 123 | + "name": "ninja-opencl-relwithdebinfo", | ||
| 124 | + "description": "Build OpenCL Backend in RelWithDebInfo configuration using Ninja Generator", | ||
| 125 | + "inherits": "ninja-opencl-debug", | ||
| 126 | + "cacheVariables": { | ||
| 127 | + "CMAKE_BUILD_TYPE": "RelWithDebInfo" | ||
| 128 | + } | ||
| 129 | + }, | ||
| 130 | + { | ||
| 131 | + "name": "ninja-opencl-mkl-relwithdebinfo", | ||
| 132 | + "description": "Build OpenCL Backend in RelWithDebInfo configuration using Ninja Generator. This preset uses Intel MKL for CPU fallback code.", | ||
| 133 | + "inherits": "ninja-opencl-mkl-debug", | ||
| 134 | + "cacheVariables": { | ||
| 135 | + "CMAKE_BUILD_TYPE": "RelWithDebInfo" | ||
| 136 | + } | ||
| 137 | + }, | ||
| 138 | + { | ||
| 139 | + "name": "ninja-all-debug", | ||
| 140 | + "description": "Build all feasible backends using Ninja Generator in Debug Configuraiton", | ||
| 141 | + "inherits": "ninja-all-off-debug", | ||
| 142 | + "cacheVariables": { | ||
| 143 | + "AF_BUILD_CPU": "ON", | ||
| 144 | + "AF_BUILD_CUDA": "ON", | ||
| 145 | + "AF_BUILD_OPENCL": "ON", | ||
| 146 | + "AF_BUILD_UNIFIED": "ON" | ||
| 147 | + } | ||
| 148 | + }, | ||
| 149 | + { | ||
| 150 | + "name": "ninja-all-mkl-debug", | ||
| 151 | + "description": "Build all feasible backends using Ninja Generator in Debug Configuraiton", | ||
| 152 | + "inherits": "ninja-all-debug", | ||
| 153 | + "cacheVariables": { | ||
| 154 | + "USE_CPU_MKL": "ON", | ||
| 155 | + "USE_OPENCL_MKL": "ON" | ||
| 156 | + } | ||
| 157 | + }, | ||
| 158 | + { | ||
| 159 | + "name": "ninja-all-relwithdebinfo", | ||
| 160 | + "description": "Build all feasible backends using Ninja Generator in RelWithDebInfo Configuraiton", | ||
| 161 | + "inherits": "ninja-all-debug", | ||
| 162 | + "cacheVariables": { | ||
| 163 | + "CMAKE_BUILD_TYPE": "RelWithDebInfo" | ||
| 164 | + } | ||
| 165 | + }, | ||
| 166 | + { | ||
| 167 | + "name": "ninja-all-mkl-relwithdebinfo", | ||
| 168 | + "description": "Build all feasible backends using Ninja Generator in RelWithDebInfo Configuraiton", | ||
| 169 | + "inherits": "ninja-all-mkl-debug", | ||
| 170 | + "cacheVariables": { | ||
| 171 | + "CMAKE_BUILD_TYPE": "RelWithDebInfo" | ||
| 172 | + } | ||
| 173 | + }, | ||
| 174 | + { | ||
| 175 | + "name": "ninja-all-mkl-local-install", | ||
| 176 | + "description": "Build all feasible backends using Ninja Generator in RelWithDebInfo Configuraiton", | ||
| 177 | + "inherits": "ninja-all-mkl-relwithdebinfo", | ||
| 178 | + "cacheVariables": { | ||
| 179 | + "BUILD_TESTING": "OFF" | ||
| 180 | + } | ||
| 181 | + }, | ||
| 182 | + { | ||
| 183 | + "name": "ninja-all-mkl-standalone-install", | ||
| 184 | + "description": "Build all feasible backends using Ninja Generator in RelWithDebInfo Configuraiton", | ||
| 185 | + "inherits": "ninja-all-mkl-local-install", | ||
| 186 | + "cacheVariables": { | ||
| 187 | + "AF_INSTALL_STANDALONE": "ON" | ||
| 188 | + } | ||
| 189 | + }, | ||
| 190 | + { | ||
| 191 | + "name": "ninja-docs", | ||
| 192 | + "description": "Build ArrayFire Documentation, needs doxygen installed", | ||
| 193 | + "inherits": "ninja-all-off-debug", | ||
| 194 | + "cacheVariables": { | ||
| 195 | + "BUILD_TESTING": "OFF", | ||
| 196 | + "AF_BUILD_FORGE": "OFF", | ||
| 197 | + "AF_BUILD_DOCS": "ON" | ||
| 198 | + } | ||
| 199 | + }, | ||
| 200 | + { | ||
| 201 | + "name": "ninja-any-debug", | ||
| 202 | + "description": "Build available backends in Debug configuration using Ninja Generator", | ||
| 203 | + "binaryDir": "${sourceDir}/build/${presetName}", | ||
| 204 | + "generator": "Ninja", | ||
| 205 | + "cacheVariables": { | ||
| 206 | + "CMAKE_BUILD_TYPE": "Debug", | ||
| 207 | + "CMAKE_INSTALL_PREFIX": "${sourceDir}/build/${presetName}/pkg" | ||
| 208 | + } | ||
| 209 | + }, | ||
| 210 | + { | ||
| 211 | + "name": "ninja-any-relwithdebinfo", | ||
| 212 | + "description": "Build available backends in RelWithDebInfo configuration using Ninja Generator", | ||
| 213 | + "inherits": "ninja-any-debug", | ||
| 214 | + "cacheVariables": { | ||
| 215 | + "CMAKE_BUILD_TYPE": "RelWithDebInfo" | ||
| 216 | + } | ||
| 217 | + } | ||
| 218 | + ] | ||
| 219 | + } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments