<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 - openmp 13.0.0 w/ OPENMP_ENABLE_LIBOMPTARGET=ON fails to link to LLVM dylib"
   href="https://bugs.llvm.org/show_bug.cgi?id=52059">52059</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>openmp 13.0.0 w/ OPENMP_ENABLE_LIBOMPTARGET=ON fails to link to LLVM dylib
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>OpenMP
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>release blocker
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Runtime Library
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mgorny@gentoo.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>51236
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When trying to build OpenMP stand-alone against installed LLVM without static
libraries:

-- Configuring done
CMake Error at libomptarget/plugins/common/elf_common/CMakeLists.txt:21
(add_dependencies):
  The dependency target "LLVMBinaryFormat" of target "elf_common" does not
  exist.


CMake Error at libomptarget/plugins/common/elf_common/CMakeLists.txt:21
(add_dependencies):
  The dependency target "LLVMObject" of target "elf_common" does not exist.


I've submitted a fix as <a href="https://reviews.llvm.org/D111038">https://reviews.llvm.org/D111038</a></pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [meta] 13.0.0 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=51236">Bug 51236</a>] [meta] 13.0.0 Release Blockers
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>