1 |
commit: 08d6150a0956093c9a11655671b283ea0edaa389 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 12 09:16:29 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 12 12:38:24 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08d6150a |
7 |
|
8 |
dev-ml/llvm-ocaml: Remove 11.0.0 RCs |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-ml/llvm-ocaml/Manifest | 3 - |
13 |
dev-ml/llvm-ocaml/llvm-ocaml-11.0.0_rc3.ebuild | 115 ------------------------- |
14 |
dev-ml/llvm-ocaml/llvm-ocaml-11.0.0_rc4.ebuild | 115 ------------------------- |
15 |
dev-ml/llvm-ocaml/llvm-ocaml-11.0.0_rc6.ebuild | 115 ------------------------- |
16 |
4 files changed, 348 deletions(-) |
17 |
|
18 |
diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest |
19 |
index dc8a7ae8e29..52eb105e0cf 100644 |
20 |
--- a/dev-ml/llvm-ocaml/Manifest |
21 |
+++ b/dev-ml/llvm-ocaml/Manifest |
22 |
@@ -1,7 +1,4 @@ |
23 |
DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191 SHA512 baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b00004e531ca7e4b3115a26c0e61c575cf2303a0 |
24 |
DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1 SHA512 48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151 |
25 |
-DIST llvmorg-11.0.0-rc3.tar.gz 122766783 BLAKE2B 052fdc864fed52692141284ebdc41d52d21fbeaf24ac5ed3e67701537baa683bae61b1c06de68322e0578a27a1f5a8856088cdc001d2b8d34d2ec88ae65ff739 SHA512 a28ce74775373c63fe23b3116cd25db0efb95c6fdb60e56f2522659a404a59576f3d9429a109cb0f90534927259289aa1c712673f36f92272d642bf8dce5699f |
26 |
-DIST llvmorg-11.0.0-rc4.tar.gz 122768150 BLAKE2B e92417b6e1775a10c196534518036de6393e3cb9e0e656d4f864e7870be8fb0dad3f4cf170345e653ba60f36172df117977d5dfebe3d9ee7ec2c160d3dc9c5cd SHA512 ed2aee9f6d0bb887f27840158e9f95d94c9ad3981a0388a33fcd3e405f5072134a02999075238b6a2b8803149aa08ac790214605b186c2cc2d4827ba53c00de1 |
27 |
-DIST llvmorg-11.0.0-rc6.tar.gz 122769521 BLAKE2B 0d03f385447902846dcb8150bda85ac0ab42153f63bb653befc18ed1cba357493065777750447b0ac71c077f61ea8c8f7a4c313ea5f3079926ffd012ace0debd SHA512 249b8e685cfc45a651f4dbd777b10298251c77476b57f9657860644ded612f810224d16879225d17b7a6ac9d584d63d53a33ac114c38e1cf86dd9e8d0faed9a9 |
28 |
DIST llvmorg-11.0.0.tar.gz 122743665 BLAKE2B 3f95570240789fd68ddb747df817f5c6cdc9da40911bbe9ee3531c15ada9165e5002b1c2f778cf8735858485ea05a8754e3d3a5f4b15bdd6cb33d64a14692984 SHA512 b6d38871ccce0e086e27d35e42887618d68e57d8274735c59e3eabc42dee352412489296293f8d5169fe0044936345915ee7da61ebdc64ec10f7737f6ecd90f2 |
29 |
DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f SHA512 fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59 |
30 |
|
31 |
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0_rc3.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0_rc3.ebuild |
32 |
deleted file mode 100644 |
33 |
index 575154be604..00000000000 |
34 |
--- a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0_rc3.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,115 +0,0 @@ |
37 |
-# Copyright 1999-2020 Gentoo Authors |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=7 |
41 |
- |
42 |
-PYTHON_COMPAT=( python3_{6..9} ) |
43 |
-inherit cmake llvm llvm.org python-any-r1 |
44 |
- |
45 |
-DESCRIPTION="OCaml bindings for LLVM" |
46 |
-HOMEPAGE="https://llvm.org/" |
47 |
-LLVM_COMPONENTS=( llvm ) |
48 |
-llvm.org_set_globals |
49 |
- |
50 |
-# Keep in sync with sys-devel/llvm |
51 |
-ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC VE ) |
52 |
-ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430 |
53 |
- NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore |
54 |
- "${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" ) |
55 |
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" ) |
56 |
-LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?} |
57 |
- |
58 |
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" |
59 |
-SLOT="0/${PV}" |
60 |
-KEYWORDS="" |
61 |
-IUSE="debug test ${ALL_LLVM_TARGETS[*]}" |
62 |
-REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )" |
63 |
-RESTRICT="!test? ( test )" |
64 |
- |
65 |
-RDEPEND=" |
66 |
- >=dev-lang/ocaml-4.00.0:0= |
67 |
- dev-ml/ocaml-ctypes:= |
68 |
- ~sys-devel/llvm-${PV}:=[${LLVM_TARGET_USEDEPS// /,},debug?] |
69 |
- !sys-devel/llvm[ocaml(-)]" |
70 |
-DEPEND="${RDEPEND}" |
71 |
-BDEPEND=" |
72 |
- dev-lang/perl |
73 |
- dev-ml/findlib |
74 |
- test? ( dev-ml/ounit ) |
75 |
- ${PYTHON_DEPS}" |
76 |
- |
77 |
-pkg_setup() { |
78 |
- LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup |
79 |
- python-any-r1_pkg_setup |
80 |
-} |
81 |
- |
82 |
-src_configure() { |
83 |
- local libdir=$(get_libdir) |
84 |
- local mycmakeargs=( |
85 |
- -DLLVM_LIBDIR_SUFFIX=${libdir#lib} |
86 |
- |
87 |
- -DBUILD_SHARED_LIBS=OFF |
88 |
- -DLLVM_BUILD_LLVM_DYLIB=ON |
89 |
- -DLLVM_LINK_LLVM_DYLIB=ON |
90 |
- -DLLVM_OCAML_OUT_OF_TREE=ON |
91 |
- |
92 |
- # cheap hack: LLVM combines both anyway, and the only difference |
93 |
- # is that the former list is explicitly verified at cmake time |
94 |
- -DLLVM_TARGETS_TO_BUILD="" |
95 |
- -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" |
96 |
- -DLLVM_BUILD_TESTS=$(usex test) |
97 |
- |
98 |
- # disable various irrelevant deps and settings |
99 |
- -DLLVM_ENABLE_FFI=OFF |
100 |
- -DLLVM_ENABLE_TERMINFO=OFF |
101 |
- -DHAVE_HISTEDIT_H=NO |
102 |
- -DLLVM_ENABLE_ASSERTIONS=$(usex debug) |
103 |
- -DLLVM_ENABLE_EH=ON |
104 |
- -DLLVM_ENABLE_RTTI=ON |
105 |
- |
106 |
- -DLLVM_HOST_TRIPLE="${CHOST}" |
107 |
- |
108 |
- # disable go bindings |
109 |
- -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND |
110 |
- |
111 |
- # TODO: ocamldoc |
112 |
- ) |
113 |
- |
114 |
- use test && mycmakeargs+=( |
115 |
- -DLLVM_LIT_ARGS="$(get_lit_flags)" |
116 |
- ) |
117 |
- |
118 |
- # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 |
119 |
- # also: custom rules for OCaml do not work for CPPFLAGS |
120 |
- use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG" |
121 |
- cmake_src_configure |
122 |
- |
123 |
- local llvm_libdir=$(llvm-config --libdir) |
124 |
- # an ugly hack; TODO: figure out a way to pass -L to ocaml... |
125 |
- cd "${BUILD_DIR}/${libdir}" || die |
126 |
- ln -s "${llvm_libdir}"/*.so . || die |
127 |
- |
128 |
- if use test; then |
129 |
- local llvm_bindir=$(llvm-config --bindir) |
130 |
- # Force using system-installed tools. |
131 |
- sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \ |
132 |
- "${BUILD_DIR}"/test/lit.site.cfg.py || die |
133 |
- fi |
134 |
-} |
135 |
- |
136 |
-src_compile() { |
137 |
- cmake_build ocaml_all |
138 |
-} |
139 |
- |
140 |
-src_test() { |
141 |
- # respect TMPDIR! |
142 |
- local -x LIT_PRESERVES_TMP=1 |
143 |
- cmake_build check-llvm-bindings-ocaml |
144 |
-} |
145 |
- |
146 |
-src_install() { |
147 |
- DESTDIR="${D}" \ |
148 |
- cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die |
149 |
- |
150 |
- dodoc bindings/ocaml/README.txt |
151 |
-} |
152 |
|
153 |
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0_rc4.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0_rc4.ebuild |
154 |
deleted file mode 100644 |
155 |
index 575154be604..00000000000 |
156 |
--- a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0_rc4.ebuild |
157 |
+++ /dev/null |
158 |
@@ -1,115 +0,0 @@ |
159 |
-# Copyright 1999-2020 Gentoo Authors |
160 |
-# Distributed under the terms of the GNU General Public License v2 |
161 |
- |
162 |
-EAPI=7 |
163 |
- |
164 |
-PYTHON_COMPAT=( python3_{6..9} ) |
165 |
-inherit cmake llvm llvm.org python-any-r1 |
166 |
- |
167 |
-DESCRIPTION="OCaml bindings for LLVM" |
168 |
-HOMEPAGE="https://llvm.org/" |
169 |
-LLVM_COMPONENTS=( llvm ) |
170 |
-llvm.org_set_globals |
171 |
- |
172 |
-# Keep in sync with sys-devel/llvm |
173 |
-ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC VE ) |
174 |
-ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430 |
175 |
- NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore |
176 |
- "${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" ) |
177 |
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" ) |
178 |
-LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?} |
179 |
- |
180 |
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" |
181 |
-SLOT="0/${PV}" |
182 |
-KEYWORDS="" |
183 |
-IUSE="debug test ${ALL_LLVM_TARGETS[*]}" |
184 |
-REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )" |
185 |
-RESTRICT="!test? ( test )" |
186 |
- |
187 |
-RDEPEND=" |
188 |
- >=dev-lang/ocaml-4.00.0:0= |
189 |
- dev-ml/ocaml-ctypes:= |
190 |
- ~sys-devel/llvm-${PV}:=[${LLVM_TARGET_USEDEPS// /,},debug?] |
191 |
- !sys-devel/llvm[ocaml(-)]" |
192 |
-DEPEND="${RDEPEND}" |
193 |
-BDEPEND=" |
194 |
- dev-lang/perl |
195 |
- dev-ml/findlib |
196 |
- test? ( dev-ml/ounit ) |
197 |
- ${PYTHON_DEPS}" |
198 |
- |
199 |
-pkg_setup() { |
200 |
- LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup |
201 |
- python-any-r1_pkg_setup |
202 |
-} |
203 |
- |
204 |
-src_configure() { |
205 |
- local libdir=$(get_libdir) |
206 |
- local mycmakeargs=( |
207 |
- -DLLVM_LIBDIR_SUFFIX=${libdir#lib} |
208 |
- |
209 |
- -DBUILD_SHARED_LIBS=OFF |
210 |
- -DLLVM_BUILD_LLVM_DYLIB=ON |
211 |
- -DLLVM_LINK_LLVM_DYLIB=ON |
212 |
- -DLLVM_OCAML_OUT_OF_TREE=ON |
213 |
- |
214 |
- # cheap hack: LLVM combines both anyway, and the only difference |
215 |
- # is that the former list is explicitly verified at cmake time |
216 |
- -DLLVM_TARGETS_TO_BUILD="" |
217 |
- -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" |
218 |
- -DLLVM_BUILD_TESTS=$(usex test) |
219 |
- |
220 |
- # disable various irrelevant deps and settings |
221 |
- -DLLVM_ENABLE_FFI=OFF |
222 |
- -DLLVM_ENABLE_TERMINFO=OFF |
223 |
- -DHAVE_HISTEDIT_H=NO |
224 |
- -DLLVM_ENABLE_ASSERTIONS=$(usex debug) |
225 |
- -DLLVM_ENABLE_EH=ON |
226 |
- -DLLVM_ENABLE_RTTI=ON |
227 |
- |
228 |
- -DLLVM_HOST_TRIPLE="${CHOST}" |
229 |
- |
230 |
- # disable go bindings |
231 |
- -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND |
232 |
- |
233 |
- # TODO: ocamldoc |
234 |
- ) |
235 |
- |
236 |
- use test && mycmakeargs+=( |
237 |
- -DLLVM_LIT_ARGS="$(get_lit_flags)" |
238 |
- ) |
239 |
- |
240 |
- # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 |
241 |
- # also: custom rules for OCaml do not work for CPPFLAGS |
242 |
- use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG" |
243 |
- cmake_src_configure |
244 |
- |
245 |
- local llvm_libdir=$(llvm-config --libdir) |
246 |
- # an ugly hack; TODO: figure out a way to pass -L to ocaml... |
247 |
- cd "${BUILD_DIR}/${libdir}" || die |
248 |
- ln -s "${llvm_libdir}"/*.so . || die |
249 |
- |
250 |
- if use test; then |
251 |
- local llvm_bindir=$(llvm-config --bindir) |
252 |
- # Force using system-installed tools. |
253 |
- sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \ |
254 |
- "${BUILD_DIR}"/test/lit.site.cfg.py || die |
255 |
- fi |
256 |
-} |
257 |
- |
258 |
-src_compile() { |
259 |
- cmake_build ocaml_all |
260 |
-} |
261 |
- |
262 |
-src_test() { |
263 |
- # respect TMPDIR! |
264 |
- local -x LIT_PRESERVES_TMP=1 |
265 |
- cmake_build check-llvm-bindings-ocaml |
266 |
-} |
267 |
- |
268 |
-src_install() { |
269 |
- DESTDIR="${D}" \ |
270 |
- cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die |
271 |
- |
272 |
- dodoc bindings/ocaml/README.txt |
273 |
-} |
274 |
|
275 |
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0_rc6.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0_rc6.ebuild |
276 |
deleted file mode 100644 |
277 |
index 575154be604..00000000000 |
278 |
--- a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0_rc6.ebuild |
279 |
+++ /dev/null |
280 |
@@ -1,115 +0,0 @@ |
281 |
-# Copyright 1999-2020 Gentoo Authors |
282 |
-# Distributed under the terms of the GNU General Public License v2 |
283 |
- |
284 |
-EAPI=7 |
285 |
- |
286 |
-PYTHON_COMPAT=( python3_{6..9} ) |
287 |
-inherit cmake llvm llvm.org python-any-r1 |
288 |
- |
289 |
-DESCRIPTION="OCaml bindings for LLVM" |
290 |
-HOMEPAGE="https://llvm.org/" |
291 |
-LLVM_COMPONENTS=( llvm ) |
292 |
-llvm.org_set_globals |
293 |
- |
294 |
-# Keep in sync with sys-devel/llvm |
295 |
-ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC VE ) |
296 |
-ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430 |
297 |
- NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore |
298 |
- "${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" ) |
299 |
-ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" ) |
300 |
-LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?} |
301 |
- |
302 |
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" |
303 |
-SLOT="0/${PV}" |
304 |
-KEYWORDS="" |
305 |
-IUSE="debug test ${ALL_LLVM_TARGETS[*]}" |
306 |
-REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )" |
307 |
-RESTRICT="!test? ( test )" |
308 |
- |
309 |
-RDEPEND=" |
310 |
- >=dev-lang/ocaml-4.00.0:0= |
311 |
- dev-ml/ocaml-ctypes:= |
312 |
- ~sys-devel/llvm-${PV}:=[${LLVM_TARGET_USEDEPS// /,},debug?] |
313 |
- !sys-devel/llvm[ocaml(-)]" |
314 |
-DEPEND="${RDEPEND}" |
315 |
-BDEPEND=" |
316 |
- dev-lang/perl |
317 |
- dev-ml/findlib |
318 |
- test? ( dev-ml/ounit ) |
319 |
- ${PYTHON_DEPS}" |
320 |
- |
321 |
-pkg_setup() { |
322 |
- LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup |
323 |
- python-any-r1_pkg_setup |
324 |
-} |
325 |
- |
326 |
-src_configure() { |
327 |
- local libdir=$(get_libdir) |
328 |
- local mycmakeargs=( |
329 |
- -DLLVM_LIBDIR_SUFFIX=${libdir#lib} |
330 |
- |
331 |
- -DBUILD_SHARED_LIBS=OFF |
332 |
- -DLLVM_BUILD_LLVM_DYLIB=ON |
333 |
- -DLLVM_LINK_LLVM_DYLIB=ON |
334 |
- -DLLVM_OCAML_OUT_OF_TREE=ON |
335 |
- |
336 |
- # cheap hack: LLVM combines both anyway, and the only difference |
337 |
- # is that the former list is explicitly verified at cmake time |
338 |
- -DLLVM_TARGETS_TO_BUILD="" |
339 |
- -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" |
340 |
- -DLLVM_BUILD_TESTS=$(usex test) |
341 |
- |
342 |
- # disable various irrelevant deps and settings |
343 |
- -DLLVM_ENABLE_FFI=OFF |
344 |
- -DLLVM_ENABLE_TERMINFO=OFF |
345 |
- -DHAVE_HISTEDIT_H=NO |
346 |
- -DLLVM_ENABLE_ASSERTIONS=$(usex debug) |
347 |
- -DLLVM_ENABLE_EH=ON |
348 |
- -DLLVM_ENABLE_RTTI=ON |
349 |
- |
350 |
- -DLLVM_HOST_TRIPLE="${CHOST}" |
351 |
- |
352 |
- # disable go bindings |
353 |
- -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND |
354 |
- |
355 |
- # TODO: ocamldoc |
356 |
- ) |
357 |
- |
358 |
- use test && mycmakeargs+=( |
359 |
- -DLLVM_LIT_ARGS="$(get_lit_flags)" |
360 |
- ) |
361 |
- |
362 |
- # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 |
363 |
- # also: custom rules for OCaml do not work for CPPFLAGS |
364 |
- use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG" |
365 |
- cmake_src_configure |
366 |
- |
367 |
- local llvm_libdir=$(llvm-config --libdir) |
368 |
- # an ugly hack; TODO: figure out a way to pass -L to ocaml... |
369 |
- cd "${BUILD_DIR}/${libdir}" || die |
370 |
- ln -s "${llvm_libdir}"/*.so . || die |
371 |
- |
372 |
- if use test; then |
373 |
- local llvm_bindir=$(llvm-config --bindir) |
374 |
- # Force using system-installed tools. |
375 |
- sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \ |
376 |
- "${BUILD_DIR}"/test/lit.site.cfg.py || die |
377 |
- fi |
378 |
-} |
379 |
- |
380 |
-src_compile() { |
381 |
- cmake_build ocaml_all |
382 |
-} |
383 |
- |
384 |
-src_test() { |
385 |
- # respect TMPDIR! |
386 |
- local -x LIT_PRESERVES_TMP=1 |
387 |
- cmake_build check-llvm-bindings-ocaml |
388 |
-} |
389 |
- |
390 |
-src_install() { |
391 |
- DESTDIR="${D}" \ |
392 |
- cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die |
393 |
- |
394 |
- dodoc bindings/ocaml/README.txt |
395 |
-} |