4 |
4 |
EAPI="8"
|
5 |
5 |
|
6 |
6 |
# Patch version
|
7 |
|
FIREFOX_PATCHSET="firefox-102esr-patches-10j.tar.xz"
|
|
7 |
FIREFOX_PATCHSET="firefox-102esr-patches-13.tar.xz"
|
8 |
8 |
SPIDERMONKEY_PATCHSET="spidermonkey-102-patches-05j.tar.xz"
|
9 |
9 |
|
10 |
|
LLVM_MAX_SLOT=15
|
|
10 |
LLVM_MAX_SLOT=16
|
11 |
11 |
|
12 |
|
PYTHON_COMPAT=( python3_{9..11} )
|
|
12 |
PYTHON_COMPAT=( python3_{10..11} )
|
13 |
13 |
PYTHON_REQ_USE="ssl,xml(+)"
|
14 |
14 |
|
15 |
15 |
WANT_AUTOCONF="2.1"
|
... | ... | |
61 |
61 |
DESCRIPTION="SpiderMonkey is Mozilla's JavaScript engine written in C and C++"
|
62 |
62 |
HOMEPAGE="https://spidermonkey.dev https://firefox-source-docs.mozilla.org/js/index.html "
|
63 |
63 |
|
64 |
|
KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv ~sparc x86"
|
|
64 |
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
65 |
65 |
|
66 |
66 |
SLOT="$(ver_cut 1)"
|
67 |
67 |
LICENSE="MPL-2.0"
|
... | ... | |
73 |
73 |
BDEPEND="${PYTHON_DEPS}
|
74 |
74 |
|| (
|
75 |
75 |
(
|
|
76 |
sys-devel/llvm:16
|
|
77 |
clang? (
|
|
78 |
sys-devel/clang:16
|
|
79 |
sys-devel/lld:16
|
|
80 |
virtual/rust:0/llvm-16
|
|
81 |
)
|
|
82 |
)
|
|
83 |
(
|
76 |
84 |
sys-devel/llvm:15
|
77 |
85 |
clang? (
|
78 |
86 |
sys-devel/clang:15
|
... | ... | |
138 |
146 |
|
139 |
147 |
pkg_pretend() {
|
140 |
148 |
if use test ; then
|
141 |
|
CHECKREQS_DISK_BUILD="7000M"
|
|
149 |
CHECKREQS_DISK_BUILD="4000M"
|
142 |
150 |
else
|
143 |
|
CHECKREQS_DISK_BUILD="6000M"
|
|
151 |
CHECKREQS_DISK_BUILD="3600M"
|
144 |
152 |
fi
|
145 |
153 |
|
146 |
154 |
check-reqs_pkg_pretend
|
... | ... | |
149 |
157 |
pkg_setup() {
|
150 |
158 |
if [[ ${MERGE_TYPE} != binary ]] ; then
|
151 |
159 |
if use test ; then
|
152 |
|
CHECKREQS_DISK_BUILD="7000M"
|
|
160 |
CHECKREQS_DISK_BUILD="4000M"
|
153 |
161 |
else
|
154 |
|
CHECKREQS_DISK_BUILD="6000M"
|
|
162 |
CHECKREQS_DISK_BUILD="3600M"
|
155 |
163 |
fi
|
156 |
164 |
|
157 |
165 |
check-reqs_pkg_setup
|
... | ... | |
300 |
308 |
|
301 |
309 |
if use debug; then
|
302 |
310 |
myeconfargs+=( --disable-optimize )
|
|
311 |
myeconfargs+=( --enable-debug-symbols )
|
303 |
312 |
else
|
304 |
313 |
myeconfargs+=( --enable-optimize )
|
|
314 |
myeconfargs+=( --disable-debug-symbols )
|
305 |
315 |
fi
|
306 |
316 |
|
307 |
317 |
if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
|
... | ... | |
371 |
381 |
echo "test262/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-same-buffer-other-type.js" >> "${T}"/known_failures.list
|
372 |
382 |
fi
|
373 |
383 |
|
374 |
|
if use x86; then
|
375 |
|
echo "non262/Date/timeclip.js" >> "${T}"/known_failures.list
|
376 |
|
echo "test262/built-ins/Date/UTC/fp-evaluation-order.js" >> "${T}"/known_failures.list
|
377 |
|
echo "test262/language/types/number/S8.5_A2.1.js" >> "${T}"/known_failures.list
|
378 |
|
echo "test262/language/types/number/S8.5_A2.2.js" >> "${T}"/known_failures.list
|
|
384 |
if use ppc; then
|
|
385 |
echo "non262/Array/fill.js" >> "${T}"/known_failures.list
|
|
386 |
echo "non262/Array/sort_basics.js" >> "${T}"/known_failures.list
|
|
387 |
echo "non262/Symbol/typed-arrays.js" >> "${T}"/known_failures.list
|
|
388 |
echo "non262/Intl/TypedArray/toLocaleString.js" >> "${T}"/known_failures.list
|
|
389 |
echo "non262/TypedArray/entries.js" >> "${T}"/known_failures.list
|
|
390 |
echo "non262/TypedArray/fill.js" >> "${T}"/known_failures.list
|
|
391 |
echo "non262/TypedArray/map-species.js" >> "${T}"/known_failures.list
|
|
392 |
echo "non262/TypedArray/iterator.js" >> "${T}"/known_failures.list
|
|
393 |
echo "non262/TypedArray/reverse.js" >> "${T}"/known_failures.list
|
|
394 |
echo "non262/TypedArray/join.js" >> "${T}"/known_failures.list
|
|
395 |
echo "non262/TypedArray/sort_comparators.js" >> "${T}"/known_failures.list
|
|
396 |
echo "non262/TypedArray/forEach.js" >> "${T}"/known_failures.list
|
|
397 |
echo "non262/TypedArray/slice.js" >> "${T}"/known_failures.list
|
|
398 |
echo "non262/TypedArray/sort_compare_nan.js" >> "${T}"/known_failures.list
|
|
399 |
echo "non262/TypedArray/set-toobject.js" >> "${T}"/known_failures.list
|
|
400 |
echo "non262/TypedArray/sort-non-function.js" >> "${T}"/known_failures.list
|
|
401 |
echo "non262/TypedArray/includes.js" >> "${T}"/known_failures.list
|
|
402 |
echo "non262/TypedArray/subarray-species.js" >> "${T}"/known_failures.list
|
|
403 |
echo "non262/TypedArray/indexOf-never-returns-negative-zero.js" >> "${T}"/known_failures.list
|
|
404 |
echo "non262/TypedArray/map-and-filter.js" >> "${T}"/known_failures.list
|
|
405 |
echo "non262/TypedArray/at.js" >> "${T}"/known_failures.list
|
|
406 |
echo "non262/TypedArray/from_errors.js" >> "${T}"/known_failures.list
|
|
407 |
echo "non262/TypedArray/values.js" >> "${T}"/known_failures.list
|
|
408 |
echo "non262/TypedArray/set-wrapped.js" >> "${T}"/known_failures.list
|
|
409 |
echo "non262/TypedArray/every-and-some.js" >> "${T}"/known_failures.list
|
|
410 |
echo "non262/TypedArray/from_mapping.js" >> "${T}"/known_failures.list
|
|
411 |
echo "non262/TypedArray/lastIndexOf-never-returns-negative-zero.js" >> "${T}"/known_failures.list
|
|
412 |
echo "non262/Reflect/preventExtensions.js" >> "${T}"/known_failures.list
|
|
413 |
echo "non262/TypedArray/sort_sorted.js" >> "${T}"/known_failures.list
|
|
414 |
echo "non262/TypedArray/of.js" >> "${T}"/known_failures.list
|
|
415 |
echo "non262/TypedArray/keys.js" >> "${T}"/known_failures.list
|
|
416 |
echo "non262/TypedArray/from_realms.js" >> "${T}"/known_failures.list
|
|
417 |
echo "non262/TypedArray/from_iterable.js" >> "${T}"/known_failures.list
|
|
418 |
echo "non262/TypedArray/filter-species.js" >> "${T}"/known_failures.list
|
|
419 |
echo "non262/TypedArray/object-defineproperty.js" >> "${T}"/known_failures.list
|
|
420 |
echo "non262/TypedArray/uint8clamped-constructor.js" >> "${T}"/known_failures.list
|
|
421 |
echo "non262/TypedArray/indexOf-and-lastIndexOf.js" >> "${T}"/known_failures.list
|
|
422 |
echo "non262/TypedArray/slice-species.js" >> "${T}"/known_failures.list
|
|
423 |
echo "non262/TypedArray/set-tointeger.js" >> "${T}"/known_failures.list
|
|
424 |
echo "non262/Reflect/ownKeys.js" >> "${T}"/known_failures.list
|
|
425 |
echo "non262/TypedArray/seal-and-freeze.js" >> "${T}"/known_failures.list
|
|
426 |
echo "non262/TypedArray/reduce-and-reduceRight.js" >> "${T}"/known_failures.list
|
|
427 |
echo "non262/TypedArray/from_basics.js" >> "${T}"/known_failures.list
|
|
428 |
echo "non262/TypedArray/find-and-findIndex.js" >> "${T}"/known_failures.list
|
|
429 |
echo "non262/Reflect/isExtensible.js" >> "${T}"/known_failures.list
|
|
430 |
echo "non262/regress/regress-571014.js" >> "${T}"/known_failures.list
|
|
431 |
echo "non262/extensions/reviver-mutates-holder-object-nonnative.js" >> "${T}"/known_failures.list
|
|
432 |
echo "non262/extensions/typedarray-set-neutering.js" >> "${T}"/known_failures.list
|
|
433 |
echo "non262/extensions/reviver-mutates-holder-array-nonnative.js" >> "${T}"/known_failures.list
|
|
434 |
echo "non262/extensions/typedarray.js" >> "${T}"/known_failures.list
|
|
435 |
echo "non262/Math/fround.js" >> "${T}"/known_failures.list
|
379 |
436 |
fi
|
380 |
437 |
|
381 |
438 |
${EPYTHON} \
|