[Mesa-dev] [PATCH 4/4] radv: toplevel configure/make changes required to build

Nicolai Hähnle nhaehnle at gmail.com
Tue Oct 4 09:56:26 UTC 2016


On 04.10.2016 03:48, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> This moves some of the llvm checks around to allow them
> to be used for non-gallium drivers as well.
>
> radv requires llvm 3.9.0 as vulkan requires compute shaders.
>
> Authors: Bas Nieuwenhuizen and Dave Airlie
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  configure.ac    | 33 ++++++++++++++++++++++++++-------
>  src/Makefile.am |  7 ++++++-
>  2 files changed, 32 insertions(+), 8 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 1bfac3b..634f3c3 100644
> --- a/configure.ac
> +++ b/configure.ac
[snip]
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 551f431..6a35f19 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -50,7 +50,7 @@ SUBDIRS = . gtest util mapi/glapi/gen mapi
>  # include only conditionally ?
>  SUBDIRS += compiler
>
> -if HAVE_GALLIUM_RADEON_COMMON
> +if HAVE_AMD_DRIVERS
>  SUBDIRS += amd
>  endif
>
> @@ -96,6 +96,11 @@ if HAVE_INTEL_VULKAN
>  SUBDIRS += intel/vulkan
>  endif
>
> +if HAVE_RADEON_VULKAN
> +SUBDIRS += amd/common

You may already want to move this under HAVE_AMD_DRIVERS for future code 
sharing. Either way, this patch is

Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

> +SUBDIRS += amd/vulkan
> +endif
> +
>  if HAVE_GALLIUM
>  SUBDIRS += gallium
>  endif
>


More information about the mesa-dev mailing list