[Mesa-dev] [PATCH] gallium/radeon: fix r600g build if LLVM is disabled
Benjamin Bellec
b.bellec at gmail.com
Mon Aug 10 12:09:56 PDT 2015
Tested-by: Benjamin Bellec <b.bellec at gmail.com>
On Sat, Aug 8, 2015, at 10:05 PM, Marek Olšák wrote:
>* From: Marek Olšák <marek.olsak at amd.com <http://lists.freedesktop.org/mailman/listinfo/mesa-dev>>
*> >* MESA_LLVM_VERSION_PATCH is undefined.
*>* ---
*>* src/gallium/drivers/radeon/r600_pipe_common.c | 9 +++++----
*>* 1 file changed, 5 insertions(+), 4 deletions(-)
*> >* diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c
*>* b/src/gallium/drivers/radeon/r600_pipe_common.c
*>* index d6b9a01..e50e768 100644
*>* --- a/src/gallium/drivers/radeon/r600_pipe_common.c
*>* +++ b/src/gallium/drivers/radeon/r600_pipe_common.c
*>* @@ -891,10 +891,11 @@ bool r600_common_screen_init(struct
*>* r600_common_screen *rscreen,
*> >* ws->query_info(ws, &rscreen->info);
*> >* - if (HAVE_LLVM)
*>* - snprintf(llvm_string, sizeof(llvm_string),
*>* - ", LLVM %i.%i.%i", (HAVE_LLVM >> 8) & 0xff,
*>* - HAVE_LLVM & 0xff, MESA_LLVM_VERSION_PATCH);
*>* +#if HAVE_LLVM
*>* + snprintf(llvm_string, sizeof(llvm_string),
*>* + ", LLVM %i.%i.%i", (HAVE_LLVM >> 8) & 0xff,
*>* + HAVE_LLVM & 0xff, MESA_LLVM_VERSION_PATCH);
*>* +#endif
*> >* snprintf(rscreen->renderer_string, sizeof(rscreen->renderer_string),
*>* "%s (DRM %i.%i.%i%s)",
*>* --
*>* 2.1.4
*> >* _______________________________________________
*>* mesa-dev mailing list
*>* mesa-dev at lists.freedesktop.org
<http://lists.freedesktop.org/mailman/listinfo/mesa-dev>
*>* http://lists.freedesktop.org/mailman/listinfo/mesa-dev
<http://lists.freedesktop.org/mailman/listinfo/mesa-dev>
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150810/b077657d/attachment.html>
More information about the mesa-dev
mailing list