Add riscv64 support
This commit is contained in:
parent
7a8679ad68
commit
3fef554d67
64873
add-riscv64-support.patch
Normal file
64873
add-riscv64-support.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -72,7 +72,7 @@
|
||||
%global is_system_jdk 0
|
||||
|
||||
%global aarch64 aarch64 arm64 armv8
|
||||
%global jit_arches x86_64 %{aarch64} loongarch64
|
||||
%global jit_arches x86_64 %{aarch64} loongarch64 riscv64
|
||||
%global aot_arches x86_64 %{aarch64}
|
||||
|
||||
# Set of architectures for which java has short vector math library (libsvml.so)
|
||||
@ -142,6 +142,9 @@
|
||||
%ifarch loongarch64
|
||||
%global archinstall loongarch64
|
||||
%endif
|
||||
%ifarch %{riscv64}
|
||||
%global archinstall riscv64
|
||||
%endif
|
||||
%ifnarch %{jit_arches}
|
||||
%global archinstall %{_arch}
|
||||
%endif
|
||||
@ -888,7 +891,7 @@ Provides: java-src%{?1} = %{epoch}:%{version}-%{release}
|
||||
|
||||
Name: java-%{javaver}-%{origin}
|
||||
Version: %{newjavaver}.%{buildver}
|
||||
Release: 0
|
||||
Release: 1
|
||||
|
||||
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons
|
||||
# and this change was brought into RHEL-4. java-1.5.0-ibm packages
|
||||
@ -993,6 +996,13 @@ Patch27: 8275509-ModuleDescriptor.hashCode-isn-t-rep.patch
|
||||
############################################
|
||||
Patch2000: LoongArch64-support.patch
|
||||
|
||||
############################################
|
||||
#
|
||||
# riscv64 specific patches
|
||||
#
|
||||
############################################
|
||||
Patch3000: add-riscv64-support.patch
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: alsa-lib-devel
|
||||
@ -1233,6 +1243,9 @@ pushd %{top_level_dir_name}
|
||||
%patch24 -p1
|
||||
%patch26 -p1
|
||||
%patch27 -p1
|
||||
%ifarch riscv64
|
||||
%patch3000 -p1
|
||||
%endif
|
||||
popd # openjdk
|
||||
%endif
|
||||
|
||||
@ -1792,6 +1805,9 @@ cjc.mainProgram(arg)
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Aug 08 2023 misaka00251 <liuxin@iscas.ac.cn> - 1:17.0.8.7-1
|
||||
- Add riscv64 support
|
||||
|
||||
* Fri Jul 21 2023 kuenking111 <wangkun49@huawei.com> - 1:17.0.8.7-0.rolling
|
||||
- del 8302595-use-after-free-related-to-GraphKit-.patch
|
||||
- del 8303069-Memory-leak-in-CompilerOracle-parse.patch
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user