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: Mon, 20 Mar 2023 13:11:06
Message-Id: 1679317852.e453bcd6e80118e6ca2dc765b4c63107c24ea668.mgorny@gentoo
1 commit: e453bcd6e80118e6ca2dc765b4c63107c24ea668
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 20 13:09:05 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 20 13:10:52 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e453bcd6
7
8 dev-ml/llvm-ocaml: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-ml/llvm-ocaml/Manifest | 5 -
13 dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_rc3.ebuild | 112 ---------------------
14 dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_rc4.ebuild | 112 ---------------------
15 .../llvm-ocaml-17.0.0_pre20230304.ebuild | 112 ---------------------
16 4 files changed, 341 deletions(-)
17
18 diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest
19 index b1c047b45e06..52a376db7b69 100644
20 --- a/dev-ml/llvm-ocaml/Manifest
21 +++ b/dev-ml/llvm-ocaml/Manifest
22 @@ -4,9 +4,4 @@ DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78
23 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
24 DIST llvm-project-16.0.0.src.tar.xz 117933476 BLAKE2B fa09cd8f647ce0daf5a7eae9ac03b99594a9b3193b12065f43f9a6731875243f2f5b354136bcadcb31622b246054e94f880eec3dab0bcd6ae89973fa9dca845c SHA512 3f040abc1b03205693824aeff2ee6efb0cff25fe04bd5265141c093f294655a1f3fcda73cab9c57cbed7523c8f186a7e2484afce0792c55e90e3fb80450fabb7
25 DIST llvm-project-16.0.0.src.tar.xz.sig 566 BLAKE2B daba130aa5662fbf7cc2e7aa8fa6b64f9cb355a72330f7a01a21b86389c6f2f85ae93de19ff08ba3f1cfe2834d9a2b7648bdf659caba3afdb2a0d13984774a54 SHA512 38e2449dce20cfbf813d1a9a68b36807722ac8ebb5ee07360fa215b2de8534d2329d3e41cfc3ed33e59e36714b94a6683a6d8077950bcf0037973492e0820fb3
26 -DIST llvm-project-16.0.0rc3.src.tar.xz 117914548 BLAKE2B 18ffa35eb73c7cc4626d7b6b7b30aade7171ee2e17fb8d72e79a67185e809f611fefa4cfef17e5cd16822a5a70de2222534dc9f146fc53987eb49ff6a9d98c18 SHA512 d14e5e5ec984a0dc0292a2d27440398b3e32f120c1579517054dcb1a05dbc4ac5f1c6d078a3d6ef8597a71af6f22863868680a972a571839dcd573418b4a4697
27 -DIST llvm-project-16.0.0rc3.src.tar.xz.sig 566 BLAKE2B 43683d2d7b266a847516f71412bf6236a355462430330fc0da1d624fb8dfbc98bfc982d367baee74d5b4964a9e82e7a4a6ea84bdcff3996d246932f516cced1a SHA512 61adc4dc3eb5a4c11a7f96f9267ff37895e5845a08d48a609a03a2696c1b6bca5af5861a6f28de936c48e6d621bf282170589187f2cb593a912b9078300cf47c
28 -DIST llvm-project-16.0.0rc4.src.tar.xz 117930024 BLAKE2B 55cf032ad3ba52d2af0942fe1c627319ae95b466122d04b24a917c33e29139fae546d92c375715600190c02426b798803ead0ab7a97d86960cf98fca80e8815c SHA512 8d628205c5b93fe6683b67b97b5c7f98bae945bd87cccebcdac00ddd4362108bd171f077a5196242be0fb909c795592b34bfa1c96c50a744fb68f287fd9781cc
29 -DIST llvm-project-16.0.0rc4.src.tar.xz.sig 566 BLAKE2B bfcf39070f32e16cfeae699d95d06f184b1331c3af403340c31cc5a973a3bb1faec0b6342445176cebed5819ddf68e4abfdaa8542ec425b1c822fc8c03c03349 SHA512 2af72e3d771e2361873007a944dcccfe81fbdbc3025a2101e03cbc15f1a173d39ceb94c4ae8966b1d7564bf004ee9a5ffa032e2334c0cf7154aea1090d04b00f
30 -DIST llvm-project-2708869801ae00f4681f6b2d9d69b25b3fce26b6.tar.gz 180523586 BLAKE2B cf918d1e23f922d201a44531c9765b7d8ec2b3b8499ea7954845abcd5fa2687e85b3a34819a583c4f4a6d6e1baa49dbac0b4450cd6b9b322b0f13c88cd7da93c SHA512 18cb00e93d819993a925ae0467d382bc952d82c1eb92dbbb5bb3cdf87043269948670713734ddc3ea4ec50544e54dd11b6747496f7eaa02479374ab9ad075aa5
31 DIST llvm-project-4bf004e07e2b9d6e04e3f33e1b02628c679de664.tar.gz 180304467 BLAKE2B 6750855453b575eb8fcc861d5b24b144497bba62df9b9292ac586cf340e04b2b58290fe9df6d89142f29b56aa37ddeb3bd11cc3337e4dc985a4487954d1e2ffa SHA512 d8a87064ba0f92967df019e9345222b87cda81852a9599902cedc4a49ec7d9e2175c972b7fa6d19920489c1d309822f9c31c23bdce0376a8d40c71d57bcd5068
32
33 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_rc3.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_rc3.ebuild
34 deleted file mode 100644
35 index aee649edd10c..000000000000
36 --- a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_rc3.ebuild
37 +++ /dev/null
38 @@ -1,112 +0,0 @@
39 -# Copyright 1999-2023 Gentoo Authors
40 -# Distributed under the terms of the GNU General Public License v2
41 -
42 -EAPI=8
43 -
44 -PYTHON_COMPAT=( python3_{9..11} )
45 -inherit cmake llvm llvm.org python-any-r1
46 -
47 -DESCRIPTION="OCaml bindings for LLVM"
48 -HOMEPAGE="https://llvm.org/"
49 -
50 -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
51 -SLOT="0/${PV}"
52 -KEYWORDS=""
53 -IUSE="debug test"
54 -RESTRICT="!test? ( test )"
55 -
56 -RDEPEND="
57 - >=dev-lang/ocaml-4.00.0:0=
58 - dev-ml/ocaml-ctypes:=
59 - ~sys-devel/llvm-${PV}:=[debug?]
60 - !sys-devel/llvm[ocaml(-)]
61 -"
62 -
63 -DEPEND="
64 - ${RDEPEND}
65 -"
66 -BDEPEND="
67 - ${PYTHON_DEPS}
68 - dev-lang/perl
69 - dev-ml/findlib
70 - >=dev-util/cmake-3.16
71 -"
72 -
73 -LLVM_COMPONENTS=( llvm cmake third-party )
74 -LLVM_USE_TARGETS=llvm
75 -llvm.org_set_globals
76 -
77 -pkg_setup() {
78 - LLVM_MAX_SLOT=${LLVM_MAJOR} 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 - -DPython3_EXECUTABLE="${PYTHON}"
109 -
110 - # TODO: ocamldoc
111 - )
112 -
113 - use test && mycmakeargs+=(
114 - -DLLVM_LIT_ARGS="$(get_lit_flags)"
115 - )
116 -
117 - # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
118 - # also: custom rules for OCaml do not work for CPPFLAGS
119 - use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
120 - cmake_src_configure
121 -
122 - local llvm_libdir=$(llvm-config --libdir)
123 - # an ugly hack; TODO: figure out a way to pass -L to ocaml...
124 - cd "${BUILD_DIR}/${libdir}" || die
125 - ln -s "${llvm_libdir}"/*.so . || die
126 -
127 - if use test; then
128 - local llvm_bindir=$(llvm-config --bindir)
129 - # Force using system-installed tools.
130 - sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
131 - "${BUILD_DIR}"/test/lit.site.cfg.py || die
132 - fi
133 -}
134 -
135 -src_compile() {
136 - cmake_build ocaml_all
137 -}
138 -
139 -src_test() {
140 - # respect TMPDIR!
141 - local -x LIT_PRESERVES_TMP=1
142 - cmake_build check-llvm-bindings-ocaml
143 -}
144 -
145 -src_install() {
146 - DESTDIR="${D}" \
147 - cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
148 -
149 - dodoc bindings/ocaml/README.txt
150 -}
151
152 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_rc4.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_rc4.ebuild
153 deleted file mode 100644
154 index aee649edd10c..000000000000
155 --- a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_rc4.ebuild
156 +++ /dev/null
157 @@ -1,112 +0,0 @@
158 -# Copyright 1999-2023 Gentoo Authors
159 -# Distributed under the terms of the GNU General Public License v2
160 -
161 -EAPI=8
162 -
163 -PYTHON_COMPAT=( python3_{9..11} )
164 -inherit cmake llvm llvm.org python-any-r1
165 -
166 -DESCRIPTION="OCaml bindings for LLVM"
167 -HOMEPAGE="https://llvm.org/"
168 -
169 -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
170 -SLOT="0/${PV}"
171 -KEYWORDS=""
172 -IUSE="debug test"
173 -RESTRICT="!test? ( test )"
174 -
175 -RDEPEND="
176 - >=dev-lang/ocaml-4.00.0:0=
177 - dev-ml/ocaml-ctypes:=
178 - ~sys-devel/llvm-${PV}:=[debug?]
179 - !sys-devel/llvm[ocaml(-)]
180 -"
181 -
182 -DEPEND="
183 - ${RDEPEND}
184 -"
185 -BDEPEND="
186 - ${PYTHON_DEPS}
187 - dev-lang/perl
188 - dev-ml/findlib
189 - >=dev-util/cmake-3.16
190 -"
191 -
192 -LLVM_COMPONENTS=( llvm cmake third-party )
193 -LLVM_USE_TARGETS=llvm
194 -llvm.org_set_globals
195 -
196 -pkg_setup() {
197 - LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
198 - python-any-r1_pkg_setup
199 -}
200 -
201 -src_configure() {
202 - local libdir=$(get_libdir)
203 - local mycmakeargs=(
204 - -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
205 -
206 - -DBUILD_SHARED_LIBS=OFF
207 - -DLLVM_BUILD_LLVM_DYLIB=ON
208 - -DLLVM_LINK_LLVM_DYLIB=ON
209 - -DLLVM_OCAML_OUT_OF_TREE=ON
210 -
211 - # cheap hack: LLVM combines both anyway, and the only difference
212 - # is that the former list is explicitly verified at cmake time
213 - -DLLVM_TARGETS_TO_BUILD=""
214 - -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
215 - -DLLVM_BUILD_TESTS=$(usex test)
216 -
217 - # disable various irrelevant deps and settings
218 - -DLLVM_ENABLE_FFI=OFF
219 - -DLLVM_ENABLE_TERMINFO=OFF
220 - -DHAVE_HISTEDIT_H=NO
221 - -DLLVM_ENABLE_ASSERTIONS=$(usex debug)
222 - -DLLVM_ENABLE_EH=ON
223 - -DLLVM_ENABLE_RTTI=ON
224 -
225 - -DLLVM_HOST_TRIPLE="${CHOST}"
226 -
227 - -DPython3_EXECUTABLE="${PYTHON}"
228 -
229 - # TODO: ocamldoc
230 - )
231 -
232 - use test && mycmakeargs+=(
233 - -DLLVM_LIT_ARGS="$(get_lit_flags)"
234 - )
235 -
236 - # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
237 - # also: custom rules for OCaml do not work for CPPFLAGS
238 - use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
239 - cmake_src_configure
240 -
241 - local llvm_libdir=$(llvm-config --libdir)
242 - # an ugly hack; TODO: figure out a way to pass -L to ocaml...
243 - cd "${BUILD_DIR}/${libdir}" || die
244 - ln -s "${llvm_libdir}"/*.so . || die
245 -
246 - if use test; then
247 - local llvm_bindir=$(llvm-config --bindir)
248 - # Force using system-installed tools.
249 - sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
250 - "${BUILD_DIR}"/test/lit.site.cfg.py || die
251 - fi
252 -}
253 -
254 -src_compile() {
255 - cmake_build ocaml_all
256 -}
257 -
258 -src_test() {
259 - # respect TMPDIR!
260 - local -x LIT_PRESERVES_TMP=1
261 - cmake_build check-llvm-bindings-ocaml
262 -}
263 -
264 -src_install() {
265 - DESTDIR="${D}" \
266 - cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
267 -
268 - dodoc bindings/ocaml/README.txt
269 -}
270
271 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-17.0.0_pre20230304.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-17.0.0_pre20230304.ebuild
272 deleted file mode 100644
273 index aee649edd10c..000000000000
274 --- a/dev-ml/llvm-ocaml/llvm-ocaml-17.0.0_pre20230304.ebuild
275 +++ /dev/null
276 @@ -1,112 +0,0 @@
277 -# Copyright 1999-2023 Gentoo Authors
278 -# Distributed under the terms of the GNU General Public License v2
279 -
280 -EAPI=8
281 -
282 -PYTHON_COMPAT=( python3_{9..11} )
283 -inherit cmake llvm llvm.org python-any-r1
284 -
285 -DESCRIPTION="OCaml bindings for LLVM"
286 -HOMEPAGE="https://llvm.org/"
287 -
288 -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
289 -SLOT="0/${PV}"
290 -KEYWORDS=""
291 -IUSE="debug test"
292 -RESTRICT="!test? ( test )"
293 -
294 -RDEPEND="
295 - >=dev-lang/ocaml-4.00.0:0=
296 - dev-ml/ocaml-ctypes:=
297 - ~sys-devel/llvm-${PV}:=[debug?]
298 - !sys-devel/llvm[ocaml(-)]
299 -"
300 -
301 -DEPEND="
302 - ${RDEPEND}
303 -"
304 -BDEPEND="
305 - ${PYTHON_DEPS}
306 - dev-lang/perl
307 - dev-ml/findlib
308 - >=dev-util/cmake-3.16
309 -"
310 -
311 -LLVM_COMPONENTS=( llvm cmake third-party )
312 -LLVM_USE_TARGETS=llvm
313 -llvm.org_set_globals
314 -
315 -pkg_setup() {
316 - LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
317 - python-any-r1_pkg_setup
318 -}
319 -
320 -src_configure() {
321 - local libdir=$(get_libdir)
322 - local mycmakeargs=(
323 - -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
324 -
325 - -DBUILD_SHARED_LIBS=OFF
326 - -DLLVM_BUILD_LLVM_DYLIB=ON
327 - -DLLVM_LINK_LLVM_DYLIB=ON
328 - -DLLVM_OCAML_OUT_OF_TREE=ON
329 -
330 - # cheap hack: LLVM combines both anyway, and the only difference
331 - # is that the former list is explicitly verified at cmake time
332 - -DLLVM_TARGETS_TO_BUILD=""
333 - -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
334 - -DLLVM_BUILD_TESTS=$(usex test)
335 -
336 - # disable various irrelevant deps and settings
337 - -DLLVM_ENABLE_FFI=OFF
338 - -DLLVM_ENABLE_TERMINFO=OFF
339 - -DHAVE_HISTEDIT_H=NO
340 - -DLLVM_ENABLE_ASSERTIONS=$(usex debug)
341 - -DLLVM_ENABLE_EH=ON
342 - -DLLVM_ENABLE_RTTI=ON
343 -
344 - -DLLVM_HOST_TRIPLE="${CHOST}"
345 -
346 - -DPython3_EXECUTABLE="${PYTHON}"
347 -
348 - # TODO: ocamldoc
349 - )
350 -
351 - use test && mycmakeargs+=(
352 - -DLLVM_LIT_ARGS="$(get_lit_flags)"
353 - )
354 -
355 - # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
356 - # also: custom rules for OCaml do not work for CPPFLAGS
357 - use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
358 - cmake_src_configure
359 -
360 - local llvm_libdir=$(llvm-config --libdir)
361 - # an ugly hack; TODO: figure out a way to pass -L to ocaml...
362 - cd "${BUILD_DIR}/${libdir}" || die
363 - ln -s "${llvm_libdir}"/*.so . || die
364 -
365 - if use test; then
366 - local llvm_bindir=$(llvm-config --bindir)
367 - # Force using system-installed tools.
368 - sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
369 - "${BUILD_DIR}"/test/lit.site.cfg.py || die
370 - fi
371 -}
372 -
373 -src_compile() {
374 - cmake_build ocaml_all
375 -}
376 -
377 -src_test() {
378 - # respect TMPDIR!
379 - local -x LIT_PRESERVES_TMP=1
380 - cmake_build check-llvm-bindings-ocaml
381 -}
382 -
383 -src_install() {
384 - DESTDIR="${D}" \
385 - cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
386 -
387 - dodoc bindings/ocaml/README.txt
388 -}