[Mesa-dev] [PATCH] anv: add the main include directory back

Lionel Landwerlin lionel.g.landwerlin at intel.com
Sat Mar 18 12:40:01 UTC 2017


Sounds like a good idea to me. Ben had the same problem a few days ago.

Acked-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

On 17/03/17 22:05, Grazvydas Ignotas wrote:
> Fixes build without vulkan.h installed in system header locations:
>    CC       vulkan/vulkan_libvulkan_intel_la-anv_gem.lo
> In file included from vulkan/anv_private.h:66:0,
>                   from vulkan/anv_gem.c:31:
> /opt/xorg/include/vulkan/vulkan_intel.h:27:20: fatal error: vulkan.h:
> No such file or directory
>
> Fixes: ee8044fd "intel/vulkan: Get rid of recursive make"
> Cc: Emil Velikov <emil.velikov at collabora.com>
> Signed-off-by: Grazvydas Ignotas <notasas at gmail.com>
> ---
>   src/intel/Makefile.vulkan.am | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am
> index 1857802..e7c1ac7 100644
> --- a/src/intel/Makefile.vulkan.am
> +++ b/src/intel/Makefile.vulkan.am
> @@ -85,6 +85,7 @@ VULKAN_CFLAGS = \
>   	-msse2
>   
>   VULKAN_CPPFLAGS = \
> +	-I$(top_srcdir)/include \
>   	-I$(top_srcdir)/src/compiler \
>   	-I$(top_srcdir)/src/intel/compiler \
>   	-I$(top_builddir)/src/intel/vulkan \




More information about the mesa-dev mailing list