commit: 061e5694572cc06e6a711e03de4141af87000a7a Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org> AuthorDate: Fri Apr 24 20:45:53 2020 +0000 Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> CommitDate: Fri Apr 24 20:46:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=061e5694
dev-util/perf: use LLVM_MAX_SLOT=9 (bug 718644) Closes: https://bugs.gentoo.org/718644 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org> dev-util/perf/perf-5.6.4.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dev-util/perf/perf-5.6.4.ebuild b/dev-util/perf/perf-5.6.4.ebuild index ac50bdd4988..3f1d4e665d1 100644 --- a/dev-util/perf/perf-5.6.4.ebuild +++ b/dev-util/perf/perf-5.6.4.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_{6,7} ) -inherit bash-completion-r1 estack eutils toolchain-funcs python-r1 linux-info +inherit bash-completion-r1 estack eutils llvm toolchain-funcs python-r1 linux-info MY_PV="${PV/_/-}" MY_PV="${MY_PV/-pre/-git}" @@ -42,8 +42,8 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND="audit? ( sys-process/audit ) crypt? ( dev-libs/openssl:0= ) clang? ( - sys-devel/clang:* - sys-devel/llvm:* + <sys-devel/clang-10:* + <sys-devel/llvm-10:* ) demangle? ( sys-libs/binutils-libs:= ) gtk? ( x11-libs/gtk+:2 ) @@ -75,6 +75,10 @@ S="${S_K}/tools/perf" CONFIG_CHECK="~PERF_EVENTS ~KALLSYMS" +pkg_setup() { + LLVM_MAX_SLOT=9 llvm_pkg_setup +} + src_unpack() { local paths=( tools/arch tools/build tools/include tools/lib tools/perf tools/scripts