[llvm-bugs] [Bug 36137] New: Add ability to disable bindings in CMake builds

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 29 10:14:14 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=36137

            Bug ID: 36137
           Summary: Add ability to disable bindings in CMake builds
           Product: Build scripts
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: mattico8 at gmail.com
                CC: llvm-bugs at lists.llvm.org

Building the Go and OCaml bindings occasionally causes build errors for
downstream users:

https://github.com/libretro/Lakka/pull/431
https://github.com/rust-lang/rust/pull/47846

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180129/e3889398/attachment.html>


More information about the llvm-bugs mailing list