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