1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
7 inherit distutils-r1 llvm.org multiprocessing
9 DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
10 HOMEPAGE="https://llvm.org/"
11 LLVM_COMPONENTS=( llvm/utils/lit )
14 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
16 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
18 RESTRICT="!test? ( test )"
20 # Tests require 'FileCheck' and 'not' utilities (from llvm)
22 dev-python/setuptools[${PYTHON_USEDEP}]
24 dev-python/psutil[${PYTHON_USEDEP}]
27 # TODO: move the manpage generation here (from sys-devel/llvm)
30 local -x LIT_PRESERVES_TMP=1
31 ./lit.py -j "${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" \