1 |
Signed-off-by: Michał Górny <mgorny@g.o> |
2 |
--- |
3 |
dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.9999.ebuild | 17 ++--------------- |
4 |
dev-ml/llvm-ocaml/llvm-ocaml-10.0.1_rc1.ebuild | 17 ++--------------- |
5 |
dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild | 17 ++--------------- |
6 |
3 files changed, 6 insertions(+), 45 deletions(-) |
7 |
|
8 |
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.9999.ebuild |
9 |
index c87d9f13cf31..c7b4967353fd 100644 |
10 |
--- a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.9999.ebuild |
11 |
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.9999.ebuild |
12 |
@@ -4,7 +4,7 @@ |
13 |
EAPI=7 |
14 |
|
15 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
16 |
-inherit cmake-utils llvm llvm.org multiprocessing python-any-r1 |
17 |
+inherit cmake-utils llvm llvm.org python-any-r1 |
18 |
|
19 |
DESCRIPTION="OCaml bindings for LLVM" |
20 |
HOMEPAGE="https://llvm.org/" |
21 |
@@ -38,24 +38,11 @@ BDEPEND=" |
22 |
test? ( dev-ml/ounit ) |
23 |
${PYTHON_DEPS}" |
24 |
|
25 |
-# least intrusive of all |
26 |
-CMAKE_BUILD_TYPE=RelWithDebInfo |
27 |
- |
28 |
pkg_setup() { |
29 |
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup |
30 |
python-any-r1_pkg_setup |
31 |
} |
32 |
|
33 |
-src_prepare() { |
34 |
- # Python is needed to run tests using lit |
35 |
- python_setup |
36 |
- |
37 |
- # cmake eclasses suck by forcing ${S} here |
38 |
- CMAKE_USE_DIR=${S} \ |
39 |
- S=${WORKDIR} \ |
40 |
- cmake-utils_src_prepare |
41 |
-} |
42 |
- |
43 |
src_configure() { |
44 |
local libdir=$(get_libdir) |
45 |
local mycmakeargs=( |
46 |
@@ -89,7 +76,7 @@ src_configure() { |
47 |
) |
48 |
|
49 |
use test && mycmakeargs+=( |
50 |
- -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" |
51 |
+ -DLLVM_LIT_ARGS="$(get_lit_flags)" |
52 |
) |
53 |
|
54 |
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 |
55 |
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1_rc1.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1_rc1.ebuild |
56 |
index ff77167a7661..7cff2bc42841 100644 |
57 |
--- a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1_rc1.ebuild |
58 |
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1_rc1.ebuild |
59 |
@@ -4,7 +4,7 @@ |
60 |
EAPI=7 |
61 |
|
62 |
PYTHON_COMPAT=( python3_{6..9} ) |
63 |
-inherit cmake llvm llvm.org multiprocessing python-any-r1 |
64 |
+inherit cmake llvm llvm.org python-any-r1 |
65 |
|
66 |
DESCRIPTION="OCaml bindings for LLVM" |
67 |
HOMEPAGE="https://llvm.org/" |
68 |
@@ -38,24 +38,11 @@ BDEPEND=" |
69 |
test? ( dev-ml/ounit ) |
70 |
${PYTHON_DEPS}" |
71 |
|
72 |
-# least intrusive of all |
73 |
-CMAKE_BUILD_TYPE=RelWithDebInfo |
74 |
- |
75 |
pkg_setup() { |
76 |
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup |
77 |
python-any-r1_pkg_setup |
78 |
} |
79 |
|
80 |
-src_prepare() { |
81 |
- # Python is needed to run tests using lit |
82 |
- python_setup |
83 |
- |
84 |
- # cmake eclasses suck by forcing ${S} here |
85 |
- CMAKE_USE_DIR=${S} \ |
86 |
- S=${WORKDIR} \ |
87 |
- cmake_src_prepare |
88 |
-} |
89 |
- |
90 |
src_configure() { |
91 |
local libdir=$(get_libdir) |
92 |
local mycmakeargs=( |
93 |
@@ -89,7 +76,7 @@ src_configure() { |
94 |
) |
95 |
|
96 |
use test && mycmakeargs+=( |
97 |
- -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" |
98 |
+ -DLLVM_LIT_ARGS="$(get_lit_flags)" |
99 |
) |
100 |
|
101 |
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 |
102 |
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild |
103 |
index 5a10d4d1de5c..f10bf23e527d 100644 |
104 |
--- a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild |
105 |
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild |
106 |
@@ -4,7 +4,7 @@ |
107 |
EAPI=7 |
108 |
|
109 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
110 |
-inherit cmake-utils llvm llvm.org multiprocessing python-any-r1 |
111 |
+inherit cmake-utils llvm llvm.org python-any-r1 |
112 |
|
113 |
DESCRIPTION="OCaml bindings for LLVM" |
114 |
HOMEPAGE="https://llvm.org/" |
115 |
@@ -38,24 +38,11 @@ BDEPEND=" |
116 |
test? ( dev-ml/ounit ) |
117 |
${PYTHON_DEPS}" |
118 |
|
119 |
-# least intrusive of all |
120 |
-CMAKE_BUILD_TYPE=RelWithDebInfo |
121 |
- |
122 |
pkg_setup() { |
123 |
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup |
124 |
python-any-r1_pkg_setup |
125 |
} |
126 |
|
127 |
-src_prepare() { |
128 |
- # Python is needed to run tests using lit |
129 |
- python_setup |
130 |
- |
131 |
- # cmake eclasses suck by forcing ${S} here |
132 |
- CMAKE_USE_DIR=${S} \ |
133 |
- S=${WORKDIR} \ |
134 |
- cmake-utils_src_prepare |
135 |
-} |
136 |
- |
137 |
src_configure() { |
138 |
local libdir=$(get_libdir) |
139 |
local mycmakeargs=( |
140 |
@@ -89,7 +76,7 @@ src_configure() { |
141 |
) |
142 |
|
143 |
use test && mycmakeargs+=( |
144 |
- -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" |
145 |
+ -DLLVM_LIT_ARGS="$(get_lit_flags)" |
146 |
) |
147 |
|
148 |
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 |
149 |
-- |
150 |
2.27.0 |