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, 06 Sep 2022 08:01:14
Message-Id: 1662451223.9677d726675c7a66d33eee740226e24e173ce98d.mgorny@gentoo
1 commit: 9677d726675c7a66d33eee740226e24e173ce98d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 6 08:00:23 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 6 08:00:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9677d726
7
8 dev-ml/llvm-ocaml: Remove 15.0.0 RCs
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-15.0.0_rc2.ebuild | 115 -------------------------
14 dev-ml/llvm-ocaml/llvm-ocaml-15.0.0_rc3.ebuild | 115 -------------------------
15 3 files changed, 234 deletions(-)
16
17 diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest
18 index f9548c12d98d..25f9ff7f337a 100644
19 --- a/dev-ml/llvm-ocaml/Manifest
20 +++ b/dev-ml/llvm-ocaml/Manifest
21 @@ -2,8 +2,4 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f
22 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
23 DIST llvm-project-15.0.0.src.tar.xz 112062796 BLAKE2B 947917b6c75cbd8882133dc01f57013523274962371ac5ae4a22b010f8a7d5d31288c1d9847bf19ba919fa3110fe34a8ff937107fe19bd064ed87bf4d08d8a51 SHA512 e5aacbe7574dcec62017cc03c9fa2ee4cf075125a3d6c3975c38f06e91adcebb1ff92bcf40c6dd67db087813c60b15a04f1424c713d751199518b58025ce87fc
24 DIST llvm-project-15.0.0.src.tar.xz.sig 438 BLAKE2B 8eb12c259f94d8f867a31dbe05128adc1f9cc7ec8bcbdbe1738d2fad461f5d214e674f080f7f29b639a7a75f9c5b56c0f959f538697d647b94b97dc56b036e5f SHA512 4096464a46e07575b7cff448ff8bbc38fe972505f366b744419a06339cf32b93266b0fae5390879859041ce6710e4b675ed3ea7561d6a817623d7ece0e969661
25 -DIST llvm-project-15.0.0rc2.src.tar.xz 112110968 BLAKE2B 98c3769f17f1958fbec771409eef781f5ca845363656c70fe5cd20bca1b8471e7a8773a7d4e395700c297a5f3f208fe1303cf18e2a73b45388b782fb7484106b SHA512 eee1bee1f83cc468fb4bb6839acbd5c1618dc35f35e51cd078288b91bad95d52edaadd05c88f2d72d51c1c338ba08b3346c070a28693b1224639eb7a1ef4a4d9
26 -DIST llvm-project-15.0.0rc2.src.tar.xz.sig 438 BLAKE2B 09f260b30724b41b27ef621929c086fd6c13bde51c4adb880897b549b2d336682f617faf3dd636ceb795e329b664972cf50745ab49f84e7540658d53074510da SHA512 9f695a309fbb15026dc133eb17d33abd26831eb036fad79dd8df37d4f4d9eeae1ca463acd037d2a1882bc2cff763e4bda507d1d827d845613bfd62d0f9fbd4ca
27 -DIST llvm-project-15.0.0rc3.src.tar.xz 112081940 BLAKE2B 659359f8366ad09051fa2256c1aae8cea2049ab6428ce6b15a6845f7ee01a27bc2be2ab612adf8364cb2d699f19d09a7ea01eda74b266f14cc844662bcc833e0 SHA512 e4ac310c19fd6b710d372b9a53dffaf6736d4b5c23190fa98536be40f7c4e45670957dcbfb337e9d1dd44398df43d1ae736063eff2b2fd3d6fc752fae286d3bb
28 -DIST llvm-project-15.0.0rc3.src.tar.xz.sig 438 BLAKE2B 455181d3845ff1766f463d0e02caf72df8106dad16b8d54234f7f2fa0fcb5636abb06b2d35b5fdb8a3ed5c92a41a47d413d1bb76013cb914ce79913479a786e2 SHA512 80a67cf48186d2fbde997707e5d3d7a2dc3097f07e32ff45277e5185eb358d6b292821d8eaf8570fcc45560340663d62adb0380c675909c4c9c713e52704c800
29 DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f
30
31 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-15.0.0_rc2.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-15.0.0_rc2.ebuild
32 deleted file mode 100644
33 index 3f682163a64b..000000000000
34 --- a/dev-ml/llvm-ocaml/llvm-ocaml-15.0.0_rc2.ebuild
35 +++ /dev/null
36 @@ -1,115 +0,0 @@
37 -# Copyright 1999-2022 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=8
41 -
42 -PYTHON_COMPAT=( python3_{8..11} )
43 -inherit cmake llvm llvm.org python-any-r1
44 -
45 -DESCRIPTION="OCaml bindings for LLVM"
46 -HOMEPAGE="https://llvm.org/"
47 -
48 -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
49 -SLOT="0/${PV}"
50 -KEYWORDS=""
51 -IUSE="debug test"
52 -RESTRICT="!test? ( test )"
53 -
54 -RDEPEND="
55 - >=dev-lang/ocaml-4.00.0:0=
56 - dev-ml/ocaml-ctypes:=
57 - ~sys-devel/llvm-${PV}:=[debug?]
58 - !sys-devel/llvm[ocaml(-)]
59 -"
60 -
61 -DEPEND="
62 - ${RDEPEND}
63 -"
64 -BDEPEND="
65 - ${PYTHON_DEPS}
66 - dev-lang/perl
67 - dev-ml/findlib
68 - >=dev-util/cmake-3.16
69 -"
70 -
71 -LLVM_COMPONENTS=( llvm cmake third-party )
72 -LLVM_USE_TARGETS=llvm
73 -llvm.org_set_globals
74 -
75 -pkg_setup() {
76 - LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
77 - python-any-r1_pkg_setup
78 -}
79 -
80 -src_configure() {
81 - local libdir=$(get_libdir)
82 - local mycmakeargs=(
83 - -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
84 -
85 - -DBUILD_SHARED_LIBS=OFF
86 - -DLLVM_BUILD_LLVM_DYLIB=ON
87 - -DLLVM_LINK_LLVM_DYLIB=ON
88 - -DLLVM_OCAML_OUT_OF_TREE=ON
89 -
90 - # cheap hack: LLVM combines both anyway, and the only difference
91 - # is that the former list is explicitly verified at cmake time
92 - -DLLVM_TARGETS_TO_BUILD=""
93 - -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
94 - -DLLVM_BUILD_TESTS=$(usex test)
95 -
96 - # disable various irrelevant deps and settings
97 - -DLLVM_ENABLE_FFI=OFF
98 - -DLLVM_ENABLE_TERMINFO=OFF
99 - -DHAVE_HISTEDIT_H=NO
100 - -DLLVM_ENABLE_ASSERTIONS=$(usex debug)
101 - -DLLVM_ENABLE_EH=ON
102 - -DLLVM_ENABLE_RTTI=ON
103 -
104 - -DLLVM_HOST_TRIPLE="${CHOST}"
105 -
106 - -DPython3_EXECUTABLE="${PYTHON}"
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-15.0.0_rc3.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-15.0.0_rc3.ebuild
154 deleted file mode 100644
155 index 3f682163a64b..000000000000
156 --- a/dev-ml/llvm-ocaml/llvm-ocaml-15.0.0_rc3.ebuild
157 +++ /dev/null
158 @@ -1,115 +0,0 @@
159 -# Copyright 1999-2022 Gentoo Authors
160 -# Distributed under the terms of the GNU General Public License v2
161 -
162 -EAPI=8
163 -
164 -PYTHON_COMPAT=( python3_{8..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=${PV%%.*} 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 - # 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 -}