Gentoo Archives: gentoo-commits

From: Marco Leise <marco.leise@×××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/dlang:master commit in: eclass/, profiles/, dev-lang/ldc2/
Date: Sat, 15 Aug 2020 01:50:43
Message-Id: 1597454155.5019cbe38d24423e9e514a320df8a4ce5c7f4518.mleise@gentoo
1 commit: 5019cbe38d24423e9e514a320df8a4ce5c7f4518
2 Author: Marco Leise <marco.leise <AT> gmx <DOT> de>
3 AuthorDate: Fri Aug 14 21:18:08 2020 +0000
4 Commit: Marco Leise <marco.leise <AT> gmx <DOT> de>
5 CommitDate: Sat Aug 15 01:15:55 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=5019cbe3
7
8 Removed ldc2 builds that depeneded on the removed LLVM 8.
9
10 Signed-off-by: Marco Leise <marco.leise <AT> gmx.de>
11
12 dev-lang/ldc2/Manifest | 3 --
13 dev-lang/ldc2/ldc2-1.15.0-r2.ebuild | 81 -------------------------------------
14 dev-lang/ldc2/ldc2-1.16.0.ebuild | 81 -------------------------------------
15 dev-lang/ldc2/ldc2-1.17.0.ebuild | 81 -------------------------------------
16 dev-lang/ldc2/ldc2-1.18.0.ebuild | 1 -
17 dev-lang/ldc2/ldc2-1.19.0.ebuild | 1 -
18 dev-lang/ldc2/ldc2-1.20.1.ebuild | 1 -
19 dev-lang/ldc2/ldc2-1.21.0.ebuild | 1 -
20 eclass/dlang-compilers.eclass | 3 --
21 profiles/use.desc | 3 --
22 10 files changed, 256 deletions(-)
23
24 diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest
25 index 4abf228..e3f040c 100644
26 --- a/dev-lang/ldc2/Manifest
27 +++ b/dev-lang/ldc2/Manifest
28 @@ -1,6 +1,3 @@
29 -DIST ldc-1.15.0-src.tar.gz 6949021 BLAKE2B ba2488c0ce247c1f00cd4ac6206605221d9a0eed8bb637fa661676034709efd5aa6ce1cb2d314d1472d5a78a382e622bd9170653c2e3fac40f2d644aa08fdc3d SHA512 acc180d0f01f2ff261a131de74b5630568da4b16acbe4c557ba36f3ca5606edeb9c7af8c8733927f174f4512812aabaa95cf2bff340c991c17ca4b50d7e3da87
30 -DIST ldc-1.16.0-src.tar.gz 6995348 BLAKE2B 3437d2c1f64e17793c1564c19fdd41d5a881f1c3274a0e265b10b66a59b752436222395811354e9fea58dae0573c873f64f3c5de88c1681e4e78c74e618f9892 SHA512 afd9675ce0929a8acb1084becb47d2d30d40fcd3836a55713a9ac128d12764b7eefb5e04c2eae432c4e138aa64c3d8d248745dcfeb2fa134f66fb11ddc30743e
31 -DIST ldc-1.17.0-src.tar.gz 7084805 BLAKE2B 1379ad77c0e489fea43b646a5d6cf5aa54e76b2cefe00686c69bb1c9b0caf42da7a0e24fb6d0f08c10fab9fd32e3ccb01b6702319ea73c782e3dca0a51bf6c08 SHA512 72a50b16cef63b30863b41571d14aad30b5fc25ea7859014d596c41360693da46dcf3f208195d9319fc2f4ef472ac3c86a0c552b19222cc05e491cb8cbcee38c
32 DIST ldc-1.18.0-src.tar.gz 7183351 BLAKE2B 0affd49dda5f7c3df64e8d89fe66f2fce4c3a18c4bc5e4147e2e906d10f0b27316c8c460f5b9d767f3f50e5e909448b9f44cb17e156766d5488e237a71dd5009 SHA512 fe7529c33d0e43dfb71f474dfa381b88ee476b70933c8f80fc063d9a015df24a75e2b607a7242cc4b9cd4b6ac7559aec8f2883016bf7252342742322fcccbd4d
33 DIST ldc-1.19.0-src.tar.gz 7222182 BLAKE2B 28a2256aad57f5304644126da63d88a9f0e4266402a537b7864605dd5ce97009b87d6767906b4271dd0ec9621bb1fb193531229c4799c66d0b47e6dad91c0766 SHA512 ffd1b085c7c8fe76162051234cc73e92f08a391cebac3f405c9dc6d03fcbf459d5e99295066ab4b0bd931bdce84dce53e23c33c1bc8ad35327f1b283f8e8f10a
34 DIST ldc-1.20.1-src.tar.gz 7283975 BLAKE2B ceb75e767562936606a5fc8383dd089a8daefd04e6fbcd8c6b360fccad50ecb7c6656d60c5351b11a3580d01bdb45101ed50ff6c7a9791af1fd25be160e9a037 SHA512 bb699999a69de1773a10998c653b5a1b0bce30e39cfcee0e19b036378b28519b3118ac369b341cfd305a8a9bd904564ffffe83f720a62ab4f2c1942c2e26bb53
35
36 diff --git a/dev-lang/ldc2/ldc2-1.15.0-r2.ebuild b/dev-lang/ldc2/ldc2-1.15.0-r2.ebuild
37 deleted file mode 100644
38 index 54ffbec..0000000
39 --- a/dev-lang/ldc2/ldc2-1.15.0-r2.ebuild
40 +++ /dev/null
41 @@ -1,81 +0,0 @@
42 -# Copyright 1999-2020 Gentoo Authors
43 -# Distributed under the terms of the GNU General Public License v2
44 -
45 -EAPI=6
46 -
47 -inherit multilib-build cmake-utils eapi7-ver llvm
48 -
49 -MY_PV="${PV//_/-}"
50 -MY_P="ldc-${MY_PV}-src"
51 -SRC_URI="https://github.com/ldc-developers/ldc/releases/download/v${MY_PV}/${MY_P}.tar.gz"
52 -S=${WORKDIR}/${MY_P}
53 -
54 -DESCRIPTION="LLVM D Compiler"
55 -HOMEPAGE="https://ldc-developers.github.com/ldc"
56 -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
57 -LICENSE="BSD"
58 -SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
59 -
60 -IUSE="static-libs"
61 -
62 -# We support LLVM 3.9 through 8.
63 -RDEPEND="|| (
64 - sys-devel/llvm:8
65 - )
66 - <sys-devel/llvm-9:=
67 - >=app-eselect/eselect-dlang-20140709"
68 -DEPEND=">=dev-util/cmake-2.8
69 - ${RDEPEND}"
70 -LLVM_MAX_SLOT=8
71 -PATCHES="${FILESDIR}/ldc2-1.15.0-link-defaultlib-shared.patch"
72 -
73 -# For now, we support amd64 multilib. Anyone is free to add more support here.
74 -MULTILIB_COMPAT=( abi_x86_{32,64} )
75 -
76 -DLANG_VERSION_RANGE="2.068 2.071-"
77 -DLANG_PACKAGE_TYPE="single"
78 -
79 -inherit dlang
80 -
81 -detect_hardened() {
82 - gcc --version | grep -o Hardened
83 -}
84 -
85 -src_prepare() {
86 - cmake-utils_src_prepare
87 -}
88 -
89 -d_src_configure() {
90 - # Make sure libphobos2 is installed into ldc2's directory.
91 - export LIBDIR_${ABI}="${LIBDIR_HOST}"
92 - local mycmakeargs=(
93 - -DD_VERSION=2
94 - -DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2)
95 - -DD_COMPILER="${DMD}"
96 - -DD_COMPILER_DMD_COMPAT=1
97 - -DLDC_WITH_LLD=OFF
98 - )
99 - use static-libs && mycmakeargs+=( -DBUILD_SHARED_LIBS=BOTH ) || mycmakeargs+=( -DBUILD_SHARED_LIBS=ON )
100 - use abi_x86_32 && use abi_x86_64 && mycmakeargs+=( -DMULTILIB=ON )
101 - detect_hardened && mycmakeargs+=( -DADDITIONAL_DEFAULT_LDC_SWITCHES=', "-relocation-model=pic"' )
102 - cmake-utils_src_configure
103 -}
104 -
105 -d_src_compile() {
106 - cmake-utils_src_make
107 -}
108 -
109 -d_src_install() {
110 - cmake-utils_src_install
111 -
112 - rm -rf "${ED}"/usr/share/bash-completion
113 -}
114 -
115 -pkg_postinst() {
116 - # Update active ldc2
117 - "${ROOT}"/usr/bin/eselect dlang update ldc2
118 -}
119 -
120 -pkg_postrm() {
121 - "${ROOT}"/usr/bin/eselect dlang update ldc2
122 -}
123
124 diff --git a/dev-lang/ldc2/ldc2-1.16.0.ebuild b/dev-lang/ldc2/ldc2-1.16.0.ebuild
125 deleted file mode 100644
126 index 54ffbec..0000000
127 --- a/dev-lang/ldc2/ldc2-1.16.0.ebuild
128 +++ /dev/null
129 @@ -1,81 +0,0 @@
130 -# Copyright 1999-2020 Gentoo Authors
131 -# Distributed under the terms of the GNU General Public License v2
132 -
133 -EAPI=6
134 -
135 -inherit multilib-build cmake-utils eapi7-ver llvm
136 -
137 -MY_PV="${PV//_/-}"
138 -MY_P="ldc-${MY_PV}-src"
139 -SRC_URI="https://github.com/ldc-developers/ldc/releases/download/v${MY_PV}/${MY_P}.tar.gz"
140 -S=${WORKDIR}/${MY_P}
141 -
142 -DESCRIPTION="LLVM D Compiler"
143 -HOMEPAGE="https://ldc-developers.github.com/ldc"
144 -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
145 -LICENSE="BSD"
146 -SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
147 -
148 -IUSE="static-libs"
149 -
150 -# We support LLVM 3.9 through 8.
151 -RDEPEND="|| (
152 - sys-devel/llvm:8
153 - )
154 - <sys-devel/llvm-9:=
155 - >=app-eselect/eselect-dlang-20140709"
156 -DEPEND=">=dev-util/cmake-2.8
157 - ${RDEPEND}"
158 -LLVM_MAX_SLOT=8
159 -PATCHES="${FILESDIR}/ldc2-1.15.0-link-defaultlib-shared.patch"
160 -
161 -# For now, we support amd64 multilib. Anyone is free to add more support here.
162 -MULTILIB_COMPAT=( abi_x86_{32,64} )
163 -
164 -DLANG_VERSION_RANGE="2.068 2.071-"
165 -DLANG_PACKAGE_TYPE="single"
166 -
167 -inherit dlang
168 -
169 -detect_hardened() {
170 - gcc --version | grep -o Hardened
171 -}
172 -
173 -src_prepare() {
174 - cmake-utils_src_prepare
175 -}
176 -
177 -d_src_configure() {
178 - # Make sure libphobos2 is installed into ldc2's directory.
179 - export LIBDIR_${ABI}="${LIBDIR_HOST}"
180 - local mycmakeargs=(
181 - -DD_VERSION=2
182 - -DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2)
183 - -DD_COMPILER="${DMD}"
184 - -DD_COMPILER_DMD_COMPAT=1
185 - -DLDC_WITH_LLD=OFF
186 - )
187 - use static-libs && mycmakeargs+=( -DBUILD_SHARED_LIBS=BOTH ) || mycmakeargs+=( -DBUILD_SHARED_LIBS=ON )
188 - use abi_x86_32 && use abi_x86_64 && mycmakeargs+=( -DMULTILIB=ON )
189 - detect_hardened && mycmakeargs+=( -DADDITIONAL_DEFAULT_LDC_SWITCHES=', "-relocation-model=pic"' )
190 - cmake-utils_src_configure
191 -}
192 -
193 -d_src_compile() {
194 - cmake-utils_src_make
195 -}
196 -
197 -d_src_install() {
198 - cmake-utils_src_install
199 -
200 - rm -rf "${ED}"/usr/share/bash-completion
201 -}
202 -
203 -pkg_postinst() {
204 - # Update active ldc2
205 - "${ROOT}"/usr/bin/eselect dlang update ldc2
206 -}
207 -
208 -pkg_postrm() {
209 - "${ROOT}"/usr/bin/eselect dlang update ldc2
210 -}
211
212 diff --git a/dev-lang/ldc2/ldc2-1.17.0.ebuild b/dev-lang/ldc2/ldc2-1.17.0.ebuild
213 deleted file mode 100644
214 index 54ffbec..0000000
215 --- a/dev-lang/ldc2/ldc2-1.17.0.ebuild
216 +++ /dev/null
217 @@ -1,81 +0,0 @@
218 -# Copyright 1999-2020 Gentoo Authors
219 -# Distributed under the terms of the GNU General Public License v2
220 -
221 -EAPI=6
222 -
223 -inherit multilib-build cmake-utils eapi7-ver llvm
224 -
225 -MY_PV="${PV//_/-}"
226 -MY_P="ldc-${MY_PV}-src"
227 -SRC_URI="https://github.com/ldc-developers/ldc/releases/download/v${MY_PV}/${MY_P}.tar.gz"
228 -S=${WORKDIR}/${MY_P}
229 -
230 -DESCRIPTION="LLVM D Compiler"
231 -HOMEPAGE="https://ldc-developers.github.com/ldc"
232 -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
233 -LICENSE="BSD"
234 -SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
235 -
236 -IUSE="static-libs"
237 -
238 -# We support LLVM 3.9 through 8.
239 -RDEPEND="|| (
240 - sys-devel/llvm:8
241 - )
242 - <sys-devel/llvm-9:=
243 - >=app-eselect/eselect-dlang-20140709"
244 -DEPEND=">=dev-util/cmake-2.8
245 - ${RDEPEND}"
246 -LLVM_MAX_SLOT=8
247 -PATCHES="${FILESDIR}/ldc2-1.15.0-link-defaultlib-shared.patch"
248 -
249 -# For now, we support amd64 multilib. Anyone is free to add more support here.
250 -MULTILIB_COMPAT=( abi_x86_{32,64} )
251 -
252 -DLANG_VERSION_RANGE="2.068 2.071-"
253 -DLANG_PACKAGE_TYPE="single"
254 -
255 -inherit dlang
256 -
257 -detect_hardened() {
258 - gcc --version | grep -o Hardened
259 -}
260 -
261 -src_prepare() {
262 - cmake-utils_src_prepare
263 -}
264 -
265 -d_src_configure() {
266 - # Make sure libphobos2 is installed into ldc2's directory.
267 - export LIBDIR_${ABI}="${LIBDIR_HOST}"
268 - local mycmakeargs=(
269 - -DD_VERSION=2
270 - -DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2)
271 - -DD_COMPILER="${DMD}"
272 - -DD_COMPILER_DMD_COMPAT=1
273 - -DLDC_WITH_LLD=OFF
274 - )
275 - use static-libs && mycmakeargs+=( -DBUILD_SHARED_LIBS=BOTH ) || mycmakeargs+=( -DBUILD_SHARED_LIBS=ON )
276 - use abi_x86_32 && use abi_x86_64 && mycmakeargs+=( -DMULTILIB=ON )
277 - detect_hardened && mycmakeargs+=( -DADDITIONAL_DEFAULT_LDC_SWITCHES=', "-relocation-model=pic"' )
278 - cmake-utils_src_configure
279 -}
280 -
281 -d_src_compile() {
282 - cmake-utils_src_make
283 -}
284 -
285 -d_src_install() {
286 - cmake-utils_src_install
287 -
288 - rm -rf "${ED}"/usr/share/bash-completion
289 -}
290 -
291 -pkg_postinst() {
292 - # Update active ldc2
293 - "${ROOT}"/usr/bin/eselect dlang update ldc2
294 -}
295 -
296 -pkg_postrm() {
297 - "${ROOT}"/usr/bin/eselect dlang update ldc2
298 -}
299
300 diff --git a/dev-lang/ldc2/ldc2-1.18.0.ebuild b/dev-lang/ldc2/ldc2-1.18.0.ebuild
301 index f53f4fa..7c803d2 100644
302 --- a/dev-lang/ldc2/ldc2-1.18.0.ebuild
303 +++ b/dev-lang/ldc2/ldc2-1.18.0.ebuild
304 @@ -21,7 +21,6 @@ IUSE="static-libs"
305 # We support LLVM 3.9 through 9.
306 RDEPEND="|| (
307 sys-devel/llvm:9
308 - sys-devel/llvm:8
309 )
310 <sys-devel/llvm-10:=
311 >=app-eselect/eselect-dlang-20140709"
312
313 diff --git a/dev-lang/ldc2/ldc2-1.19.0.ebuild b/dev-lang/ldc2/ldc2-1.19.0.ebuild
314 index 75a1e0d..f9f501f 100644
315 --- a/dev-lang/ldc2/ldc2-1.19.0.ebuild
316 +++ b/dev-lang/ldc2/ldc2-1.19.0.ebuild
317 @@ -21,7 +21,6 @@ IUSE="static-libs"
318 # We support LLVM 3.9 through 9.
319 RDEPEND="|| (
320 sys-devel/llvm:9
321 - sys-devel/llvm:8
322 )
323 <sys-devel/llvm-10:=
324 >=app-eselect/eselect-dlang-20140709"
325
326 diff --git a/dev-lang/ldc2/ldc2-1.20.1.ebuild b/dev-lang/ldc2/ldc2-1.20.1.ebuild
327 index edd90cf..576ceaa 100644
328 --- a/dev-lang/ldc2/ldc2-1.20.1.ebuild
329 +++ b/dev-lang/ldc2/ldc2-1.20.1.ebuild
330 @@ -22,7 +22,6 @@ IUSE="static-libs"
331 RDEPEND="|| (
332 sys-devel/llvm:10
333 sys-devel/llvm:9
334 - sys-devel/llvm:8
335 )
336 <sys-devel/llvm-11:=
337 >=app-eselect/eselect-dlang-20140709"
338
339 diff --git a/dev-lang/ldc2/ldc2-1.21.0.ebuild b/dev-lang/ldc2/ldc2-1.21.0.ebuild
340 index edd90cf..576ceaa 100644
341 --- a/dev-lang/ldc2/ldc2-1.21.0.ebuild
342 +++ b/dev-lang/ldc2/ldc2-1.21.0.ebuild
343 @@ -22,7 +22,6 @@ IUSE="static-libs"
344 RDEPEND="|| (
345 sys-devel/llvm:10
346 sys-devel/llvm:9
347 - sys-devel/llvm:8
348 )
349 <sys-devel/llvm-11:=
350 >=app-eselect/eselect-dlang-20140709"
351
352 diff --git a/eclass/dlang-compilers.eclass b/eclass/dlang-compilers.eclass
353 index c4fcb69..5aebd49 100644
354 --- a/eclass/dlang-compilers.eclass
355 +++ b/eclass/dlang-compilers.eclass
356 @@ -52,9 +52,6 @@ dlang-compilers_declare_versions() {
357
358 # LDC
359 __dlang_ldc2_frontend=(
360 - ["1.15"]="2.085 amd64 ~arm ~arm64 ~ppc64 x86"
361 - ["1.16"]="2.086 amd64 ~arm ~arm64 ~ppc64 x86"
362 - ["1.17"]="2.087 amd64 ~arm ~arm64 ~ppc64 x86"
363 ["1.18"]="2.088 amd64 ~arm ~arm64 ~ppc64 x86"
364 ["1.19"]="2.089 amd64 ~arm ~arm64 ~ppc64 x86"
365 ["1.20"]="2.090 amd64 ~arm ~arm64 ~ppc64 x86"
366
367 diff --git a/profiles/use.desc b/profiles/use.desc
368 index f02ff90..d28d9c2 100644
369 --- a/profiles/use.desc
370 +++ b/profiles/use.desc
371 @@ -28,9 +28,6 @@ dmd-2_089 - Build for DMD 2.089
372 dmd-2_090 - Build for DMD 2.090
373 dmd-2_091 - Build for DMD 2.091
374 gdc-9_3_0 - Build for GCC 9.3.0
375 -ldc2-1_15 - Build for ldc2 1.15
376 -ldc2-1_16 - Build for ldc2 1.16
377 -ldc2-1_17 - Build for ldc2 1.17
378 ldc2-1_18 - Build for ldc2 1.18
379 ldc2-1_19 - Build for ldc2 1.19
380 ldc2-1_20 - Build for ldc2 1.20