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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



changed bug 88209
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 on bug 88209 from

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:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux