Diff spidermonkey-102.6.0 with a spidermonkey-102.10.0

/usr/portage/dev-lang/spidermonkey/spidermonkey-102.10.0.ebuild 2023-10-09 14:52:29.480368350 +0300
4 4
EAPI="8"
5 5

  
6 6
# Patch version
7
FIREFOX_PATCHSET="firefox-102esr-patches-07j.tar.xz"
8
SPIDERMONKEY_PATCHSET="spidermonkey-102-patches-04j.tar.xz"
7
FIREFOX_PATCHSET="firefox-102esr-patches-10j.tar.xz"
8
SPIDERMONKEY_PATCHSET="spidermonkey-102-patches-05j.tar.xz"
9 9

  
10 10
LLVM_MAX_SLOT=15
11 11

  
......
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 ~mips ppc ppc64 ~riscv ~sparc x86"
65 65

  
66 66
SLOT="$(ver_cut 1)"
67 67
LICENSE="MPL-2.0"
......
280 280

  
281 281
		--disable-ctype
282 282
		--disable-jemalloc
283
		--disable-optimize
284 283
		--disable-smoosh
285 284
		--disable-strip
286 285

  
......
299 298
		$(use_enable test tests)
300 299
	)
301 300

  
301
	if use debug; then
302
		myeconfargs+=( --disable-optimize )
303
	else
304
		myeconfargs+=( --enable-optimize )
305
	fi
306

  
302 307
	if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
303 308
		myeconfargs+=( --enable-rust-simd )
304 309
	fi
......
328 333
	# LTO flag was handled via configure
329 334
	filter-lto
330 335

  
331
	if tc-is-gcc ; then
332
		if ver_test $(gcc-fullversion) -ge 10 ; then
333
			einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..."
334
			append-cxxflags -fno-tree-loop-vectorize
335
		fi
336
	fi
337

  
338 336
	# Use system's Python environment
339 337
	export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
340 338
	export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
......
373 371
		echo "test262/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-same-buffer-other-type.js" >> "${T}"/known_failures.list
374 372
	fi
375 373

  
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
379
	fi
380

  
376 381
	${EPYTHON} \
377 382
		"${S}"/tests/jstests.py -d -s -t 1800 --wpt=disabled --no-progress \
378 383
		--exclude-file="${T}"/known_failures.list \
Thank you!