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: Tue, 28 Feb 2023 13:10:25
Message-Id: 1677589698.6089acbbe65c020208cac1f0ae99a7ba9c3170a7.mgorny@gentoo
1 commit: 6089acbbe65c020208cac1f0ae99a7ba9c3170a7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 28 13:08:18 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 28 13:08:18 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6089acbb
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 | 4 -
13 dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_rc2.ebuild | 112 ---------------------
14 .../llvm-ocaml-17.0.0_pre20230211.ebuild | 112 ---------------------
15 .../llvm-ocaml-17.0.0_pre20230218.ebuild | 112 ---------------------
16 4 files changed, 340 deletions(-)
17
18 diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest
19 index b3ac1c92b538..f60583ac2e4c 100644
20 --- a/dev-ml/llvm-ocaml/Manifest
21 +++ b/dev-ml/llvm-ocaml/Manifest
22 @@ -2,10 +2,6 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f
23 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
24 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5 SHA512 4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52
25 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2
26 -DIST llvm-project-16.0.0rc2.src.tar.xz 117917640 BLAKE2B 92c6b1daaa500339403dcf530efb23e1d869c7b9cd8677a6680e57d5d087fb54182f009d58bdda714b62a5866d7fe3b10deedc1e251fffdaae513706d95325af SHA512 c68bb7f2a8004666ecc5c55e89e2ca1252b384e6240a2b7c5588b74794ffc6ce93bb4b0db394abba6436cce04a6de301e80821aeda04d7aab49efb96b6f8cf40
27 -DIST llvm-project-16.0.0rc2.src.tar.xz.sig 566 BLAKE2B 35b2a8edf3392e1c0e9bf7f1a5e6e18fdda3d98a2164947cebf0c19d7d7c7a459901060345745dff794cf99bea243fec5cb625ca68d7c73d31ac01f18cbaa58c SHA512 4f6d43f00c3bce36c3a005441473fe37fe2ca97df4b8dd306045bd0d8bd14406ae7068a3dea54d4535eaa37b7ccca54b3f5b6f5aef70a7dfc23ed336d4ad408c
28 DIST llvm-project-16.0.0rc3.src.tar.xz 117914548 BLAKE2B 18ffa35eb73c7cc4626d7b6b7b30aade7171ee2e17fb8d72e79a67185e809f611fefa4cfef17e5cd16822a5a70de2222534dc9f146fc53987eb49ff6a9d98c18 SHA512 d14e5e5ec984a0dc0292a2d27440398b3e32f120c1579517054dcb1a05dbc4ac5f1c6d078a3d6ef8597a71af6f22863868680a972a571839dcd573418b4a4697
29 DIST llvm-project-16.0.0rc3.src.tar.xz.sig 566 BLAKE2B 43683d2d7b266a847516f71412bf6236a355462430330fc0da1d624fb8dfbc98bfc982d367baee74d5b4964a9e82e7a4a6ea84bdcff3996d246932f516cced1a SHA512 61adc4dc3eb5a4c11a7f96f9267ff37895e5845a08d48a609a03a2696c1b6bca5af5861a6f28de936c48e6d621bf282170589187f2cb593a912b9078300cf47c
30 -DIST llvm-project-22fb66eb94b643c858c2beecbcfac438a7fa29ed.tar.gz 179795537 BLAKE2B aef57ef739c52a8f8b2b327a8f6d8cce4734d9704018fb43a21468e56748e5d5b3d2d47fb4e95fd72b2af9f2e4be88839553e26fd7da08df60c5cc0f51c001d4 SHA512 9ed093ef7dac4891660aafbc5cad66bddefa796bff4dd70c792cc636268742142d82b84520ac2f5a5963521d7b9e4325440763ce0c88937f89722f07d3acd4b8
31 -DIST llvm-project-5e262d58c42668c78d932fab6bf75cf8c3b9d07e.tar.gz 179975303 BLAKE2B 184e7ff6e9a7de77d4a8c36c6910e4e3c7c5e9ff73ed6111ec4704dd457205278abb258ff37170e41a6b21c9ae3f243a80b34e4b17f8977fb9a42876db6465b7 SHA512 ec7e16a4d8f8292d1184ae08c1c5eda0dba1876e7d9c228eb0added5cde45f3094fde7eb1da662d436f85315850310cc0612210ff3ddf82967d5c2de0047a724
32 DIST llvm-project-b0676fb0fb0a44a4a1c4ec1f0270fef1f1842817.tar.gz 180277698 BLAKE2B d2c1e6a1942e51f5844c18605f38b005e9bb4123850a173e4c4b3d7b6a14f4986c7b276b40df4d0594ae04e869e92ba1a4269c5055c0229cfd28aa1bd709da4f SHA512 d1281b942dcc254641865f11b0c4fbd1d562d016681b6b7268549bed1cdb7d4536f743a8ed089095eaab9f4bfb9de624153f448bf13d0e22f8ea24a4d264df7b
33
34 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_rc2.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_rc2.ebuild
35 deleted file mode 100644
36 index aee649edd10c..000000000000
37 --- a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_rc2.ebuild
38 +++ /dev/null
39 @@ -1,112 +0,0 @@
40 -# Copyright 1999-2023 Gentoo Authors
41 -# Distributed under the terms of the GNU General Public License v2
42 -
43 -EAPI=8
44 -
45 -PYTHON_COMPAT=( python3_{9..11} )
46 -inherit cmake llvm llvm.org python-any-r1
47 -
48 -DESCRIPTION="OCaml bindings for LLVM"
49 -HOMEPAGE="https://llvm.org/"
50 -
51 -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
52 -SLOT="0/${PV}"
53 -KEYWORDS=""
54 -IUSE="debug test"
55 -RESTRICT="!test? ( test )"
56 -
57 -RDEPEND="
58 - >=dev-lang/ocaml-4.00.0:0=
59 - dev-ml/ocaml-ctypes:=
60 - ~sys-devel/llvm-${PV}:=[debug?]
61 - !sys-devel/llvm[ocaml(-)]
62 -"
63 -
64 -DEPEND="
65 - ${RDEPEND}
66 -"
67 -BDEPEND="
68 - ${PYTHON_DEPS}
69 - dev-lang/perl
70 - dev-ml/findlib
71 - >=dev-util/cmake-3.16
72 -"
73 -
74 -LLVM_COMPONENTS=( llvm cmake third-party )
75 -LLVM_USE_TARGETS=llvm
76 -llvm.org_set_globals
77 -
78 -pkg_setup() {
79 - LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
80 - python-any-r1_pkg_setup
81 -}
82 -
83 -src_configure() {
84 - local libdir=$(get_libdir)
85 - local mycmakeargs=(
86 - -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
87 -
88 - -DBUILD_SHARED_LIBS=OFF
89 - -DLLVM_BUILD_LLVM_DYLIB=ON
90 - -DLLVM_LINK_LLVM_DYLIB=ON
91 - -DLLVM_OCAML_OUT_OF_TREE=ON
92 -
93 - # cheap hack: LLVM combines both anyway, and the only difference
94 - # is that the former list is explicitly verified at cmake time
95 - -DLLVM_TARGETS_TO_BUILD=""
96 - -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
97 - -DLLVM_BUILD_TESTS=$(usex test)
98 -
99 - # disable various irrelevant deps and settings
100 - -DLLVM_ENABLE_FFI=OFF
101 - -DLLVM_ENABLE_TERMINFO=OFF
102 - -DHAVE_HISTEDIT_H=NO
103 - -DLLVM_ENABLE_ASSERTIONS=$(usex debug)
104 - -DLLVM_ENABLE_EH=ON
105 - -DLLVM_ENABLE_RTTI=ON
106 -
107 - -DLLVM_HOST_TRIPLE="${CHOST}"
108 -
109 - -DPython3_EXECUTABLE="${PYTHON}"
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-17.0.0_pre20230211.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-17.0.0_pre20230211.ebuild
154 deleted file mode 100644
155 index aee649edd10c..000000000000
156 --- a/dev-ml/llvm-ocaml/llvm-ocaml-17.0.0_pre20230211.ebuild
157 +++ /dev/null
158 @@ -1,112 +0,0 @@
159 -# Copyright 1999-2023 Gentoo Authors
160 -# Distributed under the terms of the GNU General Public License v2
161 -
162 -EAPI=8
163 -
164 -PYTHON_COMPAT=( python3_{9..11} )
165 -inherit cmake llvm llvm.org python-any-r1
166 -
167 -DESCRIPTION="OCaml bindings for LLVM"
168 -HOMEPAGE="https://llvm.org/"
169 -
170 -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
171 -SLOT="0/${PV}"
172 -KEYWORDS=""
173 -IUSE="debug test"
174 -RESTRICT="!test? ( test )"
175 -
176 -RDEPEND="
177 - >=dev-lang/ocaml-4.00.0:0=
178 - dev-ml/ocaml-ctypes:=
179 - ~sys-devel/llvm-${PV}:=[debug?]
180 - !sys-devel/llvm[ocaml(-)]
181 -"
182 -
183 -DEPEND="
184 - ${RDEPEND}
185 -"
186 -BDEPEND="
187 - ${PYTHON_DEPS}
188 - dev-lang/perl
189 - dev-ml/findlib
190 - >=dev-util/cmake-3.16
191 -"
192 -
193 -LLVM_COMPONENTS=( llvm cmake third-party )
194 -LLVM_USE_TARGETS=llvm
195 -llvm.org_set_globals
196 -
197 -pkg_setup() {
198 - LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
199 - python-any-r1_pkg_setup
200 -}
201 -
202 -src_configure() {
203 - local libdir=$(get_libdir)
204 - local mycmakeargs=(
205 - -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
206 -
207 - -DBUILD_SHARED_LIBS=OFF
208 - -DLLVM_BUILD_LLVM_DYLIB=ON
209 - -DLLVM_LINK_LLVM_DYLIB=ON
210 - -DLLVM_OCAML_OUT_OF_TREE=ON
211 -
212 - # cheap hack: LLVM combines both anyway, and the only difference
213 - # is that the former list is explicitly verified at cmake time
214 - -DLLVM_TARGETS_TO_BUILD=""
215 - -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
216 - -DLLVM_BUILD_TESTS=$(usex test)
217 -
218 - # disable various irrelevant deps and settings
219 - -DLLVM_ENABLE_FFI=OFF
220 - -DLLVM_ENABLE_TERMINFO=OFF
221 - -DHAVE_HISTEDIT_H=NO
222 - -DLLVM_ENABLE_ASSERTIONS=$(usex debug)
223 - -DLLVM_ENABLE_EH=ON
224 - -DLLVM_ENABLE_RTTI=ON
225 -
226 - -DLLVM_HOST_TRIPLE="${CHOST}"
227 -
228 - -DPython3_EXECUTABLE="${PYTHON}"
229 -
230 - # TODO: ocamldoc
231 - )
232 -
233 - use test && mycmakeargs+=(
234 - -DLLVM_LIT_ARGS="$(get_lit_flags)"
235 - )
236 -
237 - # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
238 - # also: custom rules for OCaml do not work for CPPFLAGS
239 - use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
240 - cmake_src_configure
241 -
242 - local llvm_libdir=$(llvm-config --libdir)
243 - # an ugly hack; TODO: figure out a way to pass -L to ocaml...
244 - cd "${BUILD_DIR}/${libdir}" || die
245 - ln -s "${llvm_libdir}"/*.so . || die
246 -
247 - if use test; then
248 - local llvm_bindir=$(llvm-config --bindir)
249 - # Force using system-installed tools.
250 - sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
251 - "${BUILD_DIR}"/test/lit.site.cfg.py || die
252 - fi
253 -}
254 -
255 -src_compile() {
256 - cmake_build ocaml_all
257 -}
258 -
259 -src_test() {
260 - # respect TMPDIR!
261 - local -x LIT_PRESERVES_TMP=1
262 - cmake_build check-llvm-bindings-ocaml
263 -}
264 -
265 -src_install() {
266 - DESTDIR="${D}" \
267 - cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
268 -
269 - dodoc bindings/ocaml/README.txt
270 -}
271
272 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-17.0.0_pre20230218.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-17.0.0_pre20230218.ebuild
273 deleted file mode 100644
274 index aee649edd10c..000000000000
275 --- a/dev-ml/llvm-ocaml/llvm-ocaml-17.0.0_pre20230218.ebuild
276 +++ /dev/null
277 @@ -1,112 +0,0 @@
278 -# Copyright 1999-2023 Gentoo Authors
279 -# Distributed under the terms of the GNU General Public License v2
280 -
281 -EAPI=8
282 -
283 -PYTHON_COMPAT=( python3_{9..11} )
284 -inherit cmake llvm llvm.org python-any-r1
285 -
286 -DESCRIPTION="OCaml bindings for LLVM"
287 -HOMEPAGE="https://llvm.org/"
288 -
289 -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
290 -SLOT="0/${PV}"
291 -KEYWORDS=""
292 -IUSE="debug test"
293 -RESTRICT="!test? ( test )"
294 -
295 -RDEPEND="
296 - >=dev-lang/ocaml-4.00.0:0=
297 - dev-ml/ocaml-ctypes:=
298 - ~sys-devel/llvm-${PV}:=[debug?]
299 - !sys-devel/llvm[ocaml(-)]
300 -"
301 -
302 -DEPEND="
303 - ${RDEPEND}
304 -"
305 -BDEPEND="
306 - ${PYTHON_DEPS}
307 - dev-lang/perl
308 - dev-ml/findlib
309 - >=dev-util/cmake-3.16
310 -"
311 -
312 -LLVM_COMPONENTS=( llvm cmake third-party )
313 -LLVM_USE_TARGETS=llvm
314 -llvm.org_set_globals
315 -
316 -pkg_setup() {
317 - LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
318 - python-any-r1_pkg_setup
319 -}
320 -
321 -src_configure() {
322 - local libdir=$(get_libdir)
323 - local mycmakeargs=(
324 - -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
325 -
326 - -DBUILD_SHARED_LIBS=OFF
327 - -DLLVM_BUILD_LLVM_DYLIB=ON
328 - -DLLVM_LINK_LLVM_DYLIB=ON
329 - -DLLVM_OCAML_OUT_OF_TREE=ON
330 -
331 - # cheap hack: LLVM combines both anyway, and the only difference
332 - # is that the former list is explicitly verified at cmake time
333 - -DLLVM_TARGETS_TO_BUILD=""
334 - -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
335 - -DLLVM_BUILD_TESTS=$(usex test)
336 -
337 - # disable various irrelevant deps and settings
338 - -DLLVM_ENABLE_FFI=OFF
339 - -DLLVM_ENABLE_TERMINFO=OFF
340 - -DHAVE_HISTEDIT_H=NO
341 - -DLLVM_ENABLE_ASSERTIONS=$(usex debug)
342 - -DLLVM_ENABLE_EH=ON
343 - -DLLVM_ENABLE_RTTI=ON
344 -
345 - -DLLVM_HOST_TRIPLE="${CHOST}"
346 -
347 - -DPython3_EXECUTABLE="${PYTHON}"
348 -
349 - # TODO: ocamldoc
350 - )
351 -
352 - use test && mycmakeargs+=(
353 - -DLLVM_LIT_ARGS="$(get_lit_flags)"
354 - )
355 -
356 - # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
357 - # also: custom rules for OCaml do not work for CPPFLAGS
358 - use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
359 - cmake_src_configure
360 -
361 - local llvm_libdir=$(llvm-config --libdir)
362 - # an ugly hack; TODO: figure out a way to pass -L to ocaml...
363 - cd "${BUILD_DIR}/${libdir}" || die
364 - ln -s "${llvm_libdir}"/*.so . || die
365 -
366 - if use test; then
367 - local llvm_bindir=$(llvm-config --bindir)
368 - # Force using system-installed tools.
369 - sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
370 - "${BUILD_DIR}"/test/lit.site.cfg.py || die
371 - fi
372 -}
373 -
374 -src_compile() {
375 - cmake_build ocaml_all
376 -}
377 -
378 -src_test() {
379 - # respect TMPDIR!
380 - local -x LIT_PRESERVES_TMP=1
381 - cmake_build check-llvm-bindings-ocaml
382 -}
383 -
384 -src_install() {
385 - DESTDIR="${D}" \
386 - cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
387 -
388 - dodoc bindings/ocaml/README.txt
389 -}