Add support for riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-12-05 10:21:26 +02:00
parent daee895e37
commit c3b03e0862
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
2 changed files with 11 additions and 1 deletions

View File

@ -105,3 +105,5 @@ test262/intl402/DateTimeFormat/prototype/formatRangeToParts/en-US.js
test262/intl402/DateTimeFormat/prototype/formatRangeToParts/fractionalSecondDigits.js test262/intl402/DateTimeFormat/prototype/formatRangeToParts/fractionalSecondDigits.js
test262/intl402/Locale/constructor-non-iana-canon.js test262/intl402/Locale/constructor-non-iana-canon.js
test262/intl402/Locale/prototype/minimize/removing-likely-subtags-first-adds-likely-subtags.js test262/intl402/Locale/prototype/minimize/removing-likely-subtags-first-adds-likely-subtags.js
non262/Array/regress-157652.js
non262/regress/regress-422348.js

View File

@ -1,10 +1,18 @@
%global major 102 %global major 102
# LTO - Enable in Release builds, but consider disabling for development as it increases compile time # LTO - Enable in Release builds, but consider disabling for development as it increases compile time
%ifnarch riscv64
%global build_with_lto 1 %global build_with_lto 1
%else
%global build_with_lto 0
%endif
# Require tests to pass? # Require tests to pass?
%ifnarch riscv64
%global require_tests 1 %global require_tests 1
%else
%global require_tests 0
%endif
%if 0%{?build_with_lto} %if 0%{?build_with_lto}
# LTO is the default # LTO is the default
@ -19,7 +27,7 @@
Name: mozjs%{major} Name: mozjs%{major}
Version: 102.15.1 Version: 102.15.1
Release: %autorelease Release: %autorelease -e 0.riscv64
Summary: SpiderMonkey JavaScript library 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 License: MPL-2.0 AND Apache-2.0 AND BSD-3-Clause AND BSD-2-Clause AND MIT AND GPL-3.0-or-later