[Bug 88209] HAVE_LLVM undelcared in r600_pipe_common.c if enable_r600_llvm not set

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 8 10:21:55 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=88209

athomas at synexxus.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|HAVE_LLVM undelcared in:q   |HAVE_LLVM undelcared in
                   |                            |r600_pipe_common.c if
                   |                            |enable_r600_llvm not set

--- Comment #1 from athomas at synexxus.com ---


HAVE_LLVM is only established by configure.ac if LLVM_CONFIG = yes. LLVM_CONFIG
will only be "yes" if enable_r600_llvm is specified. If HAVE_LLVM is not
declared, then the build of
mesa/mesa/src/gallium/drivers/radeon/r600_pipe_common.c

DEFINES="${DEFINES} -DHAVE_LLVM=0x0$LLVM_VERSION_INT
-DLLVM_VERSION_PATCH=$LLVM_VERSION_PATCH"


Fails with:
make[3]: Entering directory
'/home/jessie/xserver_tmp/src/mesa/mesa/src/gallium/drivers/radeon'
  CC       r600_pipe_common.lo
r600_pipe_common.c: In function 'r600_get_compute_param':
r600_pipe_common.c:503:40: error: 'HAVE_LLVM' undeclared (first use in this
function)
   if (rscreen->family <= CHIP_ARUBA || HAVE_LLVM < 0x0306) {
                                        ^
r600_pipe_common.c:503:40: note: each undeclared identifier is reported only
once for each function it appears in
Makefile:668: recipe for target 'r600_pipe_common.lo' failed
make[3]: *** [r600_pipe_common.lo] Error 1

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150108/520ce1b6/attachment.html>


More information about the dri-devel mailing list