Gentoo Archives: gentoo-commits

From: Guilherme Amadio <amadio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/perf/
Date: Fri, 24 Apr 2020 20:50:36
Message-Id: 1587761168.061e5694572cc06e6a711e03de4141af87000a7a.amadio@gentoo
1 commit: 061e5694572cc06e6a711e03de4141af87000a7a
2 Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 24 20:45:53 2020 +0000
4 Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 24 20:46:08 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=061e5694
7
8 dev-util/perf: use LLVM_MAX_SLOT=9 (bug 718644)
9
10 Closes: https://bugs.gentoo.org/718644
11 Package-Manager: Portage-2.3.99, Repoman-2.3.22
12 Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
13
14 dev-util/perf/perf-5.6.4.ebuild | 10 +++++++---
15 1 file changed, 7 insertions(+), 3 deletions(-)
16
17 diff --git a/dev-util/perf/perf-5.6.4.ebuild b/dev-util/perf/perf-5.6.4.ebuild
18 index ac50bdd4988..3f1d4e665d1 100644
19 --- a/dev-util/perf/perf-5.6.4.ebuild
20 +++ b/dev-util/perf/perf-5.6.4.ebuild
21 @@ -4,7 +4,7 @@
22 EAPI=7
23
24 PYTHON_COMPAT=( python2_7 python3_{6,7} )
25 -inherit bash-completion-r1 estack eutils toolchain-funcs python-r1 linux-info
26 +inherit bash-completion-r1 estack eutils llvm toolchain-funcs python-r1 linux-info
27
28 MY_PV="${PV/_/-}"
29 MY_PV="${MY_PV/-pre/-git}"
30 @@ -42,8 +42,8 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
31 RDEPEND="audit? ( sys-process/audit )
32 crypt? ( dev-libs/openssl:0= )
33 clang? (
34 - sys-devel/clang:*
35 - sys-devel/llvm:*
36 + <sys-devel/clang-10:*
37 + <sys-devel/llvm-10:*
38 )
39 demangle? ( sys-libs/binutils-libs:= )
40 gtk? ( x11-libs/gtk+:2 )
41 @@ -75,6 +75,10 @@ S="${S_K}/tools/perf"
42
43 CONFIG_CHECK="~PERF_EVENTS ~KALLSYMS"
44
45 +pkg_setup() {
46 + LLVM_MAX_SLOT=9 llvm_pkg_setup
47 +}
48 +
49 src_unpack() {
50 local paths=(
51 tools/arch tools/build tools/include tools/lib tools/perf tools/scripts