radv: Allow building when LLVM isn’t enabled
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Fri, 31 Jul 2020 14:39:10 +0000 (16:39 +0200)
committerTony Wasserka <tony.wasserka@gmx.de>
Fri, 1 Oct 2021 08:40:18 +0000 (10:40 +0200)
commitc238faf74605842d7e8d40064da28bb9dd83d933
tree71b38c02b474c60e20abccaf54573f2ba6331935
parentb70e551a5131c6231e75f5ad24cb480694b07b67
radv: Allow building when LLVM isn’t enabled

Now that ACO is considered feature-complete, it can be nice to avoid the
huge LLVM dependency when one only wants a Vulkan driver.

This patch allows radv to be built without LLVM.  The two features which
get disabled are RADV_DEBUG=llvm and shader disassembly.  The latter
is an issue for debugging, so I added a warning that this configuration
is unsupported.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11319>
meson.build
src/amd/meson.build
src/meson.build