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, 21 Jan 2022 15:38:37
Message-Id: 1642779460.4855fec58908ff8129661fda5b614dde28ee7262.mgorny@gentoo
1 commit: 4855fec58908ff8129661fda5b614dde28ee7262
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 21 12:15:49 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 21 15:37:40 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4855fec5
7
8 dev-ml/llvm-ocaml: Remove 13.0.1-rc{1,2}
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-ml/llvm-ocaml/Manifest | 2 -
13 dev-ml/llvm-ocaml/llvm-ocaml-13.0.1_rc1.ebuild | 112 -------------------------
14 dev-ml/llvm-ocaml/llvm-ocaml-13.0.1_rc2.ebuild | 112 -------------------------
15 3 files changed, 226 deletions(-)
16
17 diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest
18 index c7196ba54f0a..dd7644d62981 100644
19 --- a/dev-ml/llvm-ocaml/Manifest
20 +++ b/dev-ml/llvm-ocaml/Manifest
21 @@ -1,6 +1,4 @@
22 DIST llvmorg-11.1.0.tar.gz 122776532 BLAKE2B ca842ff4afff8f44c82b5e7383962a9c45ca1c93b64fa4c6ebcd70a1d3849dbad2b8e4e24fba02d144c6266d7fab3607ebc6999b28c229cb35256cf40f26a985 SHA512 9a8ce022a935eed42fa71a224f2a207122aadcbef58ee855fdb4825f879e7d028e4dcff22c19b9d336db1c8bf63fb84372d44981acf84615f757e54306c92b81
23 DIST llvmorg-12.0.1.tar.gz 134259748 BLAKE2B f41de787bc73ff2edfda1b22cc8602be6f65f37dd9e4c8888533cfa8c3ccdcf4f108aaab9de23ab0ab987966eb160f2a553a0bdff99461e71ddd5bfcd086090d SHA512 6eb0dc18e2c25935fabfdfc48b0114be0939158dfdef7b85b395fe2e71042672446af0e68750aae003c9847d10d1f63316fe95d3df738d18f249174292b1b9e1
24 DIST llvmorg-13.0.0.tar.gz 147270176 BLAKE2B 628f316b580e1edf3a58d4825b724df759e6ed2a4116802470c04562caefc392fa325c91f388036365a2e45a9595cca6d3557fab12984fc8bcfef29c9116d822 SHA512 8004c05d32b9720fb3391783621690c1df9bd1e97e72cbff9192ed88a84b0acd303b61432145fa917b5b5e548c8cee29b24ef8547dcc8677adf4816e7a8a0eb2
25 -DIST llvmorg-13.0.1-rc1.tar.gz 147284646 BLAKE2B 3a1d8d382de633b7f8fc998f8ad1e03c24b733aefc591615cbd34115d1d6d74962ae33bbf2224527b521a76930ffee425527225563a558a04173e9aa9487c781 SHA512 d487bfc9b898ad0046e0c94338d7757d8a05a1a84d683abfbc9ed4994c6d12caf88fd18575225e284070fc67b3ac0970ca6639e61b1a7cc2948b216a5364a22d
26 -DIST llvmorg-13.0.1-rc2.tar.gz 147304491 BLAKE2B 86b2c64e57e4aaab837229b25a95d5517ac077d22cf552d71ff6b996dbdbcd171ad51de7eb12d098b50a139beda4ace843727181a1c6978fc487215391e64a3a SHA512 0d890f3317504c8cef10e118b245e5a4c815cc19f07cbc511a66bde6c9b1f3d15c167942608a8987befe9115b24657d29f72305f9f2794385a7434b80167f40f
27 DIST llvmorg-13.0.1-rc3.tar.gz 147302323 BLAKE2B 9ac2f97568062d7dd618295a68d6e14898fcd69e2bb66290b999ceb8c12132371f4e9b59d8ba2b252e5e5cb249045676b24fc50c117b2afae20abab98f426582 SHA512 88a04ad02af2d41ec21c7a62bad21ee0e627b7276a16795875afd062ed29ac7fb4aadec5b5e48785a6502c9fd797a4b67d648a21f193c9f7602112870b10a3d1
28
29 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-13.0.1_rc1.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-13.0.1_rc1.ebuild
30 deleted file mode 100644
31 index d0039fc6ae95..000000000000
32 --- a/dev-ml/llvm-ocaml/llvm-ocaml-13.0.1_rc1.ebuild
33 +++ /dev/null
34 @@ -1,112 +0,0 @@
35 -# Copyright 1999-2021 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -PYTHON_COMPAT=( python3_{8..10} )
41 -inherit cmake llvm llvm.org python-any-r1
42 -
43 -DESCRIPTION="OCaml bindings for LLVM"
44 -HOMEPAGE="https://llvm.org/"
45 -
46 -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
47 -SLOT="0/${PV}"
48 -KEYWORDS=""
49 -IUSE="debug test"
50 -RESTRICT="!test? ( test )"
51 -
52 -RDEPEND="
53 - >=dev-lang/ocaml-4.00.0:0=
54 - dev-ml/ocaml-ctypes:=
55 - ~sys-devel/llvm-${PV}:=[debug?]
56 - !sys-devel/llvm[ocaml(-)]"
57 -
58 -DEPEND="${RDEPEND}"
59 -BDEPEND="
60 - dev-lang/perl
61 - dev-ml/findlib
62 - >=dev-util/cmake-3.16
63 - test? ( dev-ml/ounit2 )
64 - ${PYTHON_DEPS}"
65 -
66 -LLVM_COMPONENTS=( llvm )
67 -LLVM_USE_TARGETS=llvm
68 -llvm.org_set_globals
69 -
70 -pkg_setup() {
71 - LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
72 - python-any-r1_pkg_setup
73 -}
74 -
75 -src_configure() {
76 - local libdir=$(get_libdir)
77 - local mycmakeargs=(
78 - -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
79 -
80 - -DBUILD_SHARED_LIBS=OFF
81 - -DLLVM_BUILD_LLVM_DYLIB=ON
82 - -DLLVM_LINK_LLVM_DYLIB=ON
83 - -DLLVM_OCAML_OUT_OF_TREE=ON
84 -
85 - # cheap hack: LLVM combines both anyway, and the only difference
86 - # is that the former list is explicitly verified at cmake time
87 - -DLLVM_TARGETS_TO_BUILD=""
88 - -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
89 - -DLLVM_BUILD_TESTS=$(usex test)
90 -
91 - # disable various irrelevant deps and settings
92 - -DLLVM_ENABLE_FFI=OFF
93 - -DLLVM_ENABLE_TERMINFO=OFF
94 - -DHAVE_HISTEDIT_H=NO
95 - -DLLVM_ENABLE_ASSERTIONS=$(usex debug)
96 - -DLLVM_ENABLE_EH=ON
97 - -DLLVM_ENABLE_RTTI=ON
98 -
99 - -DLLVM_HOST_TRIPLE="${CHOST}"
100 -
101 - -DPython3_EXECUTABLE="${PYTHON}"
102 -
103 - # disable go bindings
104 - -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
105 -
106 - # TODO: ocamldoc
107 - )
108 -
109 - use test && mycmakeargs+=(
110 - -DLLVM_LIT_ARGS="$(get_lit_flags)"
111 - )
112 -
113 - # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
114 - # also: custom rules for OCaml do not work for CPPFLAGS
115 - use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
116 - cmake_src_configure
117 -
118 - local llvm_libdir=$(llvm-config --libdir)
119 - # an ugly hack; TODO: figure out a way to pass -L to ocaml...
120 - cd "${BUILD_DIR}/${libdir}" || die
121 - ln -s "${llvm_libdir}"/*.so . || die
122 -
123 - if use test; then
124 - local llvm_bindir=$(llvm-config --bindir)
125 - # Force using system-installed tools.
126 - sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
127 - "${BUILD_DIR}"/test/lit.site.cfg.py || die
128 - fi
129 -}
130 -
131 -src_compile() {
132 - cmake_build ocaml_all
133 -}
134 -
135 -src_test() {
136 - # respect TMPDIR!
137 - local -x LIT_PRESERVES_TMP=1
138 - cmake_build check-llvm-bindings-ocaml
139 -}
140 -
141 -src_install() {
142 - DESTDIR="${D}" \
143 - cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
144 -
145 - dodoc bindings/ocaml/README.txt
146 -}
147
148 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-13.0.1_rc2.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-13.0.1_rc2.ebuild
149 deleted file mode 100644
150 index 5551d8610615..000000000000
151 --- a/dev-ml/llvm-ocaml/llvm-ocaml-13.0.1_rc2.ebuild
152 +++ /dev/null
153 @@ -1,112 +0,0 @@
154 -# Copyright 1999-2022 Gentoo Authors
155 -# Distributed under the terms of the GNU General Public License v2
156 -
157 -EAPI=7
158 -
159 -PYTHON_COMPAT=( python3_{8..10} )
160 -inherit cmake llvm llvm.org python-any-r1
161 -
162 -DESCRIPTION="OCaml bindings for LLVM"
163 -HOMEPAGE="https://llvm.org/"
164 -
165 -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
166 -SLOT="0/${PV}"
167 -KEYWORDS=""
168 -IUSE="debug test"
169 -RESTRICT="!test? ( test )"
170 -
171 -RDEPEND="
172 - >=dev-lang/ocaml-4.00.0:0=
173 - dev-ml/ocaml-ctypes:=
174 - ~sys-devel/llvm-${PV}:=[debug?]
175 - !sys-devel/llvm[ocaml(-)]"
176 -
177 -DEPEND="${RDEPEND}"
178 -BDEPEND="
179 - dev-lang/perl
180 - dev-ml/findlib
181 - >=dev-util/cmake-3.16
182 - test? ( dev-ml/ounit2 )
183 - ${PYTHON_DEPS}"
184 -
185 -LLVM_COMPONENTS=( llvm )
186 -LLVM_USE_TARGETS=llvm
187 -llvm.org_set_globals
188 -
189 -pkg_setup() {
190 - LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
191 - python-any-r1_pkg_setup
192 -}
193 -
194 -src_configure() {
195 - local libdir=$(get_libdir)
196 - local mycmakeargs=(
197 - -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
198 -
199 - -DBUILD_SHARED_LIBS=OFF
200 - -DLLVM_BUILD_LLVM_DYLIB=ON
201 - -DLLVM_LINK_LLVM_DYLIB=ON
202 - -DLLVM_OCAML_OUT_OF_TREE=ON
203 -
204 - # cheap hack: LLVM combines both anyway, and the only difference
205 - # is that the former list is explicitly verified at cmake time
206 - -DLLVM_TARGETS_TO_BUILD=""
207 - -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
208 - -DLLVM_BUILD_TESTS=$(usex test)
209 -
210 - # disable various irrelevant deps and settings
211 - -DLLVM_ENABLE_FFI=OFF
212 - -DLLVM_ENABLE_TERMINFO=OFF
213 - -DHAVE_HISTEDIT_H=NO
214 - -DLLVM_ENABLE_ASSERTIONS=$(usex debug)
215 - -DLLVM_ENABLE_EH=ON
216 - -DLLVM_ENABLE_RTTI=ON
217 -
218 - -DLLVM_HOST_TRIPLE="${CHOST}"
219 -
220 - -DPython3_EXECUTABLE="${PYTHON}"
221 -
222 - # disable go bindings
223 - -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
224 -
225 - # TODO: ocamldoc
226 - )
227 -
228 - use test && mycmakeargs+=(
229 - -DLLVM_LIT_ARGS="$(get_lit_flags)"
230 - )
231 -
232 - # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
233 - # also: custom rules for OCaml do not work for CPPFLAGS
234 - use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
235 - cmake_src_configure
236 -
237 - local llvm_libdir=$(llvm-config --libdir)
238 - # an ugly hack; TODO: figure out a way to pass -L to ocaml...
239 - cd "${BUILD_DIR}/${libdir}" || die
240 - ln -s "${llvm_libdir}"/*.so . || die
241 -
242 - if use test; then
243 - local llvm_bindir=$(llvm-config --bindir)
244 - # Force using system-installed tools.
245 - sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
246 - "${BUILD_DIR}"/test/lit.site.cfg.py || die
247 - fi
248 -}
249 -
250 -src_compile() {
251 - cmake_build ocaml_all
252 -}
253 -
254 -src_test() {
255 - # respect TMPDIR!
256 - local -x LIT_PRESERVES_TMP=1
257 - cmake_build check-llvm-bindings-ocaml
258 -}
259 -
260 -src_install() {
261 - DESTDIR="${D}" \
262 - cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
263 -
264 - dodoc bindings/ocaml/README.txt
265 -}