summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-10-30 10:17:22 -0700
committerDylan Baker <dylan@pnwbakers.com>2017-11-09 13:10:59 -0800
commit1873327c4b5a09e9138db02b145cba5d012cb2f3 (patch)
tree47b852f67c8ebb7c4442cb56d799a7ecd375f59e /meson_options.txt
parent8ecdbb613609e58094af435a45c357aebce5ff66 (diff)
meson: implement default driver arguments
This allows drivers to be set by OS/arch in a sane manner. v2: - set _drivers to a list of drivers instead of manually assigning each with_* v3: - Use "auto" instead of "default", which matches the value of other automatically configured options. - Set vulkan drivers as well - Add error message if no automatic drivers are known for a given arch/OS combo - use not(darwin or windows) instead of (linux or *bsd), which is probably more accurate (that way Solaris and other *nix systems aren't excluded) - rename softpipe to swrast, as swrast is the actual option name Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/meson_options.txt b/meson_options.txt
index d93dd6eab2a..6c9cd33998c 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -34,8 +34,8 @@ option(
option(
'dri-drivers',
type : 'string',
- value : 'i915,i965,r100,r200,nouveau',
- description : 'comma separated list of dri drivers to build.'
+ value : 'auto',
+ description : 'comma separated list of dri drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built'
)
option(
'dri-drivers-path',
@@ -46,8 +46,8 @@ option(
option(
'gallium-drivers',
type : 'string',
- value : 'pl111,radeonsi,nouveau,freedreno,swrast,vc4,etnaviv,imx',
- description : 'comma separated list of gallium drivers to build.'
+ value : 'auto',
+ description : 'comma separated list of gallium drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built'
)
option(
'gallium-media',
@@ -58,8 +58,8 @@ option(
option(
'vulkan-drivers',
type : 'string',
- value : 'intel,amd',
- description : 'comma separated list of vulkan drivers to build.'
+ value : 'auto',
+ description : 'comma separated list of vulkan drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built'
)
option(
'shader-cache',