Closes: https://bugs.gentoo.org/718644
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
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}"
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 )
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