<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 5, 2017 at 5:31 PM, Jan Vesely <span dir="ltr"><<a href="mailto:jan.vesely@rutgers.edu" target="_blank">jan.vesely@rutgers.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 2017-06-05 at 15:31 -0500, Aaron Watry wrote:<br>
> From: Jan Vesely <<a href="mailto:jan.vesely@rutgers.edu">jan.vesely@rutgers.edu</a>><br>
><br>
> Signed-off-by: Jan Vesely <<a href="mailto:jan.vesely@rutgers.edu">jan.vesely@rutgers.edu</a>><br>
> Reviewed-by: Aaron Watry <<a href="mailto:awatry@gmail.com">awatry@gmail.com</a>><br>
<br>
</span>I think Emil preferred v2, with comments and split android changes.<br>
<br></blockquote><div>Fair enough.  I missed/forgot about that v2. I'll retest with that.<br><br></div><div>--Aaron<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Jan<br>
<div><div class="h5"><br>
> ---<br>
>  <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>                                | 3 ++-<br>
>  src/gallium/drivers/r600/<wbr>Android.mk         | 5 -----<br>
>  src/gallium/drivers/r600/<wbr>Automake.inc       | 2 +-<br>
>  src/gallium/targets/pipe-<wbr>loader/Makefile.am | 2 +-<br>
>  4 files changed, 4 insertions(+), 8 deletions(-)<br>
><br>
> diff --git a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
> index 5caf316089..e0996a0004 100644<br>
> --- a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
> +++ b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
> @@ -2631,7 +2631,8 @@ AM_CONDITIONAL(HAVE_SWRAST_<wbr>DRI, test x$HAVE_SWRAST_DRI = xyes)<br>
>  AM_CONDITIONAL(HAVE_RADEON_<wbr>VULKAN, test "x$HAVE_RADEON_VULKAN" = xyes)<br>
>  AM_CONDITIONAL(HAVE_INTEL_<wbr>VULKAN, test "x$HAVE_INTEL_VULKAN" = xyes)<br>
><br>
> -AM_CONDITIONAL(HAVE_AMD_<wbr>DRIVERS, test "x$HAVE_GALLIUM_R600" = xyes -o \<br>
> +AM_CONDITIONAL(HAVE_AMD_<wbr>DRIVERS, test \( "x$HAVE_GALLIUM_R600" = xyes -a \<br>
> +                                      "x$enable_opencl" = xyes \) -o \<br>
>                                        "x$HAVE_GALLIUM_RADEONSI" = xyes -o \<br>
>                                        "x$HAVE_RADEON_VULKAN" = xyes)<br>
><br>
> diff --git a/src/gallium/drivers/r600/<wbr>Android.mk b/src/gallium/drivers/r600/<wbr>Android.mk<br>
> index 87f433dbae..18c5bb6344 100644<br>
> --- a/src/gallium/drivers/r600/<wbr>Android.mk<br>
> +++ b/src/gallium/drivers/r600/<wbr>Android.mk<br>
> @@ -30,11 +30,7 @@ include $(CLEAR_VARS)<br>
><br>
>  LOCAL_SRC_FILES := $(C_SOURCES) $(CXX_SOURCES)<br>
><br>
> -ifeq ($(MESA_ENABLE_LLVM),true)<br>
> -LOCAL_STATIC_LIBRARIES := libmesa_amd_common<br>
> -else<br>
>  LOCAL_C_INCLUDES += $(MESA_TOP)/src/amd/common<br>
> -endif<br>
><br>
>  LOCAL_SHARED_LIBRARIES := libdrm_radeon<br>
>  LOCAL_MODULE := libmesa_pipe_r600<br>
> @@ -45,7 +41,6 @@ include $(BUILD_STATIC_LIBRARY)<br>
>  ifneq ($(HAVE_GALLIUM_R600),)<br>
>  $(eval GALLIUM_LIBS += \<br>
>       $(LOCAL_MODULE) \<br>
> -     $(LOCAL_STATIC_LIBRARIES) \<br>
>       libmesa_winsys_radeon)<br>
>  $(eval GALLIUM_SHARED_LIBS += $(LOCAL_SHARED_LIBRARIES))<br>
>  endif<br>
> diff --git a/src/gallium/drivers/r600/<wbr>Automake.inc b/src/gallium/drivers/r600/<wbr>Automake.inc<br>
> index fa457359de..c96fe743ce 100644<br>
> --- a/src/gallium/drivers/r600/<wbr>Automake.inc<br>
> +++ b/src/gallium/drivers/r600/<wbr>Automake.inc<br>
> @@ -13,7 +13,7 @@ TARGET_RADEON_WINSYS = \<br>
>  TARGET_RADEON_COMMON = \<br>
>       $(top_builddir)/src/gallium/<wbr>drivers/radeon/<a href="http://libradeon.la" rel="noreferrer" target="_blank">libradeon.la</a><br>
><br>
> -if HAVE_GALLIUM_LLVM<br>
> +if HAVE_AMD_DRIVERS<br>
>  TARGET_RADEON_COMMON += \<br>
>       $(top_builddir)/src/amd/<wbr>common/<a href="http://libamd_common.la" rel="noreferrer" target="_blank">libamd_common.la</a><br>
>  endif<br>
> diff --git a/src/gallium/targets/pipe-<wbr>loader/Makefile.am b/src/gallium/targets/pipe-<wbr>loader/Makefile.am<br>
> index 5f629a2982..c99153310b 100644<br>
> --- a/src/gallium/targets/pipe-<wbr>loader/Makefile.am<br>
> +++ b/src/gallium/targets/pipe-<wbr>loader/Makefile.am<br>
> @@ -131,7 +131,7 @@ pipe_r600_la_LIBADD = \<br>
>       $(LIBDRM_LIBS) \<br>
>       $(RADEON_LIBS)<br>
><br>
> -if HAVE_GALLIUM_LLVM<br>
> +if HAVE_AMD_DRIVERS<br>
>  pipe_r600_la_LIBADD += \<br>
>       $(top_builddir)/src/amd/<wbr>common/<a href="http://libamd_common.la" rel="noreferrer" target="_blank">libamd_common.la</a><br>
>  endif<br>
<br>
--<br>
</div></div>Jan Vesely <<a href="mailto:jan.vesely@rutgers.edu">jan.vesely@rutgers.edu</a>></blockquote></div><br></div></div>