From 06546df9ee35d0be81fca7c0edde25356efcc7ac Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Mon, 10 Sep 2018 16:54:57 +0200 Subject: [PATCH] Enable ZGC on x86_64, link to jhsdb followed its file to ifarch jit_arches ifnarch s390x Enable ZGC on x86_64. --- java-11-openjdk.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/java-11-openjdk.spec b/java-11-openjdk.spec index 9974e76..eb61394 100644 --- a/java-11-openjdk.spec +++ b/java-11-openjdk.spec @@ -349,7 +349,11 @@ alternatives \\ %endif --slave %{_bindir}/jlink jlink %{sdkbindir -- %{?1}}/jlink \\ --slave %{_bindir}/jmod jmod %{sdkbindir -- %{?1}}/jmod \\ +%ifarch %{jit_arches} +%ifnarch s390x --slave %{_bindir}/jhsdb jhsdb %{sdkbindir -- %{?1}}/jhsdb \\ +%endif +%endif --slave %{_bindir}/jar jar %{sdkbindir -- %{?1}}/jar \\ --slave %{_bindir}/jarsigner jarsigner %{sdkbindir -- %{?1}}/jarsigner \\ --slave %{_bindir}/javadoc javadoc %{sdkbindir -- %{?1}}/javadoc \\ @@ -834,7 +838,7 @@ Provides: java-%{javaver}-%{origin}-src%{?1} = %{epoch}:%{version}-%{release} Name: java-%{javaver}-%{origin} Version: %{newjavaver}.%{buildver} -Release: 2%{?dist} +Release: 4%{?dist} # 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 # also included the epoch in their virtual provides. This created a @@ -1294,6 +1298,9 @@ bash ../configure \ --with-extra-ldflags="%{ourldflags}" \ --with-num-cores="$NUM_PROC" \ --disable-javac-server \ +%ifarch x86_64 + --with-jvm-features=zgc \ +%endif --disable-warnings-as-errors make \ @@ -1723,6 +1730,12 @@ require "copy_jdk_configs.lua" %changelog +* Mon Sep 10 2018 Jiri Vanek - 1:11.0.ea.28-4 +- link to jhsdb followed its file to ifarch jit_arches ifnarch s390x + +* Fri Sep 7 2018 Severin Gehwolf - 1:11.0.ea.28-3 +- Enable ZGC on x86_64. + * Thu Sep 4 2018 Jiri Vanek - 1:11.0.ea.28-2 - jfr/*jfc files listed for all arches - lib/classlist do not exists s390, ifarch-ed via jit_arches out