[MacPorts] #58917: llvm-8.0 fails to build on older sytems (darwin 13 and less) when go is installed, as it tries to build the go bindings but go needs special attention to work on these systems

MacPorts noreply at macports.org
Sat Sep 14 23:26:40 UTC 2019


#58917: llvm-8.0 fails to build on older sytems (darwin 13 and less) when go is
installed, as it tries to build the go bindings but go needs special
attention to work on these systems
-----------------------+----------------------
  Reporter:  iEFdev    |      Owner:  jeremyhu
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.4
Resolution:            |   Keywords:
      Port:  llvm-8.0  |
-----------------------+----------------------

Comment (by iEFdev):

 Replying to [comment:13 kencu]:
 > looks like `llvm` added an option to disable the bindings
 <https://reviews.llvm.org/rL332816> and <https://reviews.llvm.org/D42026>
 that we can use to turn them off.
 > {{{
 > LLVM_ENABLE_BINDINGS=OFF
 > }}}

 If you want/need some feedback… I'm just upgrading llvm/clang -> 8.0.1. I
 added that one, like:
 {{{
     // ...
     -DLLVM_ENABLE_FFI=ON \
     -DLLVM_ENABLE_BINDINGS=OFF \
     -DLLVM_BINDINGS_LIST=none \
     // ...
 }}}

 …and `-- Go bindings disabled.` showed up. //(`go` is installed, and
 active.)_

-- 
Ticket URL: <https://trac.macports.org/ticket/58917#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list