- Enable build on s390/s390x
This commit is contained in:
parent
ea67b67881
commit
5fc2f2aab4
18
java-1.8.0-openjdk-s390-java-opts.patch
Normal file
18
java-1.8.0-openjdk-s390-java-opts.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
diff -up jdk8/common/autoconf/boot-jdk.m4.s390 jdk8/common/autoconf/boot-jdk.m4
|
||||||
|
--- jdk8/common/autoconf/boot-jdk.m4.s390 2014-03-11 16:01:27.000000000 -0400
|
||||||
|
+++ jdk8/common/autoconf/boot-jdk.m4 2014-05-21 11:50:36.507890197 -0400
|
||||||
|
@@ -315,12 +315,12 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK_AR
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Minimum amount of heap memory.
|
||||||
|
- ADD_JVM_ARG_IF_OK([-Xms64M],boot_jdk_jvmargs,[$JAVA])
|
||||||
|
+ ADD_JVM_ARG_IF_OK([-Xms256M],boot_jdk_jvmargs,[$JAVA])
|
||||||
|
if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
|
||||||
|
# Why does macosx need more heap? Its the huge JDK batch.
|
||||||
|
ADD_JVM_ARG_IF_OK([-Xmx1600M],boot_jdk_jvmargs,[$JAVA])
|
||||||
|
else
|
||||||
|
- ADD_JVM_ARG_IF_OK([-Xmx1100M],boot_jdk_jvmargs,[$JAVA])
|
||||||
|
+ ADD_JVM_ARG_IF_OK([-Xmx768M],boot_jdk_jvmargs,[$JAVA])
|
||||||
|
fi
|
||||||
|
# When is adding -client something that speeds up the JVM?
|
||||||
|
# ADD_JVM_ARG_IF_OK([-client],boot_jdk_jvmargs,[$JAVA])
|
@ -135,7 +135,7 @@
|
|||||||
|
|
||||||
Name: java-%{javaver}-%{origin}
|
Name: java-%{javaver}-%{origin}
|
||||||
Version: %{javaver}.%{updatever}
|
Version: %{javaver}.%{updatever}
|
||||||
Release: 5.%{buildver}%{?dist}
|
Release: 6.%{buildver}%{?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
|
||||||
@ -211,6 +211,8 @@ Patch7: include-all-srcs.patch
|
|||||||
# Allow icedtea-web to build
|
# Allow icedtea-web to build
|
||||||
Patch99: applet-hole.patch
|
Patch99: applet-hole.patch
|
||||||
|
|
||||||
|
# JVM heap size changes for s390 (thanks to aph)
|
||||||
|
Patch100: %{name}-s390-java-opts.patch
|
||||||
# Type fixing for s390
|
# Type fixing for s390
|
||||||
Patch102: %{name}-size_t.patch
|
Patch102: %{name}-size_t.patch
|
||||||
|
|
||||||
@ -436,8 +438,9 @@ sh %{SOURCE12}
|
|||||||
|
|
||||||
%patch99
|
%patch99
|
||||||
|
|
||||||
# Type fixes for s390
|
# s390 build fixes
|
||||||
%ifarch s390 s390x
|
%ifarch s390
|
||||||
|
%patch100
|
||||||
%patch102
|
%patch102
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -1119,6 +1122,9 @@ exit 0
|
|||||||
%{_jvmdir}/%{jredir}/lib/accessibility.properties
|
%{_jvmdir}/%{jredir}/lib/accessibility.properties
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 23 2014 Dan Horák <dan[at]danny.cz> - 1:1.8.0.5-6.b13
|
||||||
|
- Enable build on s390/s390x
|
||||||
|
|
||||||
* Tue May 20 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.5-5.b13
|
* Tue May 20 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.5-5.b13
|
||||||
- Only check for debug symbols in libjvm if it exists.
|
- Only check for debug symbols in libjvm if it exists.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user