Bootstrap OpenJDK 19
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
3b7a64c61c
commit
1e5d0a21a6
@ -118,13 +118,13 @@
|
|||||||
# Set of architectures for which we build fastdebug builds
|
# Set of architectures for which we build fastdebug builds
|
||||||
%global fastdebug_arches x86_64 ppc64le aarch64
|
%global fastdebug_arches x86_64 ppc64le aarch64
|
||||||
# Set of architectures with a Just-In-Time (JIT) compiler
|
# Set of architectures with a Just-In-Time (JIT) compiler
|
||||||
%global jit_arches %{arm} %{aarch64} %{ix86} %{power64} s390x sparcv9 sparc64 x86_64
|
%global jit_arches %{arm} %{aarch64} %{ix86} %{power64} s390x sparcv9 sparc64 x86_64 riscv64
|
||||||
# Set of architectures which use the Zero assembler port (!jit_arches)
|
# Set of architectures which use the Zero assembler port (!jit_arches)
|
||||||
%global zero_arches ppc s390
|
%global zero_arches ppc s390
|
||||||
# Set of architectures which run a full bootstrap cycle
|
# Set of architectures which run a full bootstrap cycle
|
||||||
%global bootstrap_arches %{jit_arches}
|
%global bootstrap_arches %{jit_arches}
|
||||||
# Set of architectures which support SystemTap tapsets
|
# Set of architectures which support SystemTap tapsets
|
||||||
%global systemtap_arches %{jit_arches}
|
%global systemtap_arches %{arm} %{aarch64} %{ix86} %{power64} s390x sparcv9 sparc64 x86_64
|
||||||
# Set of architectures with a Ahead-Of-Time (AOT) compiler
|
# Set of architectures with a Ahead-Of-Time (AOT) compiler
|
||||||
%global aot_arches x86_64 %{aarch64}
|
%global aot_arches x86_64 %{aarch64}
|
||||||
# Set of architectures which support the serviceability agent
|
# Set of architectures which support the serviceability agent
|
||||||
@ -297,6 +297,10 @@
|
|||||||
%global archinstall aarch64
|
%global archinstall aarch64
|
||||||
%global stapinstall arm64
|
%global stapinstall arm64
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch riscv64
|
||||||
|
%global archinstall riscv64
|
||||||
|
%global stapinstall %{nil}
|
||||||
|
%endif
|
||||||
# 32 bit sparc, optimized for v9
|
# 32 bit sparc, optimized for v9
|
||||||
%ifarch sparcv9
|
%ifarch sparcv9
|
||||||
%global archinstall sparc
|
%global archinstall sparc
|
||||||
@ -327,7 +331,7 @@
|
|||||||
# buildjdkver is usually same as %%{featurever},
|
# buildjdkver is usually same as %%{featurever},
|
||||||
# but in time of bootstrap of next jdk, it is featurever-1,
|
# but in time of bootstrap of next jdk, it is featurever-1,
|
||||||
# and this it is better to change it here, on single place
|
# and this it is better to change it here, on single place
|
||||||
%global buildjdkver %{featurever}
|
%global buildjdkver 18
|
||||||
# We don't add any LTS designator for STS packages (Fedora and EPEL).
|
# We don't add any LTS designator for STS packages (Fedora and EPEL).
|
||||||
# We need to explicitly exclude EPEL as it would have the %%{rhel} macro defined.
|
# We need to explicitly exclude EPEL as it would have the %%{rhel} macro defined.
|
||||||
%if 0%{?rhel} && !0%{?epel}
|
%if 0%{?rhel} && !0%{?epel}
|
||||||
@ -1303,7 +1307,7 @@ Version: %{newjavaver}.%{buildver}
|
|||||||
# This package needs `.rolling` as part of Release so as to not conflict on install with
|
# This package needs `.rolling` as part of Release so as to not conflict on install with
|
||||||
# java-X-openjdk. I.e. when latest rolling release is also an LTS release packaged as
|
# java-X-openjdk. I.e. when latest rolling release is also an LTS release packaged as
|
||||||
# java-X-openjdk. See: https://bugzilla.redhat.com/show_bug.cgi?id=1647298
|
# java-X-openjdk. See: https://bugzilla.redhat.com/show_bug.cgi?id=1647298
|
||||||
Release: %{?eaprefix}%{rpmrelease}%{?extraver}.rolling%{?dist}
|
Release: %{?eaprefix}%{rpmrelease}%{?extraver}.rolling.0.riscv64%{?dist}
|
||||||
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons
|
# 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
|
# and this change was brought into RHEL-4. java-1.5.0-ibm packages
|
||||||
# also included the epoch in their virtual provides. This created a
|
# also included the epoch in their virtual provides. This created a
|
||||||
@ -1934,7 +1938,7 @@ export NUM_PROC=${NUM_PROC:-1}
|
|||||||
[ ${NUM_PROC} -gt %{?_smp_ncpus_max} ] && export NUM_PROC=%{?_smp_ncpus_max}
|
[ ${NUM_PROC} -gt %{?_smp_ncpus_max} ] && export NUM_PROC=%{?_smp_ncpus_max}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch s390x sparc64 alpha %{power64} %{aarch64}
|
%ifarch s390x sparc64 alpha %{power64} %{aarch64} riscv64
|
||||||
export ARCH_DATA_MODEL=64
|
export ARCH_DATA_MODEL=64
|
||||||
%endif
|
%endif
|
||||||
%ifarch alpha
|
%ifarch alpha
|
||||||
@ -2681,6 +2685,9 @@ cjc.mainProgram(args)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 16 2022 David Abdurachmanov <davidlt@rivosinc.com> - 1:19.0.0.0.36-2.rolling.0.riscv64
|
||||||
|
- Try to build (bootstrap)
|
||||||
|
|
||||||
* Tue Aug 30 2022 Andrew Hughes <gnu.andrew@redhat.com> - 1:19.0.0.0.36-2.rolling
|
* Tue Aug 30 2022 Andrew Hughes <gnu.andrew@redhat.com> - 1:19.0.0.0.36-2.rolling
|
||||||
- Switch buildjdkver back to being featurever, now java-19-openjdk is available in the buildroot
|
- Switch buildjdkver back to being featurever, now java-19-openjdk is available in the buildroot
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user