<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - AArch64GenSubtargetInfo.inc is not created as part of the cmake build"
   href="http://llvm.org/bugs/show_bug.cgi?id=16625">16625</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>AArch64GenSubtargetInfo.inc is not created as part of the cmake build
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>cmake
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rju65@terransystems.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I have attempted to find an existing bug report none found.
I'm working with release llvm 3.3 final tag from svn.
Building using make works on my Ubuntu 12.04.2 system. Building using cmake
does not.

directory structure is
ws/llvm - llvm source code
ws/build - location to build llvm

To build using make I did the following;
cd to ws/build
performed ../llvm/configure
then performed make

this works.

To build using cmake I did the following;
deleted and recreated the build directory so it was empty.
cd into the build directory.
performed cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ../llvm
this works until it get to the 29% mark then I get this error

"Scanning dependencies of target LLVMAArch64Utils
make[2]: *** No rule to make target
`lib/Target/AArch64/AArch64GenSubtargetInfo.inc', needed by
`lib/Target/AArch64/Utils/CMakeFiles/LLVMAArch64Utils.dir/AArch64BaseInfo.cpp.o'.
Stop.
make[1]: *** [lib/Target/AArch64/Utils/CMakeFiles/LLVMAArch64Utils.dir/all]
Error 2
make: *** [all] Error 2"

** note if I build using make and then cmake without cleaning the build
directory the .inc files are present and the cmake build completes.

Regards
Ray</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>