summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorPierre Moreau <pierre.morrow@free.fr>2018-01-21 19:10:58 +0100
committerKarol Herbst <karolherbst@gmail.com>2019-09-21 08:28:32 +0000
commit866f6f11d928e6e9b1a45468ec9d6cf12b7f2778 (patch)
tree2b1653d4895b92ef96de0bb0aedc2d3f8475ea9b /meson_options.txt
parentaa7ac32976fbce522cb36455e1c3748a0cddba80 (diff)
meson: Check for SPIRV-Tools and llvm-spirv
Changes since: * v12 (Karol Herbst): - rename CLOVER_ALLOW_SPIRV to HAVE_CLOVER_SPIRV * v11 (Karol Herbst): - only set new defines for clover to speed up recompilation - remove autotools * v10: - Add a new flag (`--enable-opencl-spirv` for autotools, and `-Dopencl-spirv=true` for meson) for enabling SPIR-V support in clover, and never automagically enable it without that flag. (Dylan Baker) - When enabling the SPIR-V support, the SPIRV-Tools and SPIRV-LLVM-Translator libraries are now required dependencies. * v7: - Properly align LLVMSPIRVLib comment (Dylan Baker) - Only define CLOVER_ALLOW_SPIRV when **both** dependencies are found: autotools was only requiring one or the other. * v6: Replace the llvm-spirv repository by the new official SPIRV-LLVM-Translator. * v4: Add a comment saying where to find llvm-spirv (Karol Herbst). * v3: - make SPIRV-Tools and llvm-spirv optional (Francisco Jerez); - bump requirement for llvm-spirv to version 0.2 * v2: - Bump the required version of SPIRV-Tools to the latest release; - Add a dependency on llvm-spirv. Reviewed-by: Dylan Baker <dylan@pnwbakers.com> (v10) Reviewed-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index a2f86be19ae..3ab2900f929 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -144,6 +144,12 @@ option(
description : 'build gallium "clover" OpenCL state tracker.',
)
option(
+ 'opencl-spirv',
+ type : 'boolean',
+ value : false,
+ description : 'build gallium "clover" OpenCL state tracker with SPIR-V binary support.',
+)
+option(
'd3d-drivers-path',
type : 'string',
value : '',