<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:athomas@synexxus.com" title="athomas@synexxus.com">athomas@synexxus.com</a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - HAVE_LLVM undelcared in r600_pipe_common.c if enable_r600_llvm not set"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=88209">bug 88209</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Summary</td>
           <td>HAVE_LLVM undelcared in:q
           </td>
           <td>HAVE_LLVM undelcared in r600_pipe_common.c if enable_r600_llvm not set
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - HAVE_LLVM undelcared in r600_pipe_common.c if enable_r600_llvm not set"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=88209#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - HAVE_LLVM undelcared in r600_pipe_common.c if enable_r600_llvm not set"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=88209">bug 88209</a>
              from <span class="vcard"><a class="email" href="mailto:athomas@synexxus.com" title="athomas@synexxus.com">athomas@synexxus.com</a>
</span></b>
        <pre>

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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>