Advertisement
Guest User

LLVMPipe

a guest
Sep 15th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.60 KB | None | 0 0
  1. # Copyright © 2017-2018 Intel Corporation
  2.  
  3. # Permission is hereby granted, free of charge, to any person obtaining a copy
  4. # of this software and associated documentation files (the "Software"), to deal
  5. # in the Software without restriction, including without limitation the rights
  6. # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7. # copies of the Software, and to permit persons to whom the Software is
  8. # furnished to do so, subject to the following conditions:
  9.  
  10. # The above copyright notice and this permission notice shall be included in
  11. # all copies or substantial portions of the Software.
  12.  
  13. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16. # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17. # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18. # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  19. # SOFTWARE.
  20.  
  21. option(
  22. 'platforms',
  23. type : 'array',
  24. value : ['x11'],
  25. choices : [
  26. '', 'auto', 'x11', 'wayland', 'drm', 'surfaceless', 'haiku', 'android',
  27. 'windows',
  28. ],
  29. description : 'window systems to support. If this is set to `auto`, all platforms applicable will be enabled.'
  30. )
  31. option(
  32. 'dri3',
  33. type : 'combo',
  34. value : 'auto',
  35. choices : ['auto', 'true', 'false'],
  36. description : 'enable support for dri3'
  37. )
  38. option(
  39. 'dri-drivers',
  40. type : 'array',
  41. value : [''],
  42. choices : ['', 'auto', 'i915', 'i965', 'r100', 'r200', 'nouveau', 'swrast'],
  43. description : 'List of dri drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built'
  44. )
  45. option(
  46. 'dri-drivers-path',
  47. type : 'string',
  48. value : '',
  49. description : 'Location to install dri drivers. Default: $libdir/dri.'
  50. )
  51. option(
  52. 'dri-search-path',
  53. type : 'string',
  54. value : '',
  55. description : 'Locations to search for dri drivers, passed as colon separated list. Default: dri-drivers-path.'
  56. )
  57. option(
  58. 'gallium-drivers',
  59. type : 'array',
  60. value : ['swrast'],
  61. choices : [
  62. '', 'auto', 'kmsro', 'radeonsi', 'r300', 'r600', 'nouveau', 'freedreno',
  63. 'swrast', 'v3d', 'vc4', 'etnaviv', 'tegra', 'i915', 'svga', 'virgl',
  64. 'swr', 'panfrost', 'iris', 'lima'
  65. ],
  66. description : 'List of gallium drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built'
  67. )
  68. option(
  69. 'gallium-extra-hud',
  70. type : 'boolean',
  71. value : false,
  72. description : 'Enable HUD block/NIC I/O HUD status support',
  73. )
  74. option(
  75. 'gallium-vdpau',
  76. type : 'combo',
  77. value : 'false',
  78. choices : ['auto', 'true', 'false'],
  79. description : 'enable gallium vdpau state tracker.',
  80. )
  81. option(
  82. 'vdpau-libs-path',
  83. type : 'string',
  84. value : '',
  85. description : 'path to put vdpau libraries. defaults to $libdir/vdpau.'
  86. )
  87. option(
  88. 'gallium-xvmc',
  89. type : 'combo',
  90. value : 'false',
  91. choices : ['auto', 'true', 'false'],
  92. description : 'enable gallium xvmc state tracker.',
  93. )
  94. option(
  95. 'xvmc-libs-path',
  96. type : 'string',
  97. value : '',
  98. description : 'path to put xvmc libraries. defaults to $libdir.'
  99. )
  100. option(
  101. 'gallium-omx',
  102. type : 'combo',
  103. value : 'disabled',
  104. choices : ['auto', 'disabled', 'bellagio', 'tizonia'],
  105. description : 'enable gallium omx state tracker.',
  106. )
  107. option(
  108. 'omx-libs-path',
  109. type : 'string',
  110. value : '',
  111. description : 'path to put omx libraries. defaults to omx-bellagio pkg-config pluginsdir.'
  112. )
  113. option(
  114. 'gallium-va',
  115. type : 'combo',
  116. value : 'false',
  117. choices : ['auto', 'true', 'false'],
  118. description : 'enable gallium va state tracker.',
  119. )
  120. option(
  121. 'va-libs-path',
  122. type : 'string',
  123. value : '',
  124. description : 'path to put va libraries. defaults to $libdir/dri.'
  125. )
  126. option(
  127. 'gallium-xa',
  128. type : 'combo',
  129. value : 'false',
  130. choices : ['auto', 'true', 'false'],
  131. description : 'enable gallium xa state tracker.',
  132. )
  133. option(
  134. 'gallium-nine',
  135. type : 'boolean',
  136. value : false,
  137. description : 'build gallium "nine" Direct3D 9.x state tracker.',
  138. )
  139. option(
  140. 'gallium-opencl',
  141. type : 'combo',
  142. choices : ['icd', 'standalone', 'disabled'],
  143. value : 'disabled',
  144. description : 'build gallium "clover" OpenCL state tracker.',
  145. )
  146. option(
  147. 'd3d-drivers-path',
  148. type : 'string',
  149. value : '',
  150. description : 'Location of D3D drivers. Default: $libdir/d3d',
  151. )
  152. option(
  153. 'vulkan-drivers',
  154. type : 'array',
  155. value : [''],
  156. choices : ['', 'auto', 'amd', 'freedreno', 'intel'],
  157. description : 'List of vulkan drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built'
  158. )
  159. option(
  160. 'shader-cache',
  161. type : 'combo',
  162. value : 'true',
  163. choices : ['auto', 'true', 'false'],
  164. description : 'Build with on-disk shader cache support'
  165. )
  166. option(
  167. 'vulkan-icd-dir',
  168. type : 'string',
  169. value : '',
  170. description : 'Location relative to prefix to put vulkan icds on install. Default: $datadir/vulkan/icd.d'
  171. )
  172. option(
  173. 'vulkan-overlay-layer',
  174. type : 'boolean',
  175. value : false,
  176. description : 'Whether to build the vulkan overlay layer'
  177. )
  178. option(
  179. 'shared-glapi',
  180. type : 'combo',
  181. value : 'true',
  182. choices : ['auto', 'true', 'false'],
  183. description : 'Whether to build a shared or static glapi. Defaults to false on Windows, true elsewhere'
  184. )
  185. option(
  186. 'gles1',
  187. type : 'combo',
  188. value : 'false',
  189. choices : ['auto', 'true', 'false'],
  190. description : 'Build support for OpenGL ES 1.x'
  191. )
  192. option(
  193. 'gles2',
  194. type : 'combo',
  195. value : 'false',
  196. choices : ['auto', 'true', 'false'],
  197. description : 'Build support for OpenGL ES 2.x and 3.x'
  198. )
  199. option(
  200. 'opengl',
  201. type : 'boolean',
  202. value : true,
  203. description : 'Build support for OpenGL (all versions)'
  204. )
  205. option(
  206. 'gbm',
  207. type : 'combo',
  208. value : 'false',
  209. choices : ['auto', 'true', 'false'],
  210. description : 'Build support for gbm platform'
  211. )
  212. option(
  213. 'glx',
  214. type : 'combo',
  215. value : 'gallium-xlib',
  216. choices : ['auto', 'disabled', 'dri', 'xlib', 'gallium-xlib'],
  217. description : 'Build support for GLX platform'
  218. )
  219. option(
  220. 'egl',
  221. type : 'combo',
  222. value : 'false',
  223. choices : ['auto', 'true', 'false'],
  224. description : 'Build support for EGL platform'
  225. )
  226. option(
  227. 'glvnd',
  228. type : 'boolean',
  229. value : false,
  230. description : 'Enable GLVND support.'
  231. )
  232. option(
  233. 'glx-read-only-text',
  234. type : 'boolean',
  235. value : false,
  236. description : 'Disable writable .text section on x86 (decreases performance)'
  237. )
  238. option(
  239. 'llvm',
  240. type : 'combo',
  241. value : 'true',
  242. choices : ['auto', 'true', 'false'],
  243. description : 'Build with LLVM support.'
  244. )
  245. option(
  246. 'shared-llvm',
  247. type : 'boolean',
  248. value : false,
  249. description : 'Whether to link llvm shared or statically.'
  250. )
  251. option(
  252. 'valgrind',
  253. type : 'combo',
  254. value : 'false',
  255. choices : ['auto', 'true', 'false'],
  256. description : 'Build with valgrind support'
  257. )
  258. option(
  259. 'libunwind',
  260. type : 'combo',
  261. value : 'false',
  262. choices : ['auto', 'true', 'false'],
  263. description : 'Use libunwind for stack-traces'
  264. )
  265. option(
  266. 'lmsensors',
  267. type : 'combo',
  268. value : 'false',
  269. choices : ['auto', 'true', 'false'],
  270. description : 'Enable HUD lmsensors support.'
  271. )
  272. option(
  273. 'build-tests',
  274. type : 'boolean',
  275. value : false,
  276. description : 'Build unit tests. Currently this will build *all* unit tests, which may build more than expected.'
  277. )
  278. option(
  279. 'install-intel-gpu-tests',
  280. type : 'boolean',
  281. value : false,
  282. description : 'Build and install Intel unit tests which require the GPU. This option is for developers and the Intel CI system only.'
  283. )
  284. option(
  285. 'selinux',
  286. type : 'boolean',
  287. value : false,
  288. description : 'Build an SELinux-aware Mesa'
  289. )
  290. option(
  291. 'osmesa',
  292. type : 'combo',
  293. value : 'none',
  294. choices : ['none', 'classic', 'gallium'],
  295. description : 'Build OSmesa.'
  296. )
  297. option(
  298. 'osmesa-bits',
  299. type : 'combo',
  300. value : '8',
  301. choices : ['8', '16', '32'],
  302. description : 'Number of channel bits for OSMesa.'
  303. )
  304. option(
  305. 'swr-arches',
  306. type : 'array',
  307. value : ['avx', 'avx2'],
  308. choices : ['avx', 'avx2', 'knl', 'skx'],
  309. description : 'Architectures to build SWR support for.',
  310. )
  311. option(
  312. 'tools',
  313. type : 'array',
  314. value : [],
  315. choices : ['drm-shim', 'etnaviv', 'freedreno', 'glsl', 'intel', 'intel-ui', 'nir', 'nouveau', 'xvmc', 'lima', 'all'],
  316. description : 'List of tools to build. (Note: `intel-ui` selects `intel`)',
  317. )
  318. option(
  319. 'power8',
  320. type : 'combo',
  321. value : 'auto',
  322. choices : ['auto', 'true', 'false'],
  323. description : 'Enable power8 optimizations.',
  324. )
  325. option(
  326. 'xlib-lease',
  327. type : 'combo',
  328. value : 'false',
  329. choices : ['auto', 'true', 'false'],
  330. description : 'Enable VK_EXT_acquire_xlib_display.'
  331. )
  332. option(
  333. 'glx-direct',
  334. type : 'boolean',
  335. value : true,
  336. description : 'Enable direct rendering in GLX and EGL for DRI',
  337. )
  338. option(
  339. 'I-love-half-baked-turnips',
  340. type : 'boolean',
  341. value : false,
  342. description : 'Allow work-in-progress freedreno vulkan driver to be enabled',
  343. )
  344. option('egl-lib-suffix',
  345. type : 'string',
  346. value : '',
  347. description : 'Suffix to append to EGL library name. Default: none.'
  348. )
  349. option(
  350. 'gles-lib-suffix',
  351. type : 'string',
  352. value : '',
  353. description : 'Suffix to append to GLES library names. Default: none.'
  354. )
  355. option(
  356. 'platform-sdk-version',
  357. type : 'integer',
  358. min : 25,
  359. max : 28,
  360. value : 25,
  361. description : 'Android Platform SDK version. Default: Nougat version.'
  362. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement