diff options
author | Jesse Natalie <jenatali@microsoft.com> | 2021-02-24 10:42:49 -0800 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-02-25 17:48:16 +0000 |
commit | 3955dd077b61ad4f39d7ecbfaa78b183c2142269 (patch) | |
tree | 84ed4c1ff066391b274002c6c45c960e65b898ca /meson_options.txt | |
parent | 3adac6affc52bb52b3d2fc3fead44d9d5166434b (diff) | |
download | mesa-3955dd077b61ad4f39d7ecbfaa78b183c2142269.tar.gz |
meson/gallium: Add an option to not use LLVM for gallium draw module
We'd like to use one Mesa build environment which builds our CL compiler
stack (which needs Clang/LLVM) and which builds our GL driver. The GL
driver doesn't really need LLVM support, and since we're statically
linking LLVM, removing it from the driver drastically reduces our DLL
size on disk.
Acked-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9259>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 599a2b3fd89..65f6665bfe2 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -322,6 +322,12 @@ option( description : 'Whether to link LLVM shared or statically.' ) option( + 'draw-use-llvm', + type : 'boolean', + value : 'true', + description : 'Whether to use LLVM for the Gallium draw module, if LLVM is included.' +) +option( 'valgrind', type : 'combo', value : 'auto', |