llvm: add missing configuration option LLVM_LINK_LLVM_DYLIB
we define LLVM_BUILD_LLVM_DYLIB=1 BUT not LLVM_LINK_LLVM_DYLIB=1 which leads to a broken llvm-config. Currently $> llvm-config --libnames --link-shared generated lots of errors about missing .so libraries, with the above addition we get the correct behaviour. $> llvm-config --libnames --link-shared libLLVM-7.so
This commit is contained in:
parent
09be781b92
commit
1465eabfd9
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/QN2q4K6+ajfE+v6EtgMRGFIrPNGxTdRtZr6eFJSlZL7dygemaV99+TuBPnStQvOT5nGsjnBymqMC3A3i5nWVw0=
|
||||
SHA256 (Pkgfile) = 92229aa65be835c271017558c1c8b5f2c7be715332a69c27cf9625a6d52bb00f
|
||||
RWSE3ohX2g5d/cXW0okQDvCXarmoluwqNXPGbaF/5ggSywnazLLV/AO8UoaO2fsd0S9qBIqOxDDMU9OfOwW4zYTLcbP+SwQYCAQ=
|
||||
SHA256 (Pkgfile) = f4e5f36461301e29fa3a5bcf42e83f6d7fb9dc74a60de4b817542e8648a96cf6
|
||||
SHA256 (.footprint) = 337a262a51bfc457279d6f428dcbbb8bb7d563577d407d5ce982e923ef3dd450
|
||||
SHA256 (llvm-7.0.0.src.tar.xz) = 8bc1f844e6cbde1b652c19c1edebc1864456fd9c78b8c1bea038e51b363fe222
|
||||
SHA256 (llvm-config.h) = 2227b83b904348e5530f3475c978e11cb0f05a85024781dcb49ac86b65582707
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
name=llvm
|
||||
version=7.0.0
|
||||
release=1
|
||||
release=2
|
||||
source=(https://llvm.org/releases/$version/$name-$version.src.tar.xz
|
||||
llvm-config.h)
|
||||
|
||||
@ -27,6 +27,7 @@ build() {
|
||||
-DLLVM_ENABLE_OCAMLDOC=0 \
|
||||
-DLLVM_TARGETS_TO_BUILD='X86;AMDGPU;BPF' \
|
||||
-DLLVM_BUILD_LLVM_DYLIB=1 \
|
||||
-DLLVM_LINK_LLVM_DYLIB=1 \
|
||||
-DLLVM_INSTALL_UTILS=1 \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
|
Loading…
x
Reference in New Issue
Block a user