Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-lang/icc/, dev-lang/ifc/, dev-libs/intel-common/, eclass/, dev-lang/vtune/, ...
Date: Thu, 01 Dec 2022 21:39:42
Message-Id: 1669930772.f991b9e55893b64654499df4006cb0c7ea9d1563.andrewammerlaan@gentoo
1 commit: f991b9e55893b64654499df4006cb0c7ea9d1563
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 1 21:34:59 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 1 21:39:32 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f991b9e5
7
8 */*: drop dead/outdated intel packages and eclass
9
10 Unmaintained, does not seem to work any more.
11
12 sys-devel/DPC++ is the modern oneapi
13 intel C++ compiler replacement for dev-lang/icc
14
15 There is no modern fortran compiler replacement for dev-lang/ifc
16
17 Closes: https://github.com/gentoo/sci/pull/1040
18 Closes: https://github.com/gentoo/sci/pull/780
19 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
20
21 dev-lang/icc/icc-18.0.2.199-r1.ebuild | 41 --
22 dev-lang/icc/icc-19.0.4.243.ebuild | 40 --
23 dev-lang/icc/icc-19.1.1.217.ebuild | 41 --
24 dev-lang/icc/metadata.xml | 16 -
25 dev-lang/ifc/ifc-18.0.2.199-r1.ebuild | 40 --
26 dev-lang/ifc/ifc-19.0.4.243.ebuild | 39 --
27 dev-lang/ifc/ifc-19.1.1.217.ebuild | 43 --
28 dev-lang/ifc/metadata.xml | 17 -
29 dev-lang/vtune/metadata.xml | 15 -
30 dev-lang/vtune/vtune-18.0.2.0.551022.ebuild | 49 --
31 dev-lang/vtune/vtune-19.0.4.0.597835.ebuild | 48 --
32 dev-lang/vtune/vtune-2020.1.0.607630.ebuild | 52 --
33 .../intel-common/intel-common-18.0.2.199-r1.ebuild | 95 ----
34 .../intel-common/intel-common-19.0.3.199-r1.ebuild | 101 ----
35 .../intel-common/intel-common-19.0.4.243.ebuild | 101 ----
36 .../intel-common/intel-common-19.1.1.217.ebuild | 102 ----
37 dev-libs/intel-common/metadata.xml | 15 -
38 eclass/intel-sdp-r1.eclass | 571 ---------------------
39 sci-libs/ipp/ipp-18.0.2.199.ebuild | 43 --
40 sci-libs/ipp/ipp-19.0.4.243.ebuild | 42 --
41 sci-libs/ipp/ipp-2020.1.217.ebuild | 44 --
42 sci-libs/ipp/metadata.xml | 13 -
43 22 files changed, 1568 deletions(-)
44
45 diff --git a/dev-lang/icc/icc-18.0.2.199-r1.ebuild b/dev-lang/icc/icc-18.0.2.199-r1.ebuild
46 deleted file mode 100644
47 index 84641de62..000000000
48 --- a/dev-lang/icc/icc-18.0.2.199-r1.ebuild
49 +++ /dev/null
50 @@ -1,41 +0,0 @@
51 -# Copyright 1999-2020 Gentoo Authors
52 -# Distributed under the terms of the GNU General Public License v2
53 -
54 -EAPI=7
55 -
56 -INTEL_DIST_SKU=3235
57 -INTEL_DIST_PV=2018_update2_professional_edition
58 -
59 -inherit intel-sdp-r1
60 -
61 -DESCRIPTION="Intel C/C++ Compiler"
62 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
63 -
64 -IUSE="doc"
65 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
66 -
67 -# avoid file collision with ifc #476330
68 -RDEPEND="~dev-libs/intel-common-${PV}[compiler]"
69 -
70 -CHECKREQS_DISK_BUILD=500M
71 -
72 -INTEL_DIST_DAT_RPMS=(
73 - "icc-common-18.0.2-199-18.0.2-199.noarch.rpm"
74 - "icc-common-ps-18.0.2-199-18.0.2-199.noarch.rpm"
75 - "icc-common-ps-ss-bec-18.0.2-199-18.0.2-199.noarch.rpm")
76 -INTEL_DIST_AMD64_RPMS=(
77 - "icc-18.0.2-199-18.0.2-199.x86_64.rpm"
78 - "icc-ps-18.0.2-199-18.0.2-199.x86_64.rpm"
79 - "icc-ps-ss-18.0.2-199-18.0.2-199.x86_64.rpm"
80 - "icc-ps-ss-bec-18.0.2-199-18.0.2-199.x86_64.rpm")
81 -INTEL_DIST_X86_RPMS=(
82 - "icc-32bit-18.0.2-199-18.0.2-199.x86_64.rpm"
83 - "icc-ps-ss-bec-32bit-18.0.2-199-18.0.2-199.x86_64.rpm")
84 -
85 -pkg_setup() {
86 - if use doc; then
87 - INTEL_DIST_DAT_RPMS+=(
88 - "icc-doc-18.0-18.0.2-199.noarch.rpm"
89 - "icc-doc-ps-18.0-18.0.2-199.noarch.rpm")
90 - fi
91 -}
92
93 diff --git a/dev-lang/icc/icc-19.0.4.243.ebuild b/dev-lang/icc/icc-19.0.4.243.ebuild
94 deleted file mode 100644
95 index 9a166f221..000000000
96 --- a/dev-lang/icc/icc-19.0.4.243.ebuild
97 +++ /dev/null
98 @@ -1,40 +0,0 @@
99 -# Copyright 1999-2020 Gentoo Authors
100 -# Distributed under the terms of the GNU General Public License v2
101 -
102 -EAPI=7
103 -
104 -INTEL_DIST_PV=2019_update4_professional_edition
105 -
106 -inherit intel-sdp-r1
107 -
108 -DESCRIPTION="Intel C/C++ Compiler"
109 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
110 -
111 -IUSE="doc"
112 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
113 -
114 -# avoid file collision with ifc #476330
115 -RDEPEND="~dev-libs/intel-common-${PV}[compiler]"
116 -
117 -CHECKREQS_DISK_BUILD=500M
118 -
119 -INTEL_DIST_DAT_RPMS=(
120 - "icc-common-19.0.4-243-19.0.4-243.noarch.rpm"
121 - "icc-common-ps-19.0.4-243-19.0.4-243.noarch.rpm"
122 - "icc-common-ps-ss-bec-19.0.4-243-19.0.4-243.noarch.rpm")
123 -INTEL_DIST_AMD64_RPMS=(
124 - "icc-19.0.4-243-19.0.4-243.x86_64.rpm"
125 - "icc-ps-19.0.4-243-19.0.4-243.x86_64.rpm"
126 - "icc-ps-ss-bec-19.0.4-243-19.0.4-243.x86_64.rpm")
127 -
128 -INTEL_DIST_X86_RPMS=(
129 - "icc-32bit-19.0.4-243-19.0.4-243.x86_64.rpm"
130 - "icc-ps-ss-bec-32bit-19.0.4-243-19.0.4-243.x86_64.rpm")
131 -
132 -pkg_setup() {
133 - if use doc; then
134 - INTEL_DIST_DAT_RPMS+=(
135 - "icc-doc-19.0-19.0.4-243.noarch.rpm"
136 - "icc-doc-ps-19.0-19.0.4-243.noarch.rpm")
137 - fi
138 -}
139
140 diff --git a/dev-lang/icc/icc-19.1.1.217.ebuild b/dev-lang/icc/icc-19.1.1.217.ebuild
141 deleted file mode 100644
142 index 226b9c784..000000000
143 --- a/dev-lang/icc/icc-19.1.1.217.ebuild
144 +++ /dev/null
145 @@ -1,41 +0,0 @@
146 -# Copyright 1999-2020 Gentoo Authors
147 -# Distributed under the terms of the GNU General Public License v2
148 -
149 -EAPI=7
150 -
151 -INTEL_DIST_PV=2020_update1_professional_edition
152 -
153 -inherit intel-sdp-r1
154 -
155 -DESCRIPTION="Intel C/C++ Compiler"
156 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
157 -
158 -IUSE="doc"
159 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
160 -
161 -RDEPEND="~dev-libs/intel-common-${PV}[compiler]"
162 -
163 -CHECKREQS_DISK_BUILD=500M
164 -
165 -MY_PV="$(ver_rs 3 '-')" # 20.1.0-607630
166 -
167 -QA_PREBUILT="*"
168 -
169 -INTEL_DIST_DAT_RPMS=(
170 - "icc-common-${MY_PV}-${MY_PV}.noarch.rpm"
171 - "icc-common-ps-${MY_PV}-${MY_PV}.noarch.rpm"
172 - "idesupport-icc-common-ps-19.1-${MY_PV}.noarch.rpm")
173 -INTEL_DIST_AMD64_RPMS=(
174 - "icc-${MY_PV}-${MY_PV}.x86_64.rpm"
175 - "icc-ps-${MY_PV}-${MY_PV}.x86_64.rpm"
176 - "icc-ps-ss-bec-${MY_PV}-${MY_PV}.x86_64.rpm")
177 -
178 -INTEL_DIST_X86_RPMS=(
179 - "icc-32bit-${MY_PV}-${MY_PV}.x86_64.rpm"
180 - "icc-ps-ss-bec-32bit-${MY_PV}-${MY_PV}.x86_64.rpm")
181 -
182 -pkg_setup() {
183 - if use doc; then
184 - INTEL_DIST_DAT_RPMS+=( "icc-doc-19.1-${MY_PV}.noarch.rpm" )
185 - fi
186 -}
187
188 diff --git a/dev-lang/icc/metadata.xml b/dev-lang/icc/metadata.xml
189 deleted file mode 100644
190 index 7c4d1a96d..000000000
191 --- a/dev-lang/icc/metadata.xml
192 +++ /dev/null
193 @@ -1,16 +0,0 @@
194 -<?xml version="1.0" encoding="UTF-8"?>
195 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
196 -<pkgmetadata>
197 - <maintainer type="project">
198 - <email>sci@g.o</email>
199 - <name>Gentoo Science Project</name>
200 - </maintainer>
201 - <longdescription lang="en">
202 -The Intel® C++ Compiler is a full featured C/C++ compiler for Intel
203 -based architectures. The compiler supports multi-threading, automatic
204 -processor dispatch, vectorization, auto-parallelization, OpenMP, data
205 -prefetching, loop unrolling. The package comes with extensive
206 -documentation. The product can be installed as a non-commercial as
207 -well. License, terms of qualifications can be found on the web site.
208 -</longdescription>
209 -</pkgmetadata>
210
211 diff --git a/dev-lang/ifc/ifc-18.0.2.199-r1.ebuild b/dev-lang/ifc/ifc-18.0.2.199-r1.ebuild
212 deleted file mode 100644
213 index f37dd5491..000000000
214 --- a/dev-lang/ifc/ifc-18.0.2.199-r1.ebuild
215 +++ /dev/null
216 @@ -1,40 +0,0 @@
217 -# Copyright 1999-2019 Gentoo Authors
218 -# Distributed under the terms of the GNU General Public License v2
219 -
220 -EAPI=7
221 -
222 -INTEL_DIST_SKU=3235
223 -INTEL_DIST_PV=2018_update2_professional_edition
224 -
225 -inherit intel-sdp-r1
226 -
227 -DESCRIPTION="Intel FORTRAN Compiler"
228 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
229 -
230 -IUSE="doc"
231 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
232 -
233 -RDEPEND="~dev-libs/intel-common-${PV}[compiler]"
234 -
235 -CHECKREQS_DISK_BUILD=400M
236 -
237 -INTEL_DIST_DAT_RPMS=( "ifort-common-18.0.2-199-18.0.2-199.noarch.rpm" )
238 -INTEL_DIST_X86_RPMS=( "ifort-32bit-18.0.2-199-18.0.2-199.x86_64.rpm" )
239 -INTEL_DIST_AMD64_RPMS=( "ifort-18.0.2-199-18.0.2-199.x86_64.rpm" )
240 -
241 -pkg_setup() {
242 - if use doc; then
243 - INTEL_DIST_DAT_RPMS+=( "ifort-doc-18.0-18.0.2-199.noarch.rpm" )
244 - fi
245 -}
246 -
247 -src_install() {
248 - # already provided in dev-libs/intel-common
249 - rm \
250 - "${WORKDIR}"/opt/intel/compilers_and_libraries_2018.2.199/linux/compiler/include/omp_lib.f90 \
251 - "${WORKDIR}"/opt/intel/compilers_and_libraries_2018.2.199/linux/compiler/include/intel64/omp_lib.mod \
252 - "${WORKDIR}"/opt/intel/compilers_and_libraries_2018.2.199/linux/compiler/include/intel64/omp_lib_kinds.mod \
253 - || die "rm failed"
254 -
255 - intel-sdp-r1_src_install
256 -}
257
258 diff --git a/dev-lang/ifc/ifc-19.0.4.243.ebuild b/dev-lang/ifc/ifc-19.0.4.243.ebuild
259 deleted file mode 100644
260 index a45765a2f..000000000
261 --- a/dev-lang/ifc/ifc-19.0.4.243.ebuild
262 +++ /dev/null
263 @@ -1,39 +0,0 @@
264 -# Copyright 1999-2019 Gentoo Authors
265 -# Distributed under the terms of the GNU General Public License v2
266 -
267 -EAPI=7
268 -
269 -INTEL_DIST_PV=2019_update4_professional_edition
270 -
271 -inherit intel-sdp-r1
272 -
273 -DESCRIPTION="Intel FORTRAN Compiler"
274 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
275 -
276 -IUSE="doc"
277 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
278 -
279 -RDEPEND="~dev-libs/intel-common-${PV}[compiler]"
280 -
281 -CHECKREQS_DISK_BUILD=400M
282 -
283 -INTEL_DIST_DAT_RPMS=( "ifort-common-19.0.4-243-19.0.4-243.noarch.rpm" )
284 -INTEL_DIST_AMD64_RPMS=( "ifort-19.0.4-243-19.0.4-243.x86_64.rpm" )
285 -INTEL_DIST_X86_RPMS=( "ifort-32bit-19.0.4-243-19.0.4-243.x86_64.rpm" )
286 -
287 -pkg_setup() {
288 - if use doc; then
289 - INTEL_DIST_DAT_RPMS+=( "ifort-doc-19.0-19.0.4-243.noarch.rpm" )
290 - fi
291 -}
292 -
293 -src_install() {
294 - # already provided in dev-libs/intel-common
295 - rm \
296 - "${WORKDIR}"/opt/intel/compilers_and_libraries_2019.4.243/linux/compiler/include/omp_lib.f90 \
297 - "${WORKDIR}"/opt/intel/compilers_and_libraries_2019.4.243/linux/compiler/include/intel64/omp_lib.mod \
298 - "${WORKDIR}"/opt/intel/compilers_and_libraries_2019.4.243/linux/compiler/include/intel64/omp_lib_kinds.mod \
299 - || die "rm failed"
300 -
301 - intel-sdp-r1_src_install
302 -}
303
304 diff --git a/dev-lang/ifc/ifc-19.1.1.217.ebuild b/dev-lang/ifc/ifc-19.1.1.217.ebuild
305 deleted file mode 100644
306 index 4157a3eec..000000000
307 --- a/dev-lang/ifc/ifc-19.1.1.217.ebuild
308 +++ /dev/null
309 @@ -1,43 +0,0 @@
310 -# Copyright 1999-2020 Gentoo Authors
311 -# Distributed under the terms of the GNU General Public License v2
312 -
313 -EAPI=7
314 -
315 -INTEL_DIST_PV=2020_update1_professional_edition
316 -
317 -inherit intel-sdp-r1
318 -
319 -DESCRIPTION="Intel FORTRAN Compiler"
320 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-composer-xe/"
321 -
322 -IUSE="doc"
323 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
324 -
325 -RDEPEND="~dev-libs/intel-common-${PV}[compiler]"
326 -
327 -MY_PV="$(ver_rs 3 '-')" # 20.1.0-607630
328 -
329 -QA_PREBUILT="*"
330 -
331 -CHECKREQS_DISK_BUILD=400M
332 -
333 -INTEL_DIST_DAT_RPMS=( "ifort-common-${MY_PV}-${MY_PV}.noarch.rpm" )
334 -INTEL_DIST_AMD64_RPMS=( "ifort-${MY_PV}-${MY_PV}.x86_64.rpm" )
335 -INTEL_DIST_X86_RPMS=( "ifort-32bit-${MY_PV}-${MY_PV}.x86_64.rpm" )
336 -
337 -pkg_setup() {
338 - if use doc; then
339 - INTEL_DIST_DAT_RPMS+=( "ifort-doc-19.1-${MY_PV}.noarch.rpm" )
340 - fi
341 -}
342 -
343 -src_install() {
344 - # already provided in dev-libs/intel-common
345 - rm \
346 - "${WORKDIR}"/opt/intel/compilers_and_libraries_2020.1.217/linux/compiler/include/omp_lib.f90 \
347 - "${WORKDIR}"/opt/intel/compilers_and_libraries_2020.1.217/linux/compiler/include/intel64/omp_lib.mod \
348 - "${WORKDIR}"/opt/intel/compilers_and_libraries_2020.1.217/linux/compiler/include/intel64/omp_lib_kinds.mod \
349 - || die "rm failed"
350 -
351 - intel-sdp-r1_src_install
352 -}
353
354 diff --git a/dev-lang/ifc/metadata.xml b/dev-lang/ifc/metadata.xml
355 deleted file mode 100644
356 index 0cc12d890..000000000
357 --- a/dev-lang/ifc/metadata.xml
358 +++ /dev/null
359 @@ -1,17 +0,0 @@
360 -<?xml version="1.0" encoding="UTF-8"?>
361 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
362 -<pkgmetadata>
363 - <maintainer type="project">
364 - <email>sci@g.o</email>
365 - <name>Gentoo Science Project</name>
366 - </maintainer>
367 - <longdescription lang="en">
368 -The Intel® Fortran Compiler is a full featured FORTRAN 77/95 and
369 -substantial FORTRAN 2003 compiler for Intel based architectures. The
370 -compiler supports multi-threading with automatic processor dispatch,
371 -vectorization, auto-parallelization, OpenMP, data prefetching, loop
372 -unrolling. The package comes with extensive documentation.
373 -The product can be installed as a non-commercial as well. License,
374 -terms of qualifications can be found on the web site.
375 -</longdescription>
376 -</pkgmetadata>
377
378 diff --git a/dev-lang/vtune/metadata.xml b/dev-lang/vtune/metadata.xml
379 deleted file mode 100644
380 index 718cc299c..000000000
381 --- a/dev-lang/vtune/metadata.xml
382 +++ /dev/null
383 @@ -1,15 +0,0 @@
384 -<?xml version="1.0" encoding="UTF-8"?>
385 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
386 -<pkgmetadata>
387 - <maintainer type="project">
388 - <email>sci@g.o</email>
389 - <name>Gentoo Science Project</name>
390 - </maintainer>
391 - <longdescription lang="en">
392 -The Intel® VTune™ Profiler collects key profiling data and presents
393 -it with a powerful interface that simplifies its analysis and
394 -interpretation. The package comes with extensive documentation. The
395 -product can be installed as a non-commercial as well. License, terms
396 -of qualifications can be found on the web site.
397 -</longdescription>
398 -</pkgmetadata>
399
400 diff --git a/dev-lang/vtune/vtune-18.0.2.0.551022.ebuild b/dev-lang/vtune/vtune-18.0.2.0.551022.ebuild
401 deleted file mode 100644
402 index 9ec0beef6..000000000
403 --- a/dev-lang/vtune/vtune-18.0.2.0.551022.ebuild
404 +++ /dev/null
405 @@ -1,49 +0,0 @@
406 -# Copyright 1999-2019 Gentoo Authors
407 -# Distributed under the terms of the GNU General Public License v2
408 -
409 -EAPI=7
410 -
411 -INTEL_DIST_SKU=3235
412 -INTEL_DIST_PV=2018_update2_professional_edition
413 -INTEL_SUBDIR=vtune_amplifier
414 -
415 -inherit intel-sdp-r1
416 -
417 -DESCRIPTION="Intel VTune Amplifier XE"
418 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-vtune-amplifier-xe/"
419 -
420 -IUSE="doc"
421 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
422 -
423 -RDEPEND="~dev-libs/intel-common-18.0.2.199[compiler]"
424 -
425 -INTEL_DIST_DAT_RPMS=(
426 - "vtune-amplifier-2018-cli-common-2018.2-551022.noarch.rpm"
427 - "vtune-amplifier-2018-common-2018.2-551022.noarch.rpm"
428 - "vtune-amplifier-2018-common-pset-2018.2-551022.noarch.rpm"
429 - "vtune-amplifier-2018-gui-common-2018.2-551022.noarch.rpm"
430 - "vtune-amplifier-2018-sep-2018.2-551022.noarch.rpm"
431 - "vtune-amplifier-2018-target-2018.2-551022.noarch.rpm")
432 -INTEL_DIST_AMD64_RPMS=(
433 - "vtune-amplifier-2018-cli-2018.2-551022.x86_64.rpm"
434 - "vtune-amplifier-2018-collector-64linux-2018.2-551022.x86_64.rpm"
435 - "vtune-amplifier-2018-gui-2018.2-551022.x86_64.rpm")
436 -INTEL_DIST_X86_RPMS=(
437 - "vtune-amplifier-2018-cli-32bit-2018.2-551022.i486.rpm"
438 - "vtune-amplifier-2018-collector-32linux-2018.2-551022.i486.rpm")
439 -
440 -pkg_setup() {
441 - if use doc; then
442 - INTEL_DIST_DAT_RPMS+=( "vtune-amplifier-2018-doc-2018.2-551022.noarch.rpm" )
443 - fi
444 -}
445 -
446 -src_install() {
447 - intel-sdp-r1_src_install
448 -
449 - local path="PATH="
450 - use abi_x86_64 && path+=":$(isdp_get-sdp-edir)/bin64"
451 - use abi_x86_32 && path+=":$(isdp_get-sdp-edir)/bin32"
452 - echo "${path}" > "${T}"/35vtune || die
453 - doenvd "${T}"/35vtune
454 -}
455
456 diff --git a/dev-lang/vtune/vtune-19.0.4.0.597835.ebuild b/dev-lang/vtune/vtune-19.0.4.0.597835.ebuild
457 deleted file mode 100644
458 index e090c10b7..000000000
459 --- a/dev-lang/vtune/vtune-19.0.4.0.597835.ebuild
460 +++ /dev/null
461 @@ -1,48 +0,0 @@
462 -# Copyright 1999-2019 Gentoo Authors
463 -# Distributed under the terms of the GNU General Public License v2
464 -
465 -EAPI=7
466 -
467 -INTEL_DIST_PV=2019_update4_professional_edition
468 -INTEL_SUBDIR=vtune_amplifier
469 -
470 -inherit intel-sdp-r1
471 -
472 -DESCRIPTION="Intel VTune Amplifier XE"
473 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-vtune-amplifier-xe/"
474 -
475 -IUSE="doc"
476 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
477 -
478 -RDEPEND="~dev-libs/intel-common-19.0.4.243[compiler]"
479 -
480 -INTEL_DIST_DAT_RPMS=(
481 - "vtune-amplifier-2019-cli-common-2019.4-597835.noarch.rpm"
482 - "vtune-amplifier-2019-common-2019.4-597835.noarch.rpm"
483 - "vtune-amplifier-2019-common-pset-2019.4-597835.noarch.rpm"
484 - "vtune-amplifier-2019-gui-common-2019.4-597835.noarch.rpm"
485 - "vtune-amplifier-2019-sep-2019.4-597835.noarch.rpm"
486 - "vtune-amplifier-2019-target-2019.4-597835.noarch.rpm")
487 -INTEL_DIST_AMD64_RPMS=(
488 - "vtune-amplifier-2019-cli-2019.4-597835.x86_64.rpm"
489 - "vtune-amplifier-2019-collector-64linux-2019.4-597835.x86_64.rpm"
490 - "vtune-amplifier-2019-gui-2019.4-597835.x86_64.rpm")
491 -INTEL_DIST_X86_RPMS=(
492 - "vtune-amplifier-2019-cli-32bit-2019.4-597835.i486.rpm"
493 - "vtune-amplifier-2019-collector-32linux-2019.4-597835.i486.rpm")
494 -
495 -pkg_setup() {
496 - if use doc; then
497 - INTEL_DIST_DAT_RPMS+=( "vtune-amplifier-2019-doc-2019.4-597835.noarch.rpm" )
498 - fi
499 -}
500 -
501 -src_install() {
502 - intel-sdp-r1_src_install
503 -
504 - local path="PATH="
505 - use abi_x86_64 && path+=":$(isdp_get-sdp-edir)/bin64"
506 - use abi_x86_32 && path+=":$(isdp_get-sdp-edir)/bin32"
507 - echo "${path}" > "${T}"/35vtune || die
508 - doenvd "${T}"/35vtune
509 -}
510
511 diff --git a/dev-lang/vtune/vtune-2020.1.0.607630.ebuild b/dev-lang/vtune/vtune-2020.1.0.607630.ebuild
512 deleted file mode 100644
513 index e1ec58882..000000000
514 --- a/dev-lang/vtune/vtune-2020.1.0.607630.ebuild
515 +++ /dev/null
516 @@ -1,52 +0,0 @@
517 -# Copyright 1999-2020 Gentoo Authors
518 -# Distributed under the terms of the GNU General Public License v2
519 -
520 -EAPI=7
521 -
522 -INTEL_DIST_PV=2020_update1_professional_edition
523 -INTEL_SUBDIR=vtune_profiler
524 -
525 -inherit intel-sdp-r1
526 -
527 -DESCRIPTION="Intel VTune Profiler"
528 -HOMEPAGE="https://software.intel.com/en-us/vtune"
529 -
530 -IUSE="doc"
531 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
532 -
533 -RDEPEND="~dev-libs/intel-common-19.1.1.217[compiler]"
534 -
535 -MY_PV="$(ver_rs 3 '-')" # 20.1.0-607630
536 -
537 -QA_PREBUILT="*"
538 -
539 -INTEL_DIST_DAT_RPMS=(
540 - "vtune-profiler-2020-cli-common-${MY_PV}.noarch.rpm"
541 - "vtune-profiler-2020-common-${MY_PV}.noarch.rpm"
542 - "vtune-profiler-2020-common-pset-${MY_PV}.noarch.rpm"
543 - "vtune-profiler-2020-sep-${MY_PV}.noarch.rpm"
544 - "vtune-profiler-2020-target-${MY_PV}.noarch.rpm")
545 -INTEL_DIST_AMD64_RPMS=(
546 - "vtune-profiler-2020-cli-${MY_PV}.x86_64.rpm"
547 - "vtune-profiler-2020-collector-64linux-${MY_PV}.x86_64.rpm"
548 - "vtune-profiler-2020-gui-${MY_PV}.x86_64.rpm"
549 - "vtune-profiler-2020-vpp-server-${MY_PV}.x86_64.rpm")
550 -INTEL_DIST_X86_RPMS=(
551 - "vtune-profiler-2020-cli-32bit-${MY_PV}.i486.rpm"
552 - "vtune-profiler-2020-collector-32linux-${MY_PV}.i486.rpm")
553 -
554 -pkg_setup() {
555 - if use doc; then
556 - INTEL_DIST_DAT_RPMS+=( "vtune-profiler-2020-doc-${MY_PV}.noarch.rpm" )
557 - fi
558 -}
559 -
560 -src_install() {
561 - intel-sdp-r1_src_install
562 -
563 - local path="PATH="
564 - use abi_x86_64 && path+=":$(isdp_get-sdp-edir)/bin64"
565 - use abi_x86_32 && path+=":$(isdp_get-sdp-edir)/bin32"
566 - echo "${path}" > "${T}"/35vtune || die
567 - doenvd "${T}"/35vtune
568 -}
569
570 diff --git a/dev-libs/intel-common/intel-common-18.0.2.199-r1.ebuild b/dev-libs/intel-common/intel-common-18.0.2.199-r1.ebuild
571 deleted file mode 100644
572 index 5397d76b6..000000000
573 --- a/dev-libs/intel-common/intel-common-18.0.2.199-r1.ebuild
574 +++ /dev/null
575 @@ -1,95 +0,0 @@
576 -# Copyright 1999-2021 Gentoo Authors
577 -# Distributed under the terms of the GNU General Public License v2
578 -
579 -EAPI=7
580 -
581 -INTEL_DIST_SKU=3235
582 -INTEL_DIST_PV=2018_update2_professional_edition
583 -
584 -inherit intel-sdp-r1
585 -
586 -DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries"
587 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/"
588 -
589 -IUSE="+compiler doc +mpi +openmp"
590 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
591 -
592 -CHECKREQS_DISK_BUILD=750M
593 -
594 -INTEL_DIST_BIN_RPMS=()
595 -INTEL_DIST_DAT_RPMS=(
596 - "c-comp-common-18.0.2-199-18.0.2-199.noarch.rpm"
597 - "comp-l-all-common-18.0.2-199-18.0.2-199.noarch.rpm"
598 - "comp-l-all-vars-18.0.2-199-18.0.2-199.noarch.rpm"
599 - "comp-nomcu-vars-18.0.2-199-18.0.2-199.noarch.rpm")
600 -INTEL_DIST_X86_RPMS=(
601 - "comp-32bit-18.0.2-199-18.0.2-199.x86_64.rpm"
602 - "comp-ps-32bit-18.0.2-199-18.0.2-199.x86_64.rpm"
603 - "comp-ps-ss-bec-32bit-18.0.2-199-18.0.2-199.x86_64.rpm")
604 -INTEL_DIST_AMD64_RPMS=(
605 - "comp-18.0.2-199-18.0.2-199.x86_64.rpm"
606 - "comp-ps-18.0.2-199-18.0.2-199.x86_64.rpm"
607 - "comp-ps-ss-18.0.2-199-18.0.2-199.x86_64.rpm"
608 - "comp-ps-ss-bec-18.0.2-199-18.0.2-199.x86_64.rpm")
609 -
610 -pkg_setup() {
611 - if use doc; then
612 - INTEL_DIST_DAT_RPMS+=( "comp-doc-18.0-18.0.2-199.noarch.rpm" )
613 - fi
614 -
615 - if use mpi; then
616 - INTEL_DIST_AMD64_RPMS+=( "mpi-rt-2018.2-199-2018.2-199.x86_64.rpm" )
617 -
618 - if use doc; then
619 - INTEL_DIST_DAT_RPMS+=( "mpi-doc-2018-2018.2-199.x86_64.rpm" )
620 - fi
621 - fi
622 -
623 - if use openmp; then
624 - INTEL_DIST_DAT_RPMS+=( "openmp-common-18.0.2-199-18.0.2-199.noarch.rpm" )
625 - INTEL_DIST_AMD64_RPMS+=( "openmp-18.0.2-199-18.0.2-199.x86_64.rpm" )
626 - INTEL_DIST_X86_RPMS+=( "openmp-32bit-18.0.2-199-18.0.2-199.x86_64.rpm" )
627 -
628 - if use compiler; then
629 - INTEL_DIST_DAT_RPMS+=(
630 - "openmp-common-icc-18.0.2-199-18.0.2-199.noarch.rpm"
631 - "openmp-common-ifort-18.0.2-199-18.0.2-199.noarch.rpm")
632 - INTEL_DIST_AMD64_RPMS+=(
633 - "openmp-ifort-18.0.2-199-18.0.2-199.x86_64.rpm")
634 - INTEL_DIST_X86_RPMS+=(
635 - "openmp-ifort-32bit-18.0.2-199-18.0.2-199.x86_64.rpm")
636 - fi
637 - fi
638 -}
639 -
640 -src_install() {
641 - intel-sdp-r1_src_install
642 - local path rootpath ldpath arch fenv=35intelsdp
643 - cat > ${fenv} <<-EOF
644 - NLSPATH=$(isdp_get-sdp-edir)/linux/compiler/lib/$(isdp_get-native-abi-arch)/locale/en_US/%N
645 - INTEL_LICENSE_FILE=${EPREFIX}/opt/intel/licenses:$(isdp_get-sdp-edir)/licenses
646 - EOF
647 - for arch in $(isdp_get-sdp-installed-arches); do
648 - path="${path}:$(isdp_get-sdp-edir)/linux/bin/${arch}"
649 - rootpath="${rootpath}:$(isdp_get-sdp-edir)/linux/bin/${arch}"
650 - ldpath="${ldpath}:$(isdp_get-sdp-edir)/linux/compiler/lib/${arch}"
651 - done
652 - if use mpi && use amd64; then
653 - path="${path}:$(isdp_get-sdp-edir)/linux/mpi/intel64/bin/"
654 - rootpath="${rootpath}:$(isdp_get-sdp-edir)/linux/mpi/intel64/bin/"
655 - ldpath="${ldpath}:$(isdp_get-sdp-edir)/linux/mpi/intel64/lib/"
656 - fi
657 - cat >> ${fenv} <<-EOF
658 - PATH=${path#:}
659 - ROOTPATH=${rootpath#:}
660 - LDPATH=${ldpath#:}
661 - EOF
662 -
663 - doenvd ${fenv}
664 -
665 - cat >> "${T}"/40-${PN} <<- EOF
666 - SEARCH_DIRS_MASK=$(isdp_get-sdp-edir)
667 - EOF
668 - insinto /etc/revdep-rebuild/
669 - doins "${T}"/40-${PN}
670 -}
671
672 diff --git a/dev-libs/intel-common/intel-common-19.0.3.199-r1.ebuild b/dev-libs/intel-common/intel-common-19.0.3.199-r1.ebuild
673 deleted file mode 100644
674 index dc06e4551..000000000
675 --- a/dev-libs/intel-common/intel-common-19.0.3.199-r1.ebuild
676 +++ /dev/null
677 @@ -1,101 +0,0 @@
678 -# Copyright 1999-2021 Gentoo Authors
679 -# Distributed under the terms of the GNU General Public License v2
680 -
681 -EAPI=7
682 -
683 -INTEL_DIST_PV=2019_update3_professional_edition
684 -
685 -inherit intel-sdp-r1
686 -
687 -DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries"
688 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/"
689 -
690 -IUSE="+compiler doc +mpi +openmp"
691 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
692 -
693 -SLOT="0"
694 -
695 -MY_PV=$(ver_rs 3 '-') # 19.0.3-199
696 -MY_PV2=$(ver_cut 1-2) # 19.0
697 -MY_PV3='20'$(ver_cut 1) # 2019
698 -MY_PV4="${MY_PV3}."$(ver_cut 3)'-'$(ver_cut 4) # 2019.3-199
699 -
700 -CHECKREQS_DISK_BUILD=750M
701 -
702 -INTEL_DIST_BIN_RPMS=()
703 -INTEL_DIST_DAT_RPMS=(
704 - "c-comp-common-${MY_PV}-${MY_PV}.noarch.rpm"
705 - "comp-l-all-common-${MY_PV}-${MY_PV}.noarch.rpm"
706 - "comp-l-all-vars-${MY_PV}-${MY_PV}.noarch.rpm"
707 - "comp-nomcu-vars-${MY_PV}-${MY_PV}.noarch.rpm")
708 -INTEL_DIST_X86_RPMS=(
709 - "comp-32bit-${MY_PV}-${MY_PV}.x86_64.rpm"
710 - "comp-ps-32bit-${MY_PV}-${MY_PV}.x86_64.rpm"
711 - "comp-ps-ss-bec-32bit-${MY_PV}-${MY_PV}.x86_64.rpm")
712 -INTEL_DIST_AMD64_RPMS=(
713 - "comp-${MY_PV}-${MY_PV}.x86_64.rpm"
714 - "comp-ps-${MY_PV}-${MY_PV}.x86_64.rpm"
715 - "comp-ps-ss-${MY_PV}-${MY_PV}.x86_64.rpm"
716 - "comp-ps-ss-bec-${MY_PV}-${MY_PV}.x86_64.rpm")
717 -
718 -pkg_setup() {
719 - if use doc; then
720 - INTEL_DIST_DAT_RPMS+=( "comp-doc-${MY_PV2}-${MY_PV}.noarch.rpm" )
721 - fi
722 -
723 - if use mpi; then
724 - INTEL_DIST_AMD64_RPMS+=( "mpi-rt-${MY_PV4}-${MY_PV4}.x86_64.rpm" )
725 -
726 - if use doc; then
727 - INTEL_DIST_DAT_RPMS+=( "mpi-doc-${MY_PV3}-${MY_PV4}.x86_64.rpm" )
728 - fi
729 - fi
730 -
731 - if use openmp; then
732 - INTEL_DIST_DAT_RPMS+=( "openmp-common-${MY_PV}-${MY_PV}.noarch.rpm" )
733 - INTEL_DIST_AMD64_RPMS+=( "openmp-${MY_PV}-${MY_PV}.x86_64.rpm" )
734 - INTEL_DIST_X86_RPMS+=( "openmp-32bit-${MY_PV}-${MY_PV}.x86_64.rpm" )
735 -
736 - if use compiler; then
737 - INTEL_DIST_DAT_RPMS+=(
738 - "openmp-common-icc-${MY_PV}-${MY_PV}.noarch.rpm"
739 - "openmp-common-ifort-${MY_PV}-${MY_PV}.noarch.rpm")
740 - INTEL_DIST_AMD64_RPMS+=(
741 - "openmp-ifort-${MY_PV}-${MY_PV}.x86_64.rpm")
742 - INTEL_DIST_X86_RPMS+=(
743 - "openmp-ifort-32bit-${MY_PV}-${MY_PV}.x86_64.rpm")
744 - fi
745 - fi
746 -}
747 -
748 -src_install() {
749 - intel-sdp-r1_src_install
750 - local path rootpath ldpath arch fenv=35intelsdp
751 - cat > ${fenv} <<-EOF
752 - NLSPATH=$(isdp_get-sdp-edir)/linux/compiler/lib/$(isdp_get-native-abi-arch)/locale/en_US/%N
753 - INTEL_LICENSE_FILE=${EPREFIX}/opt/intel/licenses:$(isdp_get-sdp-edir)/licenses
754 - EOF
755 - for arch in $(isdp_get-sdp-installed-arches); do
756 - path="${path}:$(isdp_get-sdp-edir)/linux/bin/${arch}"
757 - rootpath="${rootpath}:$(isdp_get-sdp-edir)/linux/bin/${arch}"
758 - ldpath="${ldpath}:$(isdp_get-sdp-edir)/linux/compiler/lib/${arch}"
759 - done
760 - if use mpi && use amd64; then
761 - path="${path}:$(isdp_get-sdp-edir)/linux/mpi/intel64/bin/"
762 - rootpath="${rootpath}:$(isdp_get-sdp-edir)/linux/mpi/intel64/bin/"
763 - ldpath="${ldpath}:$(isdp_get-sdp-edir)/linux/mpi/intel64/lib/"
764 - fi
765 - cat >> ${fenv} <<-EOF
766 - PATH=${path#:}
767 - ROOTPATH=${rootpath#:}
768 - LDPATH=${ldpath#:}
769 - EOF
770 -
771 - doenvd ${fenv}
772 -
773 - cat >> "${T}"/40-${PN} <<- EOF
774 - SEARCH_DIRS_MASK=$(isdp_get-sdp-edir)
775 - EOF
776 - insinto /etc/revdep-rebuild/
777 - doins "${T}"/40-${PN}
778 -}
779
780 diff --git a/dev-libs/intel-common/intel-common-19.0.4.243.ebuild b/dev-libs/intel-common/intel-common-19.0.4.243.ebuild
781 deleted file mode 100644
782 index df8f5574c..000000000
783 --- a/dev-libs/intel-common/intel-common-19.0.4.243.ebuild
784 +++ /dev/null
785 @@ -1,101 +0,0 @@
786 -# Copyright 1999-2021 Gentoo Authors
787 -# Distributed under the terms of the GNU General Public License v2
788 -
789 -EAPI=7
790 -
791 -INTEL_DIST_PV=2019_update4_professional_edition
792 -
793 -inherit intel-sdp-r1
794 -
795 -DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries"
796 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/"
797 -
798 -IUSE="+compiler doc +mpi +openmp"
799 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
800 -
801 -SLOT="0"
802 -
803 -MY_PV=$(ver_rs 3 '-') # 19.0.3-199
804 -MY_PV2=$(ver_cut 1-2) # 19.0
805 -MY_PV3='20'$(ver_cut 1) # 2019
806 -MY_PV4="${MY_PV3}."$(ver_cut 3)'-'$(ver_cut 4) # 2019.3-199
807 -
808 -CHECKREQS_DISK_BUILD=750M
809 -
810 -INTEL_DIST_BIN_RPMS=()
811 -INTEL_DIST_DAT_RPMS=(
812 - "c-comp-common-${MY_PV}-${MY_PV}.noarch.rpm"
813 - "comp-l-all-common-${MY_PV}-${MY_PV}.noarch.rpm"
814 - "comp-l-all-vars-${MY_PV}-${MY_PV}.noarch.rpm"
815 - "comp-nomcu-vars-${MY_PV}-${MY_PV}.noarch.rpm")
816 -INTEL_DIST_X86_RPMS=(
817 - "comp-32bit-${MY_PV}-${MY_PV}.x86_64.rpm"
818 - "comp-ps-32bit-${MY_PV}-${MY_PV}.x86_64.rpm"
819 - "comp-ps-ss-bec-32bit-${MY_PV}-${MY_PV}.x86_64.rpm")
820 -INTEL_DIST_AMD64_RPMS=(
821 - "comp-${MY_PV}-${MY_PV}.x86_64.rpm"
822 - "comp-ps-${MY_PV}-${MY_PV}.x86_64.rpm"
823 - "comp-ps-ss-${MY_PV}-${MY_PV}.x86_64.rpm"
824 - "comp-ps-ss-bec-${MY_PV}-${MY_PV}.x86_64.rpm")
825 -
826 -pkg_setup() {
827 - if use doc; then
828 - INTEL_DIST_DAT_RPMS+=( "comp-doc-${MY_PV2}-${MY_PV}.noarch.rpm" )
829 - fi
830 -
831 - if use mpi; then
832 - INTEL_DIST_AMD64_RPMS+=( "mpi-rt-${MY_PV4}-${MY_PV4}.x86_64.rpm" )
833 -
834 - if use doc; then
835 - INTEL_DIST_DAT_RPMS+=( "mpi-doc-${MY_PV3}-${MY_PV4}.x86_64.rpm" )
836 - fi
837 - fi
838 -
839 - if use openmp; then
840 - INTEL_DIST_DAT_RPMS+=( "openmp-common-${MY_PV}-${MY_PV}.noarch.rpm" )
841 - INTEL_DIST_AMD64_RPMS+=( "openmp-${MY_PV}-${MY_PV}.x86_64.rpm" )
842 - INTEL_DIST_X86_RPMS+=( "openmp-32bit-${MY_PV}-${MY_PV}.x86_64.rpm" )
843 -
844 - if use compiler; then
845 - INTEL_DIST_DAT_RPMS+=(
846 - "openmp-common-icc-${MY_PV}-${MY_PV}.noarch.rpm"
847 - "openmp-common-ifort-${MY_PV}-${MY_PV}.noarch.rpm")
848 - INTEL_DIST_AMD64_RPMS+=(
849 - "openmp-ifort-${MY_PV}-${MY_PV}.x86_64.rpm")
850 - INTEL_DIST_X86_RPMS+=(
851 - "openmp-ifort-32bit-${MY_PV}-${MY_PV}.x86_64.rpm")
852 - fi
853 - fi
854 -}
855 -
856 -src_install() {
857 - intel-sdp-r1_src_install
858 - local path rootpath ldpath arch fenv=35intelsdp
859 - cat > ${fenv} <<-EOF
860 - NLSPATH=$(isdp_get-sdp-edir)/linux/compiler/lib/$(isdp_get-native-abi-arch)/locale/en_US/%N
861 - INTEL_LICENSE_FILE=${EPREFIX}/opt/intel/licenses:$(isdp_get-sdp-edir)/licenses
862 - EOF
863 - for arch in $(isdp_get-sdp-installed-arches); do
864 - path="${path}:$(isdp_get-sdp-edir)/linux/bin/${arch}"
865 - rootpath="${rootpath}:$(isdp_get-sdp-edir)/linux/bin/${arch}"
866 - ldpath="${ldpath}:$(isdp_get-sdp-edir)/linux/compiler/lib/${arch}"
867 - done
868 - if use mpi && use amd64; then
869 - path="${path}:$(isdp_get-sdp-edir)/linux/mpi/intel64/bin/"
870 - rootpath="${rootpath}:$(isdp_get-sdp-edir)/linux/mpi/intel64/bin/"
871 - ldpath="${ldpath}:$(isdp_get-sdp-edir)/linux/mpi/intel64/lib/"
872 - fi
873 - cat >> ${fenv} <<-EOF
874 - PATH=${path#:}
875 - ROOTPATH=${rootpath#:}
876 - LDPATH=${ldpath#:}
877 - EOF
878 -
879 - doenvd ${fenv}
880 -
881 - cat >> "${T}"/40-${PN} <<- EOF
882 - SEARCH_DIRS_MASK=$(isdp_get-sdp-edir)
883 - EOF
884 - insinto /etc/revdep-rebuild/
885 - doins "${T}"/40-${PN}
886 -}
887
888 diff --git a/dev-libs/intel-common/intel-common-19.1.1.217.ebuild b/dev-libs/intel-common/intel-common-19.1.1.217.ebuild
889 deleted file mode 100644
890 index 4ba98edad..000000000
891 --- a/dev-libs/intel-common/intel-common-19.1.1.217.ebuild
892 +++ /dev/null
893 @@ -1,102 +0,0 @@
894 -# Copyright 1999-2021 Gentoo Authors
895 -# Distributed under the terms of the GNU General Public License v2
896 -
897 -EAPI=7
898 -
899 -INTEL_DIST_PV=2020_update1_professional_edition
900 -
901 -inherit intel-sdp-r1
902 -
903 -DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries"
904 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/"
905 -
906 -IUSE="+compiler doc +mpi +openmp"
907 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
908 -
909 -SLOT="0"
910 -
911 -MY_PV="$(ver_rs 3 '-')" # 19.1.1-217
912 -MY_PV2="$(ver_cut 1-2)" # 19.1
913 -MY_PV3="2019" # 2019
914 -MY_PV4="${MY_PV3}.7-$(ver_cut 4)" # 2019.7-217 sic!
915 -
916 -CHECKREQS_DISK_BUILD=750M
917 -
918 -QA_PREBUILT="*"
919 -
920 -INTEL_DIST_BIN_RPMS=()
921 -INTEL_DIST_DAT_RPMS=(
922 - "c-comp-common-${MY_PV}-${MY_PV}.noarch.rpm"
923 - "comp-l-all-common-${MY_PV}-${MY_PV}.noarch.rpm"
924 - "comp-l-all-vars-${MY_PV}-${MY_PV}.noarch.rpm"
925 - "comp-nomcu-vars-${MY_PV}-${MY_PV}.noarch.rpm")
926 -INTEL_DIST_X86_RPMS=(
927 - "comp-32bit-${MY_PV}-${MY_PV}.x86_64.rpm"
928 - "comp-ps-32bit-${MY_PV}-${MY_PV}.x86_64.rpm"
929 - "comp-ps-ss-bec-32bit-${MY_PV}-${MY_PV}.x86_64.rpm")
930 -INTEL_DIST_AMD64_RPMS=(
931 - "comp-${MY_PV}-${MY_PV}.x86_64.rpm"
932 - "comp-ps-${MY_PV}-${MY_PV}.x86_64.rpm"
933 - "comp-ps-ss-bec-${MY_PV}-${MY_PV}.x86_64.rpm")
934 -
935 -pkg_setup() {
936 - if use doc; then
937 - INTEL_DIST_DAT_RPMS+=( "comp-doc-${MY_PV2}-${MY_PV}.noarch.rpm" )
938 - fi
939 -
940 - if use mpi; then
941 - INTEL_DIST_AMD64_RPMS+=( "mpi-rt-${MY_PV4}-${MY_PV4}.x86_64.rpm" )
942 -
943 - if use doc; then
944 - INTEL_DIST_DAT_RPMS+=( "mpi-doc-${MY_PV3}-${MY_PV4}.x86_64.rpm" )
945 - fi
946 - fi
947 -
948 - if use openmp; then
949 - INTEL_DIST_DAT_RPMS+=( "openmp-common-${MY_PV}-${MY_PV}.noarch.rpm" )
950 - INTEL_DIST_AMD64_RPMS+=( "openmp-${MY_PV}-${MY_PV}.x86_64.rpm" )
951 - INTEL_DIST_X86_RPMS+=( "openmp-32bit-${MY_PV}-${MY_PV}.x86_64.rpm" )
952 -
953 - if use compiler; then
954 - INTEL_DIST_DAT_RPMS+=(
955 - "openmp-common-icc-${MY_PV}-${MY_PV}.noarch.rpm"
956 - "openmp-common-ifort-${MY_PV}-${MY_PV}.noarch.rpm")
957 - INTEL_DIST_AMD64_RPMS+=(
958 - "openmp-ifort-${MY_PV}-${MY_PV}.x86_64.rpm")
959 - INTEL_DIST_X86_RPMS+=(
960 - "openmp-ifort-32bit-${MY_PV}-${MY_PV}.x86_64.rpm")
961 - fi
962 - fi
963 -}
964 -
965 -src_install() {
966 - intel-sdp-r1_src_install
967 - local path rootpath ldpath arch fenv=35intelsdp
968 - cat > ${fenv} <<-EOF
969 - NLSPATH=$(isdp_get-sdp-edir)/linux/compiler/lib/$(isdp_get-native-abi-arch)/locale/en_US/%N
970 - INTEL_LICENSE_FILE=${EPREFIX}/opt/intel/licenses:$(isdp_get-sdp-edir)/licenses
971 - EOF
972 - for arch in $(isdp_get-sdp-installed-arches); do
973 - path="${path}:$(isdp_get-sdp-edir)/linux/bin/${arch}"
974 - rootpath="${rootpath}:$(isdp_get-sdp-edir)/linux/bin/${arch}"
975 - ldpath="${ldpath}:$(isdp_get-sdp-edir)/linux/compiler/lib/${arch}"
976 - done
977 - if use mpi && use amd64; then
978 - path="${path}:$(isdp_get-sdp-edir)/linux/mpi/intel64/bin/"
979 - rootpath="${rootpath}:$(isdp_get-sdp-edir)/linux/mpi/intel64/bin/"
980 - ldpath="${ldpath}:$(isdp_get-sdp-edir)/linux/mpi/intel64/lib/"
981 - fi
982 - cat >> ${fenv} <<-EOF
983 - PATH=${path#:}
984 - ROOTPATH=${rootpath#:}
985 - LDPATH=${ldpath#:}
986 - EOF
987 -
988 - doenvd ${fenv}
989 -
990 - cat >> "${T}"/40-${PN} <<- EOF
991 - SEARCH_DIRS_MASK=$(isdp_get-sdp-edir)
992 - EOF
993 - insinto /etc/revdep-rebuild/
994 - doins "${T}"/40-${PN}
995 -}
996
997 diff --git a/dev-libs/intel-common/metadata.xml b/dev-libs/intel-common/metadata.xml
998 deleted file mode 100644
999 index 026b5a33d..000000000
1000 --- a/dev-libs/intel-common/metadata.xml
1001 +++ /dev/null
1002 @@ -1,15 +0,0 @@
1003 -<?xml version="1.0" encoding="UTF-8"?>
1004 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
1005 -<pkgmetadata>
1006 - <maintainer type="project">
1007 - <email>sci@g.o</email>
1008 - <name>Gentoo Science Project</name>
1009 - </maintainer>
1010 - <longdescription lang="en">
1011 -This package contains the core files to be installed for the Intel
1012 -compilers and libraries. Probably useless if installed standalone.
1013 -</longdescription>
1014 - <use>
1015 - <flag name="compiler">Install the libraries needed for the icc and ifort compilers</flag>
1016 - </use>
1017 -</pkgmetadata>
1018
1019 diff --git a/eclass/intel-sdp-r1.eclass b/eclass/intel-sdp-r1.eclass
1020 deleted file mode 100644
1021 index 9d902395f..000000000
1022 --- a/eclass/intel-sdp-r1.eclass
1023 +++ /dev/null
1024 @@ -1,571 +0,0 @@
1025 -# Copyright 1999-2019 Gentoo Authors
1026 -# Distributed under the terms of the GNU General Public License v2
1027 -
1028 -# @ECLASS: intel-sdp-r1.eclass
1029 -# @MAINTAINER:
1030 -# Justin Lecher <jlec@g.o>
1031 -# David Seifert <soap@g.o>
1032 -# Sci Team <sci@g.o>
1033 -# @BLURB: Handling of Intel's Software Development Products package management
1034 -
1035 -MULTILIB_COMPAT=( abi_x86_{32,64} )
1036 -
1037 -inherit check-reqs eutils multilib-build
1038 -
1039 -EXPORT_FUNCTIONS src_unpack src_install pkg_postinst pkg_postrm pkg_pretend
1040 -
1041 -if [[ ! ${_INTEL_SDP_R1_ECLASS_} ]]; then
1042 -
1043 -case "${EAPI}" in
1044 - 7) ;;
1045 - *) die "EAPI=${EAPI} is not supported" ;;
1046 -esac
1047 -
1048 -# @ECLASS-VARIABLE: INTEL_DIST_NAME
1049 -# @DESCRIPTION:
1050 -# The package name to download from Intel.
1051 -# To determine its value, see the links to download in
1052 -# https://registrationcenter.intel.com/RegCenter/MyProducts.aspx
1053 -#
1054 -# e.g. parallel_studio_xe
1055 -#
1056 -# Must be defined before inheriting the eclass.
1057 -: ${INTEL_DIST_NAME:=parallel_studio_xe}
1058 -
1059 -# @ECLASS-VARIABLE: INTEL_DIST_PV
1060 -# @DEFAULT_UNSET
1061 -# @DESCRIPTION:
1062 -# The package download version from Intel.
1063 -# To determine its value, see the links to download in
1064 -# https://registrationcenter.intel.com/RegCenter/MyProducts.aspx
1065 -#
1066 -# e.g. 2016_update1
1067 -#
1068 -# Must be defined before inheriting the eclass.
1069 -
1070 -# @ECLASS-VARIABLE: INTEL_DIST_TARX
1071 -# @DESCRIPTION:
1072 -# The package distfile suffix.
1073 -# To determine its value, see the links to download in
1074 -# https://registrationcenter.intel.com/RegCenter/MyProducts.aspx
1075 -#
1076 -# e.g. tgz
1077 -#
1078 -# Must be defined before inheriting the eclass.
1079 -: ${INTEL_DIST_TARX:=tgz}
1080 -
1081 -# @ECLASS-VARIABLE: INTEL_SUBDIR
1082 -# @DESCRIPTION:
1083 -# The package sub-directory (without version numbers) where it will end-up in /opt/intel
1084 -#
1085 -# e.g. compilers_and_libraries
1086 -#
1087 -# To determine its value, you have to do a raw install from the Intel tarball.
1088 -: ${INTEL_SUBDIR:=compilers_and_libraries}
1089 -
1090 -# @ECLASS-VARIABLE: INTEL_SKIP_LICENSE
1091 -# @DEFAULT_UNSET
1092 -# @DESCRIPTION:
1093 -# Possibility to skip the mandatory check for licenses. Only set this if there
1094 -# is really no fix.
1095 -
1096 -# @ECLASS-VARIABLE: INTEL_RPMS_DIR
1097 -# @DESCRIPTION:
1098 -# Main subdirectory which contains the rpms to extract.
1099 -: ${INTEL_RPMS_DIR:=rpm}
1100 -
1101 -# @ECLASS-VARIABLE: INTEL_DIST_BIN_RPMS
1102 -# @DESCRIPTION:
1103 -# Functional name of rpm without any version/arch tag.
1104 -# Has to be a bash array
1105 -#
1106 -# e.g. ("icc-l-all-devel")
1107 -#
1108 -# if the rpm is located in a directory other than INTEL_RPMS_DIR you can
1109 -# specify the full path
1110 -#
1111 -# e.g. ("CLI_install/rpm/intel-vtune-amplifier-xe-cli")
1112 -[[ ${INTEL_DIST_BIN_RPMS[@]} ]] || INTEL_DIST_BIN_RPMS=()
1113 -
1114 -# @ECLASS-VARIABLE: INTEL_DIST_AMD64_RPMS
1115 -# @DESCRIPTION:
1116 -# AMD64 single arch rpms. Same syntax as INTEL_DIST_BIN_RPMS.
1117 -# Has to be a bash array.
1118 -[[ ${INTEL_DIST_AMD64_RPMS[@]} ]] || INTEL_DIST_AMD64_RPMS=()
1119 -
1120 -# @ECLASS-VARIABLE: INTEL_DIST_X86_RPMS
1121 -# @DESCRIPTION:
1122 -# X86 single arch rpms. Same syntax as INTEL_DIST_BIN_RPMS.
1123 -# Has to be a bash array.
1124 -[[ ${INTEL_DIST_X86_RPMS[@]} ]] || INTEL_DIST_X86_RPMS=()
1125 -
1126 -# @ECLASS-VARIABLE: INTEL_DIST_DAT_RPMS
1127 -# @DESCRIPTION:
1128 -# Functional name of rpm of common data which are arch free
1129 -# without any version tag. Has to be a bash array.
1130 -#
1131 -# e.g. ("openmp-l-all-devel")
1132 -#
1133 -# if the rpm is located in a directory different to INTEL_RPMS_DIR you can
1134 -# specify the full path
1135 -#
1136 -# e.g. ("CLI_install/rpm/intel-vtune-amplifier-xe-cli-common")
1137 -[[ ${INTEL_DIST_DAT_RPMS[@]} ]] || INTEL_DIST_DAT_RPMS=()
1138 -
1139 -# @ECLASS-VARIABLE: INTEL_DIST_SPLIT_ARCH
1140 -# @DESCRIPTION:
1141 -# Set to "true" if arches are to be fetched separately, instead of using
1142 -# the combined tarball.
1143 -: ${INTEL_DIST_SPLIT_ARCH:=false}
1144 -
1145 -# @FUNCTION: _isdp_path_exists
1146 -# @INTERNAL
1147 -# @USAGE: [-a|-o] <paths>
1148 -# @DESCRIPTION:
1149 -# Check if the specified paths exist. Works for all types of paths
1150 -# (files/dirs/etc...). The -a and -o flags control the requirements
1151 -# of the paths. They correspond to "and" and "or" logic. So the -a
1152 -# flag means all the paths must exist while the -o flag means at least
1153 -# one of the paths must exist. The default behavior is "and". If no
1154 -# paths are specified, then the return value is "false".
1155 -_isdp_path_exists() {
1156 - local opt=$1
1157 - [[ ${opt} == -[ao] ]] && shift || opt="-a"
1158 -
1159 - # no paths -> return false
1160 - # same behavior as: [[ -e "" ]]
1161 - [[ $# -eq 0 ]] && return 1
1162 -
1163 - local p r=0
1164 - for p in "$@" ; do
1165 - [[ -e ${p} ]]
1166 - : $(( r += $? ))
1167 - done
1168 -
1169 - case ${opt} in
1170 - -a) return $(( r != 0 )) ;;
1171 - -o) return $(( r == $# )) ;;
1172 - esac
1173 - eerror "path_exists has been removed. Please see the following post"
1174 - eerror "for a replacement snippet:"
1175 - eerror "https://blogs.gentoo.org/mgorny/2018/08/09/inlining-path_exists/"
1176 - die "path_exists is banned"
1177 -}
1178 -
1179 -# @FUNCTION: _isdp_get-sdp-year
1180 -# @INTERNAL
1181 -# @DESCRIPTION:
1182 -# Gets the year component from INTEL_DIST_PV
1183 -_isdp_get-sdp-year() {
1184 - local _intel_sdp_year
1185 - _intel_sdp_year=${INTEL_DIST_PV}
1186 - _intel_sdp_year=${_intel_sdp_year%_sp*}
1187 - _intel_sdp_year=${_intel_sdp_year%_update*}
1188 - echo "${_intel_sdp_year}"
1189 -}
1190 -
1191 -# @FUNCTION: isdp_get-sdp-dir
1192 -# @DESCRIPTION:
1193 -# Gets the full rootless path to the installation directory
1194 -#
1195 -# e.g. opt/intel/compilers_and_libraries_2016.1.150
1196 -# opt/intel/vtune_amplifier_2018.2.0.551022
1197 -isdp_get-sdp-dir() {
1198 - local _intel_sdp_dir="opt/intel/${INTEL_SUBDIR}_$(_isdp_get-sdp-year).$(ver_cut 3-)"
1199 - echo "${_intel_sdp_dir}"
1200 -}
1201 -
1202 -# @FUNCTION: isdp_get-sdp-edir
1203 -# @DESCRIPTION:
1204 -# Gets the full rooted/prefixed path to the installation directory
1205 -#
1206 -# e.g. /opt/intel/compilers_and_libraries_2016.1.150
1207 -isdp_get-sdp-edir() {
1208 - local _intel_sdp_edir="${EPREFIX%/}/$(isdp_get-sdp-dir)"
1209 - echo "${_intel_sdp_edir}"
1210 -}
1211 -
1212 -SRC_URI="${INTEL_DIST_NAME}_${INTEL_DIST_PV}.${INTEL_DIST_TARX}"
1213 -LICENSE="Intel-SDP"
1214 -# TODO: Proper slotting
1215 -# Future work, #394411
1216 -SLOT="0"
1217 -
1218 -RESTRICT="bindist mirror fetch"
1219 -
1220 -RDEPEND=""
1221 -DEPEND="app-arch/rpm2targz"
1222 -
1223 -S="${WORKDIR}"
1224 -
1225 -QA_PREBUILT="$(isdp_get-sdp-dir)/*"
1226 -
1227 -# @FUNCTION: isdp_convert2intel-arch
1228 -# @USAGE: <arch>
1229 -# @DESCRIPTION:
1230 -# Convert between portage arch (e.g. amd64, x86) and intel installed arch
1231 -# nomenclature (e.g. intel64, ia32)
1232 -isdp_convert2intel-arch() {
1233 - debug-print-function ${FUNCNAME} "${@}"
1234 -
1235 - case $1 in
1236 - *amd64*|abi_x86_64)
1237 - echo "intel64"
1238 - ;;
1239 - *x86*)
1240 - echo "ia32"
1241 - ;;
1242 - *)
1243 - die "Abi \'$1\' is unsupported"
1244 - ;;
1245 - esac
1246 -}
1247 -
1248 -# @FUNCTION: isdp_get-native-abi-arch
1249 -# @DESCRIPTION:
1250 -# Determine the the intel arch string of the native ABI
1251 -isdp_get-native-abi-arch() {
1252 - debug-print-function ${FUNCNAME} "${@}"
1253 -
1254 - use amd64 && echo "$(isdp_convert2intel-arch abi_x86_64)"
1255 - use x86 && echo "$(isdp_convert2intel-arch abi_x86_32)"
1256 -}
1257 -
1258 -# @FUNCTION: isdp_get-sdp-installed-arches
1259 -# @DESCRIPTION:
1260 -# Returns a space separated list of the arch suffixes used in directory
1261 -# names for enabled ABIs. Intel uses "ia32" for x86 and "intel64" for
1262 -# amd64. The result would be "ia32 intel64" if both ABIs were enabled.
1263 -isdp_get-sdp-installed-arches() {
1264 - local arch=()
1265 - use abi_x86_64 && arch+=($(isdp_convert2intel-arch abi_x86_64))
1266 - use abi_x86_32 && arch+=($(isdp_convert2intel-arch abi_x86_32))
1267 - echo "${arch[*]}"
1268 -}
1269 -
1270 -# @FUNCTION: _isdp_generate-list-install-rpms
1271 -# @INTERNAL
1272 -# @DESCRIPTION:
1273 -# Generates the list of fully expanded RPMs to be extracted.
1274 -_isdp_generate-list-install-rpms() {
1275 - debug-print-function ${FUNCNAME} "${@}"
1276 -
1277 - # Expand components into full RPM filenames
1278 - expand_component_into_full_rpm() {
1279 - local deref_var="${1}[@]"
1280 - local p rpm_prefix expanded_full_rpms=()
1281 -
1282 - for p in "${!deref_var}"; do
1283 - # check if a directory is prefixed
1284 - if [[ "${p}" == "${p##*/}" ]]; then
1285 - rpm_prefix="${INTEL_RPMS_DIR}/intel-"
1286 - else
1287 - rpm_prefix=""
1288 - fi
1289 - expanded_full_rpms+=( "${rpm_prefix}${p}" )
1290 - done
1291 - echo ${expanded_full_rpms[*]}
1292 - }
1293 -
1294 - local vars_to_expand=("INTEL_DIST_BIN_RPMS" "INTEL_DIST_DAT_RPMS")
1295 - if use abi_x86_32; then
1296 - vars_to_expand+=("INTEL_DIST_X86_RPMS")
1297 - fi
1298 - if use abi_x86_64; then
1299 - vars_to_expand+=("INTEL_DIST_AMD64_RPMS")
1300 - fi
1301 -
1302 - local i fully_expanded_intel_rpms=()
1303 - for ((i=0; i<${#vars_to_expand[@]}; i++)); do
1304 - fully_expanded_intel_rpms+=($(expand_component_into_full_rpm "${vars_to_expand[i]}"))
1305 - done
1306 - echo ${fully_expanded_intel_rpms[*]}
1307 -}
1308 -
1309 -# @FUNCTION: _isdp_big-warning
1310 -# @USAGE: [pre-check | test-failed]
1311 -# @INTERNAL
1312 -# @DESCRIPTION:
1313 -# warn user that we really require a license
1314 -_isdp_big-warning() {
1315 - debug-print-function ${FUNCNAME} "${@}"
1316 -
1317 - case ${1} in
1318 - pre-check )
1319 - ewarn "License file not found!"
1320 - ;;
1321 -
1322 - test-failed )
1323 - ewarn "Function test failed. Most probably due to an invalid license."
1324 - ewarn "This means you already tried to bypass the license check once."
1325 - ;;
1326 - esac
1327 -
1328 - ewarn
1329 - ewarn "Make sure you have received an Intel license."
1330 - ewarn "To receive a non-commercial license, you need to register at:"
1331 - ewarn "https://software.intel.com/en-us/qualify-for-free-software"
1332 - ewarn "Install the license file into ${EPREFIX}/opt/intel/licenses"
1333 -
1334 - case ${1} in
1335 - pre-check )
1336 - ewarn "before proceeding with installation of ${P}"
1337 - ;;
1338 - * )
1339 - ;;
1340 - esac
1341 -}
1342 -
1343 -# @FUNCTION: _isdp_version_test
1344 -# @INTERNAL
1345 -# @DESCRIPTION:
1346 -# Testing for valid license by asking for version information of the compiler.
1347 -_isdp_version_test() {
1348 - debug-print-function ${FUNCNAME} "${@}"
1349 -
1350 - local comp
1351 - case ${PN} in
1352 - ifc )
1353 - debug-print "Testing ifort"
1354 - comp=ifort
1355 - ;;
1356 - icc )
1357 - debug-print "Testing icc"
1358 - comp=icc
1359 - ;;
1360 - *)
1361 - die "${PN} is not supported for testing"
1362 - ;;
1363 - esac
1364 -
1365 - local comp_full arch warn
1366 - for arch in $(isdp_get-sdp-installed-arches); do
1367 - case ${EBUILD_PHASE} in
1368 - install )
1369 - comp_full="${ED%/}/$(isdp_get-sdp-dir)/linux/bin/${arch}/${comp}"
1370 - ;;
1371 - postinst )
1372 - comp_full="$(isdp_get-sdp-edir)/linux/bin/${arch}/${comp}"
1373 - ;;
1374 - * )
1375 - die "Compile test not supported in ${EBUILD_PHASE}"
1376 - ;;
1377 - esac
1378 -
1379 - debug-print "LD_LIBRARY_PATH=\"$(isdp_get-sdp-edir)/linux/bin/${arch}/\" \"${comp_full}\" -V"
1380 -
1381 - LD_LIBRARY_PATH="$(isdp_get-sdp-edir)/linux/bin/${arch}/" "${comp_full}" -V &>/dev/null || warn=yes
1382 - done
1383 - [[ ${warn} == yes ]] && _isdp_big-warning test-failed
1384 -}
1385 -
1386 -# @FUNCTION: _isdp_run-test
1387 -# @INTERNAL
1388 -# @DESCRIPTION:
1389 -# Test if installed compiler is working.
1390 -_isdp_run-test() {
1391 - debug-print-function ${FUNCNAME} "${@}"
1392 -
1393 - if [[ -z ${INTEL_SKIP_LICENSE} ]]; then
1394 - case ${PN} in
1395 - ifc | icc )
1396 - _isdp_version_test
1397 - ;;
1398 - * )
1399 - debug-print "No test available for ${PN}"
1400 - ;;
1401 - esac
1402 - fi
1403 -}
1404 -
1405 -# @FUNCTION: intel-sdp-r1_pkg_pretend
1406 -# @DESCRIPTION:
1407 -#
1408 -# * Check for a (valid) license before proceeding.
1409 -#
1410 -# * Check for space requirements being fulfilled.
1411 -#
1412 -intel-sdp-r1_pkg_pretend() {
1413 - debug-print-function ${FUNCNAME} "${@}"
1414 -
1415 - local warn=1 dir dirs ret arch a p
1416 -
1417 - : ${CHECKREQS_DISK_BUILD:=256M}
1418 - check-reqs_pkg_pretend
1419 -
1420 - if [[ -z ${INTEL_SKIP_LICENSE} ]]; then
1421 - if [[ ${INTEL_LICENSE_FILE} == *@* ]]; then
1422 - einfo "Looks like you are using following license server:"
1423 - einfo " ${INTEL_LICENSE_FILE}"
1424 - return 0
1425 - fi
1426 -
1427 - dirs=(
1428 - "${EPREFIX}/opt/intel/licenses"
1429 - "$(isdp_get-sdp-edir)/licenses"
1430 - "$(isdp_get-sdp-edir)/Licenses"
1431 - )
1432 - for dir in "${dirs[@]}" ; do
1433 - ebegin "Checking for a license in: ${dir}"
1434 - _isdp_path_exists "${dir}"/*lic && warn=0
1435 - eend ${warn} && break
1436 - done
1437 - if [[ ${warn} == 1 ]]; then
1438 - _isdp_big-warning pre-check
1439 - die "Could not find license file"
1440 - fi
1441 - else
1442 - eqawarn "The ebuild doesn't check for presence of a proper intel license!"
1443 - eqawarn "This shouldn't be done unless there is a very good reason."
1444 - fi
1445 -}
1446 -
1447 -# @FUNCTION: intel-sdp-r1_pkg_nofetch
1448 -# @DESCRIPTION:
1449 -# Advice user to download the parallel studio tarball
1450 -pkg_nofetch() {
1451 - einfo "Please download"
1452 - einfo " ${SRC_URI}"
1453 - einfo "from"
1454 - einfo " https://registrationcenter.intel.com/RegCenter/MyProducts.aspx"
1455 - einfo "and place the tarball in your DISTDIR directory."
1456 -}
1457 -
1458 -# @FUNCTION: intel-sdp-r1_src_unpack
1459 -# @DESCRIPTION:
1460 -# Unpacking necessary rpms from tarball, extract them and rearrange the output.
1461 -intel-sdp-r1_src_unpack() {
1462 - local t
1463 - for t in ${A}; do
1464 - local r list=() source_rpms=($(_isdp_generate-list-install-rpms))
1465 - for r in "${source_rpms[@]}"; do
1466 - list+=( ${t%%.*}/${r} )
1467 - done
1468 -
1469 - local debug_list
1470 - debug_list="$(IFS=$'\n'; echo ${list[@]} )"
1471 -
1472 - debug-print "Adding to decompression list:"
1473 - debug-print ${debug_list}
1474 -
1475 - tar -xvf "${DISTDIR}"/${t} ${list[@]} &> "${T}"/rpm-extraction.log
1476 -
1477 - for r in ${list[@]}; do
1478 - einfo "Unpacking ${r}"
1479 - printf "\nUnpacking %s\n" "${r}" >> "${T}"/rpm-extraction.log
1480 - rpm2tar -O ${r} | tar -xvf - &>> "${T}"/rpm-extraction.log; assert "Unpacking ${r} failed"
1481 - done
1482 - done
1483 -}
1484 -
1485 -# @FUNCTION: intel-sdp-r1_src_install
1486 -# @DESCRIPTION:
1487 -# Install everything
1488 -intel-sdp-r1_src_install() {
1489 - debug-print-function ${FUNCNAME} "${@}"
1490 -
1491 - local i
1492 - # remove uninstall information
1493 - ebegin "Cleaning out uninstall"
1494 - while IFS='\n' read -r -d '' i; do
1495 - rm -r "${i}" || die
1496 - done < <(find opt -regextype posix-extended -regex '.*(uninstall|uninstall.sh)$' -print0)
1497 - eend
1498 -
1499 - # handle documentation
1500 - if _isdp_path_exists "opt/intel/documentation_$(_isdp_get-sdp-year)"; then
1501 - # normal man pages
1502 - if _isdp_path_exists "opt/intel/documentation_$(_isdp_get-sdp-year)/en/man/common/man1"; then
1503 - doman opt/intel/documentation_"$(_isdp_get-sdp-year)"/en/man/common/man1/*
1504 - rm -r opt/intel/documentation_"$(_isdp_get-sdp-year)"/en/man || die
1505 - fi
1506 -
1507 - use doc && dodoc -r opt/intel/documentation_"$(_isdp_get-sdp-year)"/*
1508 -
1509 - ebegin "Cleaning out documentation"
1510 - rm -r "opt/intel/documentation_$(_isdp_get-sdp-year)" || die
1511 - rm -rf "$(isdp_get-sdp-dir)"/linux/{documentation,man} || die
1512 - eend
1513 - fi
1514 -
1515 - # MPI man pages
1516 - if _isdp_path_exists "$(isdp_get-sdp-dir)/linux/mpi/man/man3"; then
1517 - doman "$(isdp_get-sdp-dir)"/linux/mpi/man/man3/*
1518 - rm -r "$(isdp_get-sdp-dir)"/linux/mpi/man || die
1519 - fi
1520 -
1521 - # licensing docs
1522 - if _isdp_path_exists "$(isdp_get-sdp-dir)/licensing/documentation"; then
1523 - dodoc -r "$(isdp_get-sdp-dir)/licensing/documentation"/*
1524 - rm -rf "$(isdp_get-sdp-dir)/licensing/documentation" || die
1525 - fi
1526 -
1527 - if _isdp_path_exists opt/intel/"${INTEL_DIST_NAME}"*/licensing; then
1528 - dodoc -r opt/intel/"${INTEL_DIST_NAME}"*/licensing
1529 - rm -rf opt/intel/"${INTEL_DIST_NAME}"* || die
1530 - fi
1531 -
1532 - # handle examples
1533 - if _isdp_path_exists "opt/intel/samples_$(_isdp_get-sdp-year)"; then
1534 - use examples && dodoc -r opt/intel/samples_"$(_isdp_get-sdp-year)"/*
1535 -
1536 - ebegin "Cleaning out examples"
1537 - rm -r "opt/intel/samples_$(_isdp_get-sdp-year)" || die
1538 - eend
1539 - fi
1540 -
1541 - # remove eclipse unconditionally
1542 - ebegin "Cleaning out eclipse files"
1543 - rm -rf opt/intel/ide_support_* || die
1544 - eend
1545 -
1546 - # repair shell scripts used for sourcing PATH (iccvars.sh and such)
1547 - ebegin "Tagging ${PN}"
1548 - find opt -name \*sh -type f -exec sed -i \
1549 - -e "s:<.*DIR>:$(isdp_get-sdp-edir)/linux:g" \
1550 - '{}' + || die
1551 - eend
1552 -
1553 - ebegin "Removing broken symlinks"
1554 - while IFS='\n' read -r -d '' i; do
1555 - rm "${i}" || die
1556 - done < <(find opt -xtype l -print0)
1557 - eend
1558 -
1559 - mv opt "${ED%/}"/ || die "moving files failed"
1560 -
1561 - keepdir "$(isdp_get-sdp-dir)"/licenses /opt/intel/ism/rm
1562 -}
1563 -
1564 -# @FUNCTION: intel-sdp-r1_pkg_postinst
1565 -# @DESCRIPTION:
1566 -# Test for all things working
1567 -intel-sdp-r1_pkg_postinst() {
1568 - debug-print-function ${FUNCNAME} "${@}"
1569 -
1570 - _isdp_run-test
1571 -
1572 - if [[ ${PN} = icc ]] && has_version ">=dev-util/ccache-3.1.9-r2" ; then
1573 - #add ccache links as icc might get installed after ccache
1574 - "${EROOT}"/usr/bin/ccache-config --install-links
1575 - fi
1576 -
1577 - elog "Beginning with the 2016 suite of Intel tools, Gentoo has removed"
1578 - elog "support for the eclipse plugin. If you require the IDE support,"
1579 - elog "you will have to install the suite on your own, outside portage."
1580 -}
1581 -
1582 -# @FUNCTION: intel-sdp-r1_pkg_postrm
1583 -# @DESCRIPTION:
1584 -# Sanitize cache links
1585 -intel-sdp-r1_pkg_postrm() {
1586 - debug-print-function ${FUNCNAME} "${@}"
1587 -
1588 - if [[ ${PN} = icc ]] && has_version ">=dev-util/ccache-3.1.9-r2" && [[ -z ${REPLACED_BY_VERSION} ]]; then
1589 - # --remove-links would remove all links, --install-links updates them
1590 - "${EROOT}"/usr/bin/ccache-config --install-links
1591 - fi
1592 -}
1593 -
1594 -_INTEL_SDP_R1_ECLASS_=1
1595 -fi
1596
1597 diff --git a/sci-libs/ipp/ipp-18.0.2.199.ebuild b/sci-libs/ipp/ipp-18.0.2.199.ebuild
1598 deleted file mode 100644
1599 index 5253840b9..000000000
1600 --- a/sci-libs/ipp/ipp-18.0.2.199.ebuild
1601 +++ /dev/null
1602 @@ -1,43 +0,0 @@
1603 -# Copyright 1999-2019 Gentoo Authors
1604 -# Distributed under the terms of the GNU General Public License v2
1605 -
1606 -EAPI=7
1607 -
1608 -INTEL_DIST_SKU=3235
1609 -INTEL_DIST_PV=2018_update2_professional_edition
1610 -
1611 -inherit intel-sdp-r1
1612 -
1613 -DESCRIPTION="Intel Integrated Performance Primitive library"
1614 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-ipp/"
1615 -
1616 -IUSE="doc"
1617 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
1618 -
1619 -DEPEND=""
1620 -RDEPEND="~dev-libs/intel-common-${PV}[compiler]"
1621 -
1622 -CHECKREQS_DISK_BUILD=6500M
1623 -
1624 -INTEL_DIST_DAT_RPMS=(
1625 - "ipp-common-2018.2-199-2018.2-199.noarch.rpm"
1626 - "ipp-common-ps-2018.2-199-2018.2-199.noarch.rpm")
1627 -INTEL_DIST_AMD64_RPMS=(
1628 - "ipp-mt-2018.2-199-2018.2-199.x86_64.rpm"
1629 - "ipp-mt-devel-2018.2-199-2018.2-199.x86_64.rpm"
1630 - "ipp-st-2018.2-199-2018.2-199.x86_64.rpm"
1631 - "ipp-st-devel-2018.2-199-2018.2-199.x86_64.rpm"
1632 - "ipp-st-devel-ps-2018.2-199-2018.2-199.x86_64.rpm")
1633 -INTEL_DIST_X86_RPMS=(
1634 - "ipp-mt-32bit-2018.2-199-2018.2-199.x86_64.rpm"
1635 - "ipp-mt-devel-32bit-2018.2-199-2018.2-199.x86_64.rpm"
1636 - "ipp-st-32bit-2018.2-199-2018.2-199.x86_64.rpm"
1637 - "ipp-st-devel-32bit-2018.2-199-2018.2-199.x86_64.rpm"
1638 - "ipp-st-devel-ps-32bit-2018.2-199-2018.2-199.x86_64.rpm")
1639 -
1640 -pkg_setup() {
1641 - if use doc; then
1642 - INTEL_DIST_DAT_RPMS+=(
1643 - "ipp-doc-2018-2018.2-199.noarch.rpm")
1644 - fi
1645 -}
1646
1647 diff --git a/sci-libs/ipp/ipp-19.0.4.243.ebuild b/sci-libs/ipp/ipp-19.0.4.243.ebuild
1648 deleted file mode 100644
1649 index e42583e20..000000000
1650 --- a/sci-libs/ipp/ipp-19.0.4.243.ebuild
1651 +++ /dev/null
1652 @@ -1,42 +0,0 @@
1653 -# Copyright 1999-2019 Gentoo Authors
1654 -# Distributed under the terms of the GNU General Public License v2
1655 -
1656 -EAPI=7
1657 -
1658 -INTEL_DIST_PV=2019_update4_professional_edition
1659 -
1660 -inherit intel-sdp-r1
1661 -
1662 -DESCRIPTION="Intel Integrated Performance Primitive library"
1663 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-ipp/"
1664 -
1665 -IUSE="doc"
1666 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
1667 -
1668 -DEPEND=""
1669 -RDEPEND="~dev-libs/intel-common-${PV}[compiler]"
1670 -
1671 -CHECKREQS_DISK_BUILD=6500M
1672 -
1673 -INTEL_DIST_DAT_RPMS=(
1674 - "ipp-common-2019.4-243-2019.4-243.noarch.rpm"
1675 - "ipp-common-ps-2019.4-243-2019.4-243.noarch.rpm")
1676 -INTEL_DIST_AMD64_RPMS=(
1677 - "ipp-mt-2019.4-243-2019.4-243.x86_64.rpm"
1678 - "ipp-mt-devel-2019.4-243-2019.4-243.x86_64.rpm"
1679 - "ipp-st-2019.4-243-2019.4-243.x86_64.rpm"
1680 - "ipp-st-devel-2019.4-243-2019.4-243.x86_64.rpm"
1681 - "ipp-st-devel-ps-2019.4-243-2019.4-243.x86_64.rpm")
1682 -INTEL_DIST_X86_RPMS=(
1683 - "ipp-mt-32bit-2019.4-243-2019.4-243.x86_64.rpm"
1684 - "ipp-mt-devel-32bit-2019.4-243-2019.4-243.x86_64.rpm"
1685 - "ipp-st-32bit-2019.4-243-2019.4-243.x86_64.rpm"
1686 - "ipp-st-devel-32bit-2019.4-243-2019.4-243.x86_64.rpm"
1687 - "ipp-st-devel-ps-32bit-2019.4-243-2019.4-243.x86_64.rpm")
1688 -
1689 -pkg_setup() {
1690 - if use doc; then
1691 - INTEL_DIST_DAT_RPMS+=(
1692 - "ipp-doc-2019-2019.4-243.noarch.rpm")
1693 - fi
1694 -}
1695
1696 diff --git a/sci-libs/ipp/ipp-2020.1.217.ebuild b/sci-libs/ipp/ipp-2020.1.217.ebuild
1697 deleted file mode 100644
1698 index 2c0be6abf..000000000
1699 --- a/sci-libs/ipp/ipp-2020.1.217.ebuild
1700 +++ /dev/null
1701 @@ -1,44 +0,0 @@
1702 -# Copyright 1999-2020 Gentoo Authors
1703 -# Distributed under the terms of the GNU General Public License v2
1704 -
1705 -EAPI=7
1706 -
1707 -INTEL_DIST_PV=2020_update1_professional_edition
1708 -
1709 -inherit intel-sdp-r1
1710 -
1711 -DESCRIPTION="Intel Integrated Performance Primitive library"
1712 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-ipp/"
1713 -
1714 -IUSE="doc"
1715 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
1716 -
1717 -DEPEND=""
1718 -RDEPEND="~dev-libs/intel-common-19.1.1.217[compiler]"
1719 -
1720 -CHECKREQS_DISK_BUILD=6500M
1721 -
1722 -MY_PV="$(ver_rs 2 '-')" # 2020.1-217
1723 -
1724 -QA_PREBUILT="*"
1725 -
1726 -INTEL_DIST_DAT_RPMS=(
1727 - "ipp-common-${MY_PV}-${MY_PV}.noarch.rpm"
1728 - "ipp-common-ps-${MY_PV}-${MY_PV}.noarch.rpm")
1729 -INTEL_DIST_AMD64_RPMS=(
1730 - "ipp-mt-${MY_PV}-${MY_PV}.x86_64.rpm"
1731 - "ipp-mt-devel-${MY_PV}-${MY_PV}.x86_64.rpm"
1732 - "ipp-st-${MY_PV}-${MY_PV}.x86_64.rpm"
1733 - "ipp-st-devel-${MY_PV}-${MY_PV}.x86_64.rpm")
1734 -INTEL_DIST_X86_RPMS=(
1735 - "ipp-mt-32bit-${MY_PV}-${MY_PV}.x86_64.rpm"
1736 - "ipp-mt-devel-32bit-${MY_PV}-${MY_PV}.x86_64.rpm"
1737 - "ipp-st-32bit-${MY_PV}-${MY_PV}.x86_64.rpm"
1738 - "ipp-st-devel-32bit-${MY_PV}-${MY_PV}.x86_64.rpm")
1739 -
1740 -pkg_setup() {
1741 - if use doc; then
1742 - INTEL_DIST_DAT_RPMS+=(
1743 - "ipp-doc-2020-${MY_PV}.noarch.rpm")
1744 - fi
1745 -}
1746
1747 diff --git a/sci-libs/ipp/metadata.xml b/sci-libs/ipp/metadata.xml
1748 deleted file mode 100644
1749 index 7bd17909e..000000000
1750 --- a/sci-libs/ipp/metadata.xml
1751 +++ /dev/null
1752 @@ -1,13 +0,0 @@
1753 -<?xml version="1.0" encoding="UTF-8"?>
1754 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
1755 -<pkgmetadata>
1756 - <maintainer type="project">
1757 - <email>sci@g.o</email>
1758 - <name>Gentoo Science Project</name>
1759 - </maintainer>
1760 - <longdescription lang="en">
1761 -Intel(R) Integrated Performance Primitives (Intel(R) IPP) is a
1762 -library of multi-core-ready, optimized software functions for
1763 -multimedia data processing, and communications applications.
1764 -</longdescription>
1765 -</pkgmetadata>