<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - CMake INSTALL error: libclang_rt.asan-i386.so not found"
   href="https://bugs.llvm.org/show_bug.cgi?id=32081">32081</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>CMake INSTALL error: libclang_rt.asan-i386.so not found
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>4.0
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </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>keno@alumni.harvard.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>CMake Install Step fails with the following message:
```
CMake Error at projects/compiler-rt/lib/asan/cmake_install.cmake:72 (file):
  file INSTALL cannot find
 
"/home/keno/julia/deps/scratch/llvm-svn/build_Release+Asserts/projects/compiler-rt/lib/asan/CMakeFiles/CMakeRelink.dir/libclang_rt.asan-i386.so".
Call Stack (most recent call first):
  projects/compiler-rt/lib/cmake_install.cmake:43 (include)
  projects/compiler-rt/cmake_install.cmake:38 (include)
  projects/cmake_install.cmake:37 (include)
  cmake_install.cmake:61 (include)
```

Clang/LLVM/CompilerRT are on the release_40 branch. Configuration cache is
copied here: <a href="https://gist.github.com/Keno/7d0fc916ee5f7181796c07bf16312fa2">https://gist.github.com/Keno/7d0fc916ee5f7181796c07bf16312fa2</a>

I suppose the option most likely to be the culprit is
`-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON`.</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>