[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:45:59 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):
I guess it's just all the defaults. It's from the first set of all the
args…
{{{
configure.args-append \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_ENABLE_ASSERTIONS=OFF \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_INCLUDE_TESTS=OFF \
-DLLVM_INCLUDE_EXAMPLES=OFF \
-DLLVM_ENABLE_FFI=ON \
-DLLVM_ENABLE_BINDINGS=OFF \
-DLLVM_BINDINGS_LIST=none \
-DFFI_INCLUDE_DIR=`pkg-config --cflags-only-I libffi | sed 's/-I//'` \
-DFFI_LIBRARY_DIR=${prefix}/lib
}}}
…and later down at ocaml:
{{{
variant ocaml description {Enable generation of OCaml binding} {
depends_lib-append port:ocaml
configure.args-delete -DLLVM_BINDINGS_LIST=none
configure.args-append -DLLVM_BINDINGS_LIST=ocaml
}}}
//Wonder if there's one specific for go? like: `-DLLVM_BINDINGS_LIST=go`
--
Ticket URL: <https://trac.macports.org/ticket/58917#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list