gallium/swr: add option for static link
authorKrzysztof Raszkowski <krzysztof.raszkowski@intel.com>
Wed, 22 Jan 2020 11:26:45 +0000 (12:26 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Jan 2020 12:20:24 +0000 (12:20 +0000)
commitbf74a7f092126a985418956df9b249ec128d73cd
tree416905c1cfa3fe06cbd7168f391e04abb2cccb62
parent54e54ec3e8112e56ef229be483bb1772df6fc0de
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>
meson_options.txt
src/gallium/drivers/swr/meson.build
src/gallium/drivers/swr/swr_loader.cpp