[llvm-bugs] [Bug 44551] New: Impossible to build Go and OCaml bindings on Windows using MSYS2

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 14 19:08:02 PST 2020


            Bug ID: 44551
           Summary: Impossible to build Go and OCaml bindings on Windows
                    using MSYS2
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: stephen.gutekanst at gmail.com
                CC: llvm-bugs at lists.llvm.org

It is currently impossible to build the Go and OCaml bindings on Windows
natively under e.g. MSYS2 due to two issues in the build configuration/scripts:

cannot handle quoted arguments, which prevents passing `-G "MSYS Makefiles"` to
the script -- making it impossible to generate MSYS-compatible Makefiles.

2. In
WIN32 (i.e. non-Cygwin environments like MSYS or native Windows) explicitly
disables building the Go bindings without any way to attempt building them.

I have a simple patch here which resolves the issue for Go (but I haven't
tested OCaml, there could be other issues there). I have not yet had a chance
to submit this via LLVM's patch submission process, but hope to do so soon:

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/20200115/4276aac4/attachment.html>

More information about the llvm-bugs mailing list