Gentoo Archives: gentoo-science

From: heroxbd@g.o
To: gentoo-dev@l.g.o, gentoo-science@l.g.o
Cc: Benda Xu <heroxbd@g.o>, Mo Zhou <cdluminate@×××××.com>
Subject: [gentoo-science] [PATCH 1/2] virtual/{blas,cblas,lapack,lapacke}: add virtual packages.
Date: Thu, 27 Jun 2019 06:16:52
Message-Id: 20190627061616.15381-2-heroxbd@gentoo.org
In Reply to: [gentoo-science] [PATCH 0/2] RFC: Introducing ldso switching to BLAS/LAPACK by heroxbd@gentoo.org
1 From: Benda Xu <heroxbd@g.o>
2
3 These virtual packages are used by the BLAS/LAPACK runtime switching
4 mechanism.
5
6 Closes: https://github.com/gentoo/gentoo/pull/12323
7 Closes: https://bugs.gentoo.org/373613
8 Closes: https://bugs.gentoo.org/381801
9 Closes: https://bugs.gentoo.org/498490
10 Closes: https://bugs.gentoo.org/563674
11 Closes: https://bugs.gentoo.org/564546
12 Closes: https://bugs.gentoo.org/565776
13 Closes: https://bugs.gentoo.org/646316
14 Closes: https://bugs.gentoo.org/657984
15 Closes: https://bugs.gentoo.org/659014
16 Closes: https://bugs.gentoo.org/659264
17 Closes: https://bugs.gentoo.org/669644
18
19 Signed-off-by: Mo Zhou <cdluminate@×××××.com>
20 Signed-off-by: Benda Xu <heroxbd@g.o>
21 ---
22 virtual/blas/blas-3.8.ebuild | 14 ++++++++++++++
23 virtual/blas/metadata.xml | 10 +++++++---
24 virtual/cblas/cblas-3.8.ebuild | 14 ++++++++++++++
25 virtual/cblas/metadata.xml | 10 +++++++---
26 virtual/lapack/lapack-3.8.ebuild | 14 ++++++++++++++
27 virtual/lapack/metadata.xml | 10 +++++++---
28 virtual/lapacke/lapacke-3.8.ebuild | 14 ++++++++++++++
29 virtual/lapacke/metadata.xml | 16 ++++++++++++++++
30 8 files changed, 93 insertions(+), 9 deletions(-)
31 create mode 100644 virtual/blas/blas-3.8.ebuild
32 create mode 100644 virtual/cblas/cblas-3.8.ebuild
33 create mode 100644 virtual/lapack/lapack-3.8.ebuild
34 create mode 100644 virtual/lapacke/lapacke-3.8.ebuild
35 create mode 100644 virtual/lapacke/metadata.xml
36
37 diff --git a/virtual/blas/blas-3.8.ebuild b/virtual/blas/blas-3.8.ebuild
38 new file mode 100644
39 index 000000000000..e3807aaa8c4a
40 --- /dev/null
41 +++ b/virtual/blas/blas-3.8.ebuild
42 @@ -0,0 +1,14 @@
43 +# Copyright 1999-2019 Gentoo Authors
44 +# Distributed under the terms of the GNU General Public License v2
45 +
46 +EAPI="7"
47 +
48 +DESCRIPTION="Virtual for FORTRAN 77 BLAS implementation"
49 +SLOT="0"
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
51 +IUSE="eselect-ldso"
52 +
53 +RDEPEND="
54 + >=sci-libs/lapack-3.8.0[eselect-ldso?]
55 +"
56 +DEPEND="${RDEPEND}"
57 diff --git a/virtual/blas/metadata.xml b/virtual/blas/metadata.xml
58 index 1b4d6e817c05..35dd50fb4450 100644
59 --- a/virtual/blas/metadata.xml
60 +++ b/virtual/blas/metadata.xml
61 @@ -6,7 +6,11 @@
62 <name>Gentoo Science Project</name>
63 </maintainer>
64 <longdescription lang="en">
65 -Gentoo virtual package for the Basic Linear Algebra Subprograms
66 -FORTRAN 77 implementation.
67 -</longdescription>
68 + Gentoo virtual package for the Basic Linear Algebra Subprograms
69 + FORTRAN 77 implementation.
70 + </longdescription>
71 + <use>
72 + <flag name="eselect-ldso">Enable runtime library switching by
73 + eselect and ld.so.</flag>
74 + </use>
75 </pkgmetadata>
76 diff --git a/virtual/cblas/cblas-3.8.ebuild b/virtual/cblas/cblas-3.8.ebuild
77 new file mode 100644
78 index 000000000000..0b295963f8de
79 --- /dev/null
80 +++ b/virtual/cblas/cblas-3.8.ebuild
81 @@ -0,0 +1,14 @@
82 +# Copyright 1999-2019 Gentoo Authors
83 +# Distributed under the terms of the GNU General Public License v2
84 +
85 +EAPI="7"
86 +
87 +DESCRIPTION="Virtual for BLAS C implementation"
88 +SLOT="0"
89 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
90 +IUSE="eselect-ldso"
91 +
92 +RDEPEND="
93 + >=sci-libs/lapack-3.8.0[eselect-ldso?]
94 +"
95 +DEPEND="${RDEPEND}"
96 diff --git a/virtual/cblas/metadata.xml b/virtual/cblas/metadata.xml
97 index 9aac1c20c93f..204ea7552ca9 100644
98 --- a/virtual/cblas/metadata.xml
99 +++ b/virtual/cblas/metadata.xml
100 @@ -6,7 +6,11 @@
101 <name>Gentoo Science Project</name>
102 </maintainer>
103 <longdescription lang="en">
104 -Gentoo virtual package for the Basic Linear Algebra Subprograms
105 -C implementation.
106 -</longdescription>
107 + Gentoo virtual package for the Basic Linear Algebra Subprograms
108 + C implementation.
109 + </longdescription>
110 + <use>
111 + <flag name="eselect-ldso">Enable runtime library switching by
112 + eselect and ld.so.</flag>
113 + </use>
114 </pkgmetadata>
115 diff --git a/virtual/lapack/lapack-3.8.ebuild b/virtual/lapack/lapack-3.8.ebuild
116 new file mode 100644
117 index 000000000000..93ddd49d8b79
118 --- /dev/null
119 +++ b/virtual/lapack/lapack-3.8.ebuild
120 @@ -0,0 +1,14 @@
121 +# Copyright 1999-2019 Gentoo Authors
122 +# Distributed under the terms of the GNU General Public License v2
123 +
124 +EAPI=7
125 +
126 +DESCRIPTION="Virtual for Linear Algebra Package FORTRAN 77 (LAPACK) implementation"
127 +SLOT="0"
128 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
129 +IUSE="eselect-ldso"
130 +
131 +RDEPEND="
132 + >=sci-libs/lapack-3.8.0[eselect-ldso?]
133 +"
134 +DEPEND="${RDEPEND}"
135 diff --git a/virtual/lapack/metadata.xml b/virtual/lapack/metadata.xml
136 index ccb7a1fa1fad..0b91d851efe1 100644
137 --- a/virtual/lapack/metadata.xml
138 +++ b/virtual/lapack/metadata.xml
139 @@ -6,7 +6,11 @@
140 <name>Gentoo Science Project</name>
141 </maintainer>
142 <longdescription lang="en">
143 -Gentoo virtual package for the Linear Algebra PACKAge
144 -FORTRAN 77 implementation.
145 -</longdescription>
146 + Gentoo virtual package for the Linear Algebra PACKAge
147 + FORTRAN 77 implementation.
148 + </longdescription>
149 + <use>
150 + <flag name="eselect-ldso">Enable runtime library switching by
151 + eselect and ld.so.</flag>
152 + </use>
153 </pkgmetadata>
154 diff --git a/virtual/lapacke/lapacke-3.8.ebuild b/virtual/lapacke/lapacke-3.8.ebuild
155 new file mode 100644
156 index 000000000000..fc61bf733e2e
157 --- /dev/null
158 +++ b/virtual/lapacke/lapacke-3.8.ebuild
159 @@ -0,0 +1,14 @@
160 +# Copyright 1999-2019 Gentoo Authors
161 +# Distributed under the terms of the GNU General Public License v2
162 +
163 +EAPI=7
164 +
165 +DESCRIPTION="Virtual for LAPACK C implementation"
166 +SLOT="0"
167 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
168 +IUSE="eselect-ldso"
169 +
170 +RDEPEND="
171 + >=sci-libs/lapack-3.8.0[lapacke,eselect-ldso?]
172 +"
173 +DEPEND="${RDEPEND}"
174 diff --git a/virtual/lapacke/metadata.xml b/virtual/lapacke/metadata.xml
175 new file mode 100644
176 index 000000000000..299f0ab2ab69
177 --- /dev/null
178 +++ b/virtual/lapacke/metadata.xml
179 @@ -0,0 +1,16 @@
180 +<?xml version="1.0" encoding="UTF-8"?>
181 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
182 +<pkgmetadata>
183 + <maintainer type="project">
184 + <email>sci@g.o</email>
185 + <name>Gentoo Science Project</name>
186 + </maintainer>
187 + <longdescription lang="en">
188 + Gentoo virtual package for the Linear Algebra PACKAge C
189 + implementation.
190 + </longdescription>
191 + <use>
192 + <flag name="eselect-ldso">Enable runtime library switching by
193 + eselect and ld.so.</flag>
194 + </use>
195 +</pkgmetadata>
196 --
197 2.17.0