1 |
commit: c53b62fcc087fec56aee6150c357c68c72e55888 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 3 02:05:02 2021 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 3 02:05:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/dev/tamiko.git/commit/?id=c53b62fc |
7 |
|
8 |
sys-apps/likwid: version bump to 5.2.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
12 |
|
13 |
sys-apps/likwid/Manifest | 4 +- |
14 |
sys-apps/likwid/likwid-4.3.4-r50.ebuild | 151 --------------------- |
15 |
sys-apps/likwid/likwid-5.0.1-r50.ebuild | 151 --------------------- |
16 |
...id-5.1.0-r50.ebuild => likwid-5.2.0-r50.ebuild} | 0 |
17 |
4 files changed, 1 insertion(+), 305 deletions(-) |
18 |
|
19 |
diff --git a/sys-apps/likwid/Manifest b/sys-apps/likwid/Manifest |
20 |
index 5d7394f..67808c4 100644 |
21 |
--- a/sys-apps/likwid/Manifest |
22 |
+++ b/sys-apps/likwid/Manifest |
23 |
@@ -1,4 +1,2 @@ |
24 |
-DIST likwid-4.3.4.tar.gz 1584829 SHA256 5c0d1c66b25dac8292a02232f06454067f031a238f010c62f40ef913c6609a83 SHA512 f1ee930a98d160728078a81a2cdc798ec62ac484545ced937131e6a6443e5ac23b8e597d31c7b1b9f67c1169e1c662c366cf1098158cb467d9f7ff12946b08a2 WHIRLPOOL 956070af7bd2893bfe8bbd994d44ba783795916f3f70e0253501e798b2cc4880a77a541c4089749decd4fd4ba14e7170c3404096b334377ac6caa322d1ed8aaa |
25 |
-DIST likwid-5.0.1.tar.gz 2123648 SHA256 3757b0cb66e8af0116f9288c7f90543acbd8e2af8f72f77aef447ca2b3e76453 SHA512 e4982f3ac83e6413434e05daecf821c1c5f57c4cb19d99e61523c6f0009a2d2cef9c080ac711c72960552170b4d329dd08f73f55de5fb96288e92caaacf8b00b WHIRLPOOL a09a2bea3413ca262042a900cd72ab5142eb84919eca1a1908ea0f47db264c1070c70516c335d4eb3c2479ad1e5c5302b64bbe8e8499a3aa518e910269437fe4 |
26 |
-DIST likwid-5.1.0.tar.gz 2221991 SHA256 5a180702a1656c6315b861a85031ab4cb090424aec42cbbb326b849e29f55571 SHA512 574f391fe903e9d5bfaeba70641be9c00baed93911fc8b33466023b825afb0a425af6080af1c25fe9f9a3913893f5449f6cb2adae80d44bf29f1a75d5f9bad91 WHIRLPOOL 67911ecbfddad51554e12fbfee3b8e7efee2ce31301f95fdde861858c1baabe32d6a2784a0ca46fdf5d818d816ca8ea8d13fd705af3fc829e142c31dffb1c78c |
27 |
DIST likwid-5.1.1.tar.gz 2226404 SHA256 faec7c62987967232f476a6ff0ee85af686fd24b5a360126896b7f435d1f943f SHA512 6f78f57ffddbc12c4861945b5aece86f94b1086911ff2972e1bb5fed08f263c57e73dd278f0d146a9ca3438159b14a8b5431f281972842269fc2f5adb52de6c1 WHIRLPOOL 349206045b365b2363618feb0f609852ac7d01c00e46488a172de3d4ba84d0140fdb2bd36f39473c65fc27420def598836e4e7bd30d9f0ac8ceb3b162ebadf7f |
28 |
+DIST likwid-5.2.0.tar.gz 2299164 SHA256 aa6dccacfca59e52d8f3be187ffcf292b2a2fa1f51a81bf8912b9d48e5a257e0 SHA512 f69e44d51b8576db4af76395b5d0620660d9225e3114531b2d5822727f9bceb271ec99853a0f9e14ae4959a3d6f159c832cc0892101ddd12eb1c77a03f744e1f WHIRLPOOL f50138c7c5cd1b477b174613a4c0c56f3df3c26a5ec842d9969d0d99beffc8412e16e1ef341a90218f0ae648d84c67052808b53cad91cbe24b574e3abdf97a8e |
29 |
|
30 |
diff --git a/sys-apps/likwid/likwid-4.3.4-r50.ebuild b/sys-apps/likwid/likwid-4.3.4-r50.ebuild |
31 |
deleted file mode 100644 |
32 |
index 59693e7..0000000 |
33 |
--- a/sys-apps/likwid/likwid-4.3.4-r50.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,151 +0,0 @@ |
36 |
-# Copyright 1999-2019 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=6 |
40 |
- |
41 |
-FORTRAN_NEEDED=fortran |
42 |
-#PYTHON_COMPAT=( python3_{5,6,7} ) |
43 |
- |
44 |
-# 4.3.4 will need python-single-r1 |
45 |
-inherit fcaps fortran-2 linux-info toolchain-funcs |
46 |
- |
47 |
-DESCRIPTION="A performance-oriented tool suite for x86 multicore environments" |
48 |
-HOMEPAGE="https://github.com/rrze-likwid/likwid" |
49 |
-SRC_URI="https://ftp.fau.de/pub/likwid/${P}.tar.gz" |
50 |
- |
51 |
-LICENSE="GPL-3+ BSD MIT" |
52 |
- |
53 |
-SLOT="0" |
54 |
-KEYWORDS="~amd64" # upstream partial support exists for x86 arm arm64 |
55 |
-IUSE="fortran" # ${PYTHON_REQUIRED_USE} |
56 |
- |
57 |
-CDEPEND="dev-lang/perl" |
58 |
- |
59 |
-# filter/json uses Python3 |
60 |
-RDEPEND="${CDEPEND}" |
61 |
- |
62 |
-DEPEND="${CDEPEND}" |
63 |
- |
64 |
-CONFIG_CHECK="~X86_MSR" |
65 |
- |
66 |
-FILECAPS=( |
67 |
- -M 755 cap_sys_rawio+ep usr/sbin/likwid-accessD |
68 |
- -- |
69 |
- -M 755 cap_sys_rawio+ep usr/sbin/likwid-setFreq |
70 |
-) |
71 |
- |
72 |
-PATCHES=( |
73 |
- "${FILESDIR}/${PN}-4.3.1-fix-gnustack.patch" |
74 |
-) |
75 |
- |
76 |
-pkg_setup() { |
77 |
- fortran-2_pkg_setup |
78 |
-} |
79 |
- |
80 |
-src_prepare() { |
81 |
- # Ensure we build with a non executable stack |
82 |
- sed \ |
83 |
- -e '/^SHARED_CFLAGS/s/$/ -Wa,--noexecstack/' \ |
84 |
- -i make/include_{GCC*,CLANG}.mk \ |
85 |
- || die "Failed to set nonexecstack" |
86 |
- |
87 |
- # Make the install targets respect Q= for being quiet or not |
88 |
- # MUCH easier for debugging |
89 |
- sed -r \ |
90 |
- -e '/^install/,/^[a-z]/{/^\t@/{ s/@/$(Q)/; }}' \ |
91 |
- -i \ |
92 |
- Makefile || die "Failed to sed Makefile" |
93 |
- |
94 |
- sed -i \ |
95 |
- -e '/^\.NOTPARALLEL:/d' \ |
96 |
- Makefile \ |
97 |
- bench/Makefile \ |
98 |
- ext/hwloc/Makefile || die "Failed to re-enable parallel" |
99 |
- |
100 |
- default |
101 |
-} |
102 |
- |
103 |
-export_emake_opts() { |
104 |
- # Warning: this build system uses PREFIX in a way that differs from |
105 |
- # autoconf! It's more like: |
106 |
- # PREFIX=$(DESTDIR)$(INSTALLED_PREFIX) |
107 |
- # it's not 100% like that, because parts of the Makefiles are inconsistent. |
108 |
- # this is the same solution used in the upstream RPM specs |
109 |
- # these variables are uppercase so they match what's put into Make. |
110 |
- local INSTALLED_PREFIX=/usr |
111 |
- local INSTALLED_LIBPREFIX=/usr/$(get_libdir) # upstream is '$(INSTALLED_PREFIX)/lib' |
112 |
- local INSTALLED_MANPREFIX=/usr/share/man # upstream has it as used but undefined variable. |
113 |
- # If the build is too loud, pass 'Q=@' |
114 |
- src_compile_opts=( |
115 |
- "Q=" |
116 |
- "INSTALLED_PREFIX=${INSTALLED_PREFIX}" |
117 |
- "INSTALLED_LIBPREFIX=${INSTALLED_LIBPREFIX}" |
118 |
- "INSTALLED_MANPREFIX=${INSTALLED_MANPREFIX}" |
119 |
- "PREFIX=${INSTALLED_PREFIX}" |
120 |
- "LIBPREFIX=${INSTALLED_LIBPREFIX}" |
121 |
- "MANPREFIX=${INSTALLED_MANPREFIX}" |
122 |
- "CC=$(tc-getCC)" |
123 |
- "ANSI_CFLAGS=${CFLAGS}" |
124 |
- "INSTRUMENT_BENCH=true" |
125 |
- "FORTRAN_INTERFACE=$(usex fortran likwid.mod false)" |
126 |
- "FC=$(usex fortran "${FC}" false)" |
127 |
- "FCFLAGS=-J ./ -fsyntax-only" # needed for building correctly |
128 |
- ) |
129 |
- src_install_opts=( |
130 |
- "PREFIX=${D}${INSTALLED_PREFIX}" |
131 |
- "LIBPREFIX=${D}${INSTALLED_LIBPREFIX}" |
132 |
- "MANPREFIX=${D}${INSTALLED_MANPREFIX}" |
133 |
- ) |
134 |
-} |
135 |
- |
136 |
-src_compile() { |
137 |
- export_emake_opts |
138 |
- emake \ |
139 |
- "${src_compile_opts[@]}" \ |
140 |
- || die 'emake failed' |
141 |
-} |
142 |
- |
143 |
-src_install () { |
144 |
- export_emake_opts |
145 |
- emake \ |
146 |
- "${src_compile_opts[@]}" \ |
147 |
- "${src_install_opts[@]}" \ |
148 |
- DESTDIR="${D}" \ |
149 |
- install || die 'emake install failed' |
150 |
- |
151 |
- use fortran && doheader likwid.mod |
152 |
- |
153 |
- # Fix Python filter added shortly after 4.3.3 |
154 |
- #python_fix_shebang "${D}"/usr/share/likwid/filter/ |
155 |
- |
156 |
- # Do NOT use 'doman'! The upstream 'make install' target does a sed as it's |
157 |
- # generating the final manpage to the real install dir; and the copies in |
158 |
- # ${S} are unmodified. |
159 |
- dodoc README.md CHANGELOG doc/logo.png |
160 |
- dodoc doc/*.txt |
161 |
- dodoc doc/*.md |
162 |
- dodoc -r doc/applications doc/archs |
163 |
- # Fix upstream partial doc install |
164 |
- rm -rf "${D}"/usr/share/likwid/docs || die |
165 |
- ln -sf "/usr/share/doc/${PF}" "${D}"/usr/share/likwid/docs || die |
166 |
-} |
167 |
- |
168 |
-pkg_preinst() { |
169 |
- # This is now a symlink, but used to be a plain directory |
170 |
- OLDDOCDIR=/usr/share/likwid/docs |
171 |
- if [[ ! -L "${OLDDOCDIR}" && -d "${OLDDOCDIR}" ]]; then |
172 |
- einfo "Cleaning up old docdir at ${OLDDOCDIR}" |
173 |
- rm -rf "${OLDDOCDIR}" || die |
174 |
- fi |
175 |
-} |
176 |
- |
177 |
-pkg_postinst() { |
178 |
- fcaps_pkg_postinst |
179 |
- einfo "If you get 'Cannot gather values from MSR_PLATFORM_INFO', then 'modprobe msr'!" |
180 |
- einfo |
181 |
- ewarn "To enable users to access performance counters it is necessary to" |
182 |
- ewarn "change the access permissions to /dev/cpu/msr[0]* devices." |
183 |
- ewarn "It can be accomplished by adding the following line to file" |
184 |
- ewarn "/etc/udev/rules.d/99-myrules.rules: KERNEL==\"msr[0-9]*\" MODE=\"0666\"" |
185 |
- ewarn "Alternatively, assign the MSR files to a unique group and use mode 0660" |
186 |
-} |
187 |
|
188 |
diff --git a/sys-apps/likwid/likwid-5.0.1-r50.ebuild b/sys-apps/likwid/likwid-5.0.1-r50.ebuild |
189 |
deleted file mode 100644 |
190 |
index d8ed294..0000000 |
191 |
--- a/sys-apps/likwid/likwid-5.0.1-r50.ebuild |
192 |
+++ /dev/null |
193 |
@@ -1,151 +0,0 @@ |
194 |
-# Copyright 1999-2020 Gentoo Authors |
195 |
-# Distributed under the terms of the GNU General Public License v2 |
196 |
- |
197 |
-EAPI=6 |
198 |
- |
199 |
-FORTRAN_NEEDED=fortran |
200 |
-#PYTHON_COMPAT=( python3_{5,6,7} ) |
201 |
- |
202 |
-# 4.3.4 will need python-single-r1 |
203 |
-inherit fcaps fortran-2 linux-info toolchain-funcs |
204 |
- |
205 |
-DESCRIPTION="A performance-oriented tool suite for x86 multicore environments" |
206 |
-HOMEPAGE="https://github.com/rrze-likwid/likwid" |
207 |
-SRC_URI="https://ftp.fau.de/pub/likwid/${P}.tar.gz" |
208 |
- |
209 |
-LICENSE="GPL-3+ BSD MIT" |
210 |
- |
211 |
-SLOT="0" |
212 |
-KEYWORDS="~amd64" # upstream partial support exists for x86 arm arm64 |
213 |
-IUSE="fortran" # ${PYTHON_REQUIRED_USE} |
214 |
- |
215 |
-CDEPEND="dev-lang/perl" |
216 |
- |
217 |
-# filter/json uses Python3 |
218 |
-RDEPEND="${CDEPEND}" |
219 |
- |
220 |
-DEPEND="${CDEPEND}" |
221 |
- |
222 |
-CONFIG_CHECK="~X86_MSR" |
223 |
- |
224 |
-FILECAPS=( |
225 |
- -M 755 cap_sys_rawio+ep usr/sbin/likwid-accessD |
226 |
- -- |
227 |
- -M 755 cap_sys_rawio+ep usr/sbin/likwid-setFreq |
228 |
-) |
229 |
- |
230 |
-PATCHES=( |
231 |
- "${FILESDIR}/${PN}-4.3.1-fix-gnustack.patch" |
232 |
-) |
233 |
- |
234 |
-pkg_setup() { |
235 |
- fortran-2_pkg_setup |
236 |
-} |
237 |
- |
238 |
-src_prepare() { |
239 |
- # Ensure we build with a non executable stack |
240 |
- sed \ |
241 |
- -e '/^SHARED_CFLAGS/s/$/ -Wa,--noexecstack/' \ |
242 |
- -i make/include_{GCC*,CLANG}.mk \ |
243 |
- || die "Failed to set nonexecstack" |
244 |
- |
245 |
- # Make the install targets respect Q= for being quiet or not |
246 |
- # MUCH easier for debugging |
247 |
- sed -r \ |
248 |
- -e '/^install/,/^[a-z]/{/^\t@/{ s/@/$(Q)/; }}' \ |
249 |
- -i \ |
250 |
- Makefile || die "Failed to sed Makefile" |
251 |
- |
252 |
- sed -i \ |
253 |
- -e '/^\.NOTPARALLEL:/d' \ |
254 |
- Makefile \ |
255 |
- bench/Makefile \ |
256 |
- ext/hwloc/Makefile || die "Failed to re-enable parallel" |
257 |
- |
258 |
- default |
259 |
-} |
260 |
- |
261 |
-export_emake_opts() { |
262 |
- # Warning: this build system uses PREFIX in a way that differs from |
263 |
- # autoconf! It's more like: |
264 |
- # PREFIX=$(DESTDIR)$(INSTALLED_PREFIX) |
265 |
- # it's not 100% like that, because parts of the Makefiles are inconsistent. |
266 |
- # this is the same solution used in the upstream RPM specs |
267 |
- # these variables are uppercase so they match what's put into Make. |
268 |
- local INSTALLED_PREFIX=/usr |
269 |
- local INSTALLED_LIBPREFIX=/usr/$(get_libdir) # upstream is '$(INSTALLED_PREFIX)/lib' |
270 |
- local INSTALLED_MANPREFIX=/usr/share/man # upstream has it as used but undefined variable. |
271 |
- # If the build is too loud, pass 'Q=@' |
272 |
- src_compile_opts=( |
273 |
- "Q=" |
274 |
- "INSTALLED_PREFIX=${INSTALLED_PREFIX}" |
275 |
- "INSTALLED_LIBPREFIX=${INSTALLED_LIBPREFIX}" |
276 |
- "INSTALLED_MANPREFIX=${INSTALLED_MANPREFIX}" |
277 |
- "PREFIX=${INSTALLED_PREFIX}" |
278 |
- "LIBPREFIX=${INSTALLED_LIBPREFIX}" |
279 |
- "MANPREFIX=${INSTALLED_MANPREFIX}" |
280 |
- "CC=$(tc-getCC)" |
281 |
- "ANSI_CFLAGS=${CFLAGS}" |
282 |
- "INSTRUMENT_BENCH=true" |
283 |
- "FORTRAN_INTERFACE=$(usex fortran likwid.mod false)" |
284 |
- "FC=$(usex fortran "${FC}" false)" |
285 |
- "FCFLAGS=-J ./ -fsyntax-only" # needed for building correctly |
286 |
- ) |
287 |
- src_install_opts=( |
288 |
- "PREFIX=${D}${INSTALLED_PREFIX}" |
289 |
- "LIBPREFIX=${D}${INSTALLED_LIBPREFIX}" |
290 |
- "MANPREFIX=${D}${INSTALLED_MANPREFIX}" |
291 |
- ) |
292 |
-} |
293 |
- |
294 |
-src_compile() { |
295 |
- export_emake_opts |
296 |
- emake \ |
297 |
- "${src_compile_opts[@]}" \ |
298 |
- || die 'emake failed' |
299 |
-} |
300 |
- |
301 |
-src_install () { |
302 |
- export_emake_opts |
303 |
- emake \ |
304 |
- "${src_compile_opts[@]}" \ |
305 |
- "${src_install_opts[@]}" \ |
306 |
- DESTDIR="${D}" \ |
307 |
- install || die 'emake install failed' |
308 |
- |
309 |
- use fortran && doheader likwid.mod |
310 |
- |
311 |
- # Fix Python filter added shortly after 4.3.3 |
312 |
- #python_fix_shebang "${D}"/usr/share/likwid/filter/ |
313 |
- |
314 |
- # Do NOT use 'doman'! The upstream 'make install' target does a sed as it's |
315 |
- # generating the final manpage to the real install dir; and the copies in |
316 |
- # ${S} are unmodified. |
317 |
- dodoc README.md CHANGELOG doc/logo.png |
318 |
- dodoc doc/*.txt |
319 |
- dodoc doc/*.md |
320 |
- dodoc -r doc/applications doc/archs |
321 |
- # Fix upstream partial doc install |
322 |
- rm -rf "${D}"/usr/share/likwid/docs || die |
323 |
- ln -sf "/usr/share/doc/${PF}" "${D}"/usr/share/likwid/docs || die |
324 |
-} |
325 |
- |
326 |
-pkg_preinst() { |
327 |
- # This is now a symlink, but used to be a plain directory |
328 |
- OLDDOCDIR=/usr/share/likwid/docs |
329 |
- if [[ ! -L "${OLDDOCDIR}" && -d "${OLDDOCDIR}" ]]; then |
330 |
- einfo "Cleaning up old docdir at ${OLDDOCDIR}" |
331 |
- rm -rf "${OLDDOCDIR}" || die |
332 |
- fi |
333 |
-} |
334 |
- |
335 |
-pkg_postinst() { |
336 |
- fcaps_pkg_postinst |
337 |
- einfo "If you get 'Cannot gather values from MSR_PLATFORM_INFO', then 'modprobe msr'!" |
338 |
- einfo |
339 |
- ewarn "To enable users to access performance counters it is necessary to" |
340 |
- ewarn "change the access permissions to /dev/cpu/msr[0]* devices." |
341 |
- ewarn "It can be accomplished by adding the following line to file" |
342 |
- ewarn "/etc/udev/rules.d/99-myrules.rules: KERNEL==\"msr[0-9]*\" MODE=\"0666\"" |
343 |
- ewarn "Alternatively, assign the MSR files to a unique group and use mode 0660" |
344 |
-} |
345 |
|
346 |
diff --git a/sys-apps/likwid/likwid-5.1.0-r50.ebuild b/sys-apps/likwid/likwid-5.2.0-r50.ebuild |
347 |
similarity index 100% |
348 |
rename from sys-apps/likwid/likwid-5.1.0-r50.ebuild |
349 |
rename to sys-apps/likwid/likwid-5.2.0-r50.ebuild |