mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
dev-lang/spidermonkey: clang is not needed to build spidermonkey
Closes: https://bugs.gentoo.org/740890 Closes: https://bugs.gentoo.org/743241 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
This commit is contained in:
@@ -7,9 +7,7 @@ PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
LLVM_MAX_SLOT=10
|
||||
|
||||
inherit autotools check-reqs llvm multiprocessing python-any-r1 toolchain-funcs
|
||||
inherit autotools check-reqs multiprocessing python-any-r1 toolchain-funcs
|
||||
|
||||
MY_PN="mozjs"
|
||||
MY_PV="${PV/_pre*}" # Handle Gentoo pre-releases
|
||||
@@ -60,7 +58,7 @@ IUSE="cpu_flags_arm_neon debug +jit test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
sys-devel/clang
|
||||
sys-devel/llvm
|
||||
>=virtual/rust-1.41.0
|
||||
virtual/pkgconfig"
|
||||
|
||||
@@ -78,15 +76,6 @@ RDEPEND="${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/firefox-${MY_PV}/js/src"
|
||||
|
||||
llvm_check_deps() {
|
||||
if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
|
||||
ewarn "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
einfo "Will use LLVM slot ${LLVM_SLOT}!" >&2
|
||||
}
|
||||
|
||||
python_check_deps() {
|
||||
if use test ; then
|
||||
has_version "dev-python/six[${PYTHON_USEDEP}]"
|
||||
|
||||
Reference in New Issue
Block a user