summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorKrzysztof Raszkowski <krzysztof.raszkowski@intel.com>2020-01-22 12:26:45 +0100
committerMarge Bot <eric+marge@anholt.net>2020-01-23 12:20:24 +0000
commitbf74a7f092126a985418956df9b249ec128d73cd (patch)
tree416905c1cfa3fe06cbd7168f391e04abb2cccb62 /meson_options.txt
parent54e54ec3e8112e56ef229be483bb1772df6fc0de (diff)
gallium/swr: add option for static link
Set swr-shared to 'false' to link SWR statically into Mesa. Only one swr arch can be specified if swr-shared is set to false. Reviewed-by: Jan Zielinski <jan.zielinski@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3510> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3510>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index dd7bf4bccaa..20332424054 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -315,6 +315,13 @@ option(
description : 'Architectures to build SWR support for.',
)
option(
+ 'shared-swr',
+ type : 'boolean',
+ value : true,
+ description : 'Whether to link SWR shared or statically.',
+)
+
+option(
'tools',
type : 'array',
value : [],