Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/llvm-ocaml/
Date: Fri, 04 Oct 2019 09:22:01
Message-Id: 1570180898.bf463b56e62ebb5b4660e317a35ae46027aed562.mgorny@gentoo
1 commit: bf463b56e62ebb5b4660e317a35ae46027aed562
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 4 09:21:38 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 4 09:21:38 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf463b56
7
8 dev-ml/llvm-ocaml: Update 10+ for dylib linking
9
10 Pass appropriate arguments to 10+ to link against dylib instead
11 of trying to link to non-existent static libs. This still needs a fix
12 upstream but the ebuild's broken anyway.
13
14 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
15
16 dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild | 5 ++++-
17 1 file changed, 4 insertions(+), 1 deletion(-)
18
19 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild
20 index 9a84b67cb52..b0d581bd9ff 100644
21 --- a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild
22 +++ b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild
23 @@ -65,8 +65,11 @@ src_configure() {
24 local mycmakeargs=(
25 -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
26
27 - -DBUILD_SHARED_LIBS=ON
28 + -DBUILD_SHARED_LIBS=OFF
29 + -DLLVM_BUILD_LLVM_DYLIB=ON
30 + -DLLVM_LINK_LLVM_DYLIB=ON
31 -DLLVM_OCAML_OUT_OF_TREE=ON
32 +
33 # cheap hack: LLVM combines both anyway, and the only difference
34 # is that the former list is explicitly verified at cmake time
35 -DLLVM_TARGETS_TO_BUILD=""