Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-libs/intel-common/
Date: Tue, 03 Apr 2018 16:45:09
Message-Id: 1522773891.df08c35288cb321f326c59960d4e8d7e2e12c7fa.tamiko@gentoo
1 commit: df08c35288cb321f326c59960d4e8d7e2e12c7fa
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 3 15:42:32 2018 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 3 16:44:51 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=df08c352
7
8 dev-libs/intel-common: drop old
9
10 Package-Manager: Portage-2.3.28, Repoman-2.3.9
11
12 .../intel-common/intel-common-16.0.2.181.ebuild | 149 ---------------------
13 dev-libs/intel-common/metadata.xml | 1 -
14 2 files changed, 150 deletions(-)
15
16 diff --git a/dev-libs/intel-common/intel-common-16.0.2.181.ebuild b/dev-libs/intel-common/intel-common-16.0.2.181.ebuild
17 deleted file mode 100644
18 index c6f17e064..000000000
19 --- a/dev-libs/intel-common/intel-common-16.0.2.181.ebuild
20 +++ /dev/null
21 @@ -1,149 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -INTEL_DIST_SKU=8676
28 -INTEL_DIST_PV=2016_update2
29 -
30 -inherit intel-sdp-r1
31 -
32 -DESCRIPTION="Common libraries and utilities needed for Intel compilers and libraries"
33 -HOMEPAGE="http://software.intel.com/en-us/articles/intel-compilers/"
34 -
35 -IUSE="+compiler doc examples mic mpi openmp l10n_ja"
36 -KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
37 -REQUIRED_USE="mic? ( openmp )"
38 -
39 -CHECKREQS_DISK_BUILD=750M
40 -
41 -INTEL_DIST_BIN_RPMS=()
42 -INTEL_DIST_DAT_RPMS=(
43 - "ccompxe-2016.2-062.noarch.rpm"
44 - "comp-l-all-common"
45 - "comp-l-all-vars"
46 - "comp-l-ps-common"
47 - "comp-ps-ss-doc-16.0.2-181.noarch.rpm")
48 -INTEL_DIST_X86_RPMS=(
49 - "comp-l-all-32"
50 - "comp-l-ps-ss-wrapper")
51 -INTEL_DIST_AMD64_RPMS=()
52 -
53 -pkg_setup() {
54 - if use doc; then
55 - INTEL_DIST_DAT_RPMS+=(
56 - "ccompxe-doc-2016.2-062.noarch.rpm")
57 -
58 - if use l10n_ja; then
59 - INTEL_DIST_DAT_RPMS+=(
60 - "comp-ps-doc-jp-16.0.2-181.noarch.rpm")
61 - fi
62 - fi
63 -
64 - if use examples; then
65 - INTEL_DIST_DAT_RPMS+=(
66 - "ccomp-doc-2016.2-062.noarch.rpm")
67 - fi
68 -
69 - if use mpi; then
70 - INTEL_DIST_X86_RPMS+=(
71 - "mpirt-l-ps-181-16.0.2-181.i486.rpm")
72 - INTEL_DIST_AMD64_RPMS+=(
73 - "mpi-psxe-062-5.1.3-062.x86_64.rpm"
74 - "mpi-rt-core-181-5.1.3-181.x86_64.rpm"
75 - "mpi-sdk-core-181-5.1.3-181.x86_64.rpm"
76 - )
77 -
78 - if use mic; then
79 - INTEL_DIST_AMD64_RPMS+=(
80 - "mpi-rt-mic-181-5.1.3-181.x86_64.rpm"
81 - "mpi-sdk-mic-181-5.1.3-181.x86_64.rpm")
82 - fi
83 -
84 - if use doc; then
85 - INTEL_DIST_AMD64_RPMS+=(
86 - "mpi-doc-5.1.3-181.x86_64.rpm")
87 - fi
88 - fi
89 -
90 - if use openmp; then
91 - INTEL_DIST_BIN_RPMS+=(
92 - "openmp-l-all"
93 - "openmp-l-ps")
94 - INTEL_DIST_AMD64_RPMS+=(
95 - "openmp-l-ps-ss")
96 -
97 - if use mic; then
98 - INTEL_DIST_AMD64_RPMS+=(
99 - "openmp-l-ps-mic")
100 - fi
101 -
102 - if use compiler; then
103 - INTEL_DIST_BIN_RPMS+=(
104 - "openmp-l-all-devel")
105 - INTEL_DIST_AMD64_RPMS+=(
106 - "openmp-l-ps-devel"
107 - "openmp-l-ps-ss-devel")
108 -
109 - if use l10n_ja; then
110 - INTEL_DIST_AMD64_RPMS+=(
111 - "openmp-l-ps-devel-jp")
112 -
113 - if use mic; then
114 - INTEL_DIST_AMD64_RPMS+=(
115 - "openmp-l-ps-mic-devel-jp")
116 - fi
117 - fi
118 -
119 - if use mic; then
120 - INTEL_DIST_AMD64_RPMS+=(
121 - "openmp-l-ps-mic-devel")
122 - fi
123 - fi
124 -
125 - if use l10n_ja; then
126 - INTEL_DIST_X86_RPMS+=(
127 - "openmp-l-ps-jp")
128 - fi
129 - fi
130 -
131 - if use compiler; then
132 - INTEL_DIST_BIN_RPMS+=(
133 - "comp-l-all-devel"
134 - "comp-l-ps-ss-devel")
135 - INTEL_DIST_AMD64_RPMS+=(
136 - "comp-l-ps-devel")
137 - fi
138 -}
139 -
140 -src_install() {
141 - intel-sdp-r1_src_install
142 - local path rootpath ldpath arch fenv=35intelsdp
143 - cat > ${fenv} <<-EOF
144 - NLSPATH=$(isdp_get-sdp-edir)/linux/compiler/lib/$(isdp_get-native-abi-arch)/locale/en_US/%N
145 - INTEL_LICENSE_FILE=${EPREFIX%/}/opt/intel/licenses:$(isdp_get-sdp-edir)/licenses
146 - EOF
147 - for arch in $(isdp_get-sdp-installed-arches); do
148 - path="${path}:$(isdp_get-sdp-edir)/linux/bin/${arch}"
149 - rootpath="${rootpath}:$(isdp_get-sdp-edir)/linux/bin/${arch}"
150 - ldpath="${ldpath}:$(isdp_get-sdp-edir)/linux/compiler/lib/${arch}"
151 - done
152 - if use mpi && use amd64; then
153 - path="${path}:$(isdp_get-sdp-edir)/linux/mpi/intel64/bin/"
154 - rootpath="${rootpath}:$(isdp_get-sdp-edir)/linux/mpi/intel64/bin/"
155 - ldpath="${ldpath}:$(isdp_get-sdp-edir)/linux/mpi/intel64/lib/"
156 - fi
157 - cat >> ${fenv} <<-EOF
158 - PATH=${path#:}
159 - ROOTPATH=${rootpath#:}
160 - LDPATH=${ldpath#:}
161 - EOF
162 -
163 - doenvd ${fenv}
164 -
165 - cat >> "${T}"/40-${PN} <<- EOF
166 - SEARCH_DIRS_MASK=$(isdp_get-sdp-edir)
167 - EOF
168 - insinto /etc/revdep-rebuild/
169 - doins "${T}"/40-${PN}
170 -}
171
172 diff --git a/dev-libs/intel-common/metadata.xml b/dev-libs/intel-common/metadata.xml
173 index 8ed1d66f0..026b5a33d 100644
174 --- a/dev-libs/intel-common/metadata.xml
175 +++ b/dev-libs/intel-common/metadata.xml
176 @@ -11,6 +11,5 @@ compilers and libraries. Probably useless if installed standalone.
177 </longdescription>
178 <use>
179 <flag name="compiler">Install the libraries needed for the icc and ifort compilers</flag>
180 - <flag name="mic">Install the libraries needed for supporting Intel Many Integrated Core (Xeon Phi)</flag>
181 </use>
182 </pkgmetadata>