[Mesa-stable] [Mesa-dev] [PATCH 1/2] anv: automake: list shared libraries after the static ones

Eduardo Lima Mitev elima at igalia.com
Sun May 21 20:10:20 UTC 2017


Looks good. Series is:

Reviewed-by: Eduardo Lima Mitev <elima at igalia.com>

On 05/19/2017 07:43 PM, Emil Velikov wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
> 
> The compiler can discard the shared ones from the link chain, since
> there is no user (the static libraries) before it on the command line.
> 
> Cc: mesa-stable at lists.freedesktop.org
> Reported-by: Laurent Carlier <lordheavym at gmail.com>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
>  src/intel/Makefile.vulkan.am | 31 +++++++++++++++----------------
>  1 file changed, 15 insertions(+), 16 deletions(-)
> 
> diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am
> index ba6ab4fc93f..33cdc782d26 100644
> --- a/src/intel/Makefile.vulkan.am
> +++ b/src/intel/Makefile.vulkan.am
> @@ -111,7 +111,21 @@ VULKAN_SOURCES = \
>  	$(VULKAN_GENERATED_FILES) \
>  	$(VULKAN_FILES)
>  
> -VULKAN_LIB_DEPS = $(LIBDRM_LIBS)
> +VULKAN_LIB_DEPS = \
> +	vulkan/libvulkan_common.la \
> +	$(VULKAN_PER_GEN_LIBS) \
> +	compiler/libintel_compiler.la \
> +	common/libintel_common.la \
> +	isl/libisl.la \
> +	blorp/libblorp.la \
> +	$(top_builddir)/src/vulkan/libvulkan_util.la \
> +	$(top_builddir)/src/vulkan/libvulkan_wsi.la \
> +	$(top_builddir)/src/compiler/nir/libnir.la \
> +	$(top_builddir)/src/util/libmesautil.la \
> +	$(LIBDRM_LIBS) \
> +	$(PTHREAD_LIBS) \
> +	$(DLOPEN_LIBS) \
> +	-lm
>  
>  if HAVE_PLATFORM_X11
>  VULKAN_CPPFLAGS += \
> @@ -141,21 +155,6 @@ vulkan_libvulkan_common_la_SOURCES = $(VULKAN_SOURCES)
>  vulkan_libvulkan_common_la_CFLAGS = $(VULKAN_CFLAGS)
>  vulkan_libvulkan_common_la_CPPFLAGS = $(VULKAN_CPPFLAGS)
>  
> -VULKAN_LIB_DEPS += \
> -	vulkan/libvulkan_common.la \
> -	$(VULKAN_PER_GEN_LIBS) \
> -	compiler/libintel_compiler.la \
> -	common/libintel_common.la \
> -	isl/libisl.la \
> -	blorp/libblorp.la \
> -	$(top_builddir)/src/vulkan/libvulkan_util.la \
> -	$(top_builddir)/src/vulkan/libvulkan_wsi.la \
> -	$(top_builddir)/src/compiler/nir/libnir.la \
> -	$(top_builddir)/src/util/libmesautil.la \
> -	$(PTHREAD_LIBS) \
> -	$(DLOPEN_LIBS) \
> -	-lm
> -
>  nodist_EXTRA_vulkan_libvulkan_intel_la_SOURCES = dummy.cpp
>  vulkan_libvulkan_intel_la_SOURCES = $(VULKAN_GEM_FILES)
>  vulkan_libvulkan_intel_la_LIBADD = $(VULKAN_LIB_DEPS)
> 



More information about the mesa-stable mailing list