<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 - Add ability to disable bindings in CMake builds"
   href="https://bugs.llvm.org/show_bug.cgi?id=36137">36137</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Add ability to disable bindings in CMake builds
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </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>mattico8@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Building the Go and OCaml bindings occasionally causes build errors for
downstream users:

<a href="https://github.com/libretro/Lakka/pull/431">https://github.com/libretro/Lakka/pull/431</a>
<a href="https://github.com/rust-lang/rust/pull/47846">https://github.com/rust-lang/rust/pull/47846</a>

When these bindings are not used it is preferable to disable building them,
rather than work around the build errors. The autoconf build system provided
`--disable-bindings`, but there is no such option in the CMake system.

I am willing to write a patch for this, as it seems straightforward.</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>