Add support for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
daee895e37
commit
c3b03e0862
@ -105,3 +105,5 @@ test262/intl402/DateTimeFormat/prototype/formatRangeToParts/en-US.js
|
||||
test262/intl402/DateTimeFormat/prototype/formatRangeToParts/fractionalSecondDigits.js
|
||||
test262/intl402/Locale/constructor-non-iana-canon.js
|
||||
test262/intl402/Locale/prototype/minimize/removing-likely-subtags-first-adds-likely-subtags.js
|
||||
non262/Array/regress-157652.js
|
||||
non262/regress/regress-422348.js
|
||||
|
@ -1,10 +1,18 @@
|
||||
%global major 102
|
||||
|
||||
# LTO - Enable in Release builds, but consider disabling for development as it increases compile time
|
||||
%ifnarch riscv64
|
||||
%global build_with_lto 1
|
||||
%else
|
||||
%global build_with_lto 0
|
||||
%endif
|
||||
|
||||
# Require tests to pass?
|
||||
%ifnarch riscv64
|
||||
%global require_tests 1
|
||||
%else
|
||||
%global require_tests 0
|
||||
%endif
|
||||
|
||||
%if 0%{?build_with_lto}
|
||||
# LTO is the default
|
||||
@ -19,7 +27,7 @@
|
||||
|
||||
Name: mozjs%{major}
|
||||
Version: 102.15.1
|
||||
Release: %autorelease
|
||||
Release: %autorelease -e 0.riscv64
|
||||
Summary: SpiderMonkey JavaScript library
|
||||
|
||||
License: MPL-2.0 AND Apache-2.0 AND BSD-3-Clause AND BSD-2-Clause AND MIT AND GPL-3.0-or-later
|
||||
|
Loading…
Reference in New Issue
Block a user