Hi,
I've removed gjc aot from the build system. I grep'd for occurances
inside other repos, but it doesn't match anything. Looks like this is
all. LibO builds an runs fine on Linux.
Thomas
From a67a2555a34b07babbbbbfc809e7d58e9ee6c8f3 Mon Sep 17 00:00:00 2001
From: Thomas Arnhold <thomas@arnhold.org>
Date: Sat, 12 Feb 2011 11:58:01 +0100
Subject: [PATCH] Easy hack: remove obsolete gjc aot compilation
---
configure.cmd | 2 +-
configure.in | 39 ---------------------------------------
set_soenv.in | 1 -
3 files changed, 1 insertions(+), 41 deletions(-)
diff --git a/configure.cmd b/configure.cmd
index aff7e81..dfdc0b6 100755
--- a/configure.cmd
+++ b/configure.cmd
@@ -3,5 +3,5 @@ setlocal
SET MY_ANT_HOME=e:/java150/apache-ant-1.7.0
SET JAVA_HOME=e:\java150
SET PATH=%JAVA_HOME%\bin;%PATH%;%MY_ANT_HOME%\bin;
-sh -c "configure --with-system-openssl --with-system-icu --with-system-libxml
--with-system-libxslt --disable-werror --with-use-shell=bash --disable-mozilla --disable-epm
--disable-odk --disable-qadevooo --with-x=no --disable-fontconfig --disable-gnome-vfs --disable-gtk
--with-java=yes --disable-gcjaot --without-nas --without-fonts --with-ant-home=%MY_ANT_HOME%" | tee
configure.log
+sh -c "configure --with-system-openssl --with-system-icu --with-system-libxml
--with-system-libxslt --disable-werror --with-use-shell=bash --disable-mozilla --disable-epm
--disable-odk --disable-qadevooo --with-x=no --disable-fontconfig --disable-gnome-vfs --disable-gtk
--with-java=yes --without-nas --without-fonts --with-ant-home=%MY_ANT_HOME%" | tee configure.log
endlocal
diff --git a/configure.in b/configure.in
index 0e1df63..45a22cd 100755
--- a/configure.in
+++ b/configure.in
@@ -397,13 +397,6 @@ AC_ARG_ENABLE(Xaw,
[Disables the use of Xaw for the Netscape/Mozilla plugin.]),
,)
-AC_ARG_ENABLE(gcjaot,
- AS_HELP_STRING([--enable-gcjaot],
- [Build with[[out]] using Ahead of Time java compilation support to speed
- up buildsi by compiling the jars also to native code.. --enable-gcjaot
- is only known to work with bytecode created with gcj or ecj.]),
-,)
-
AC_ARG_ENABLE(check-only,
AS_HELP_STRING([--enable-check-only],
[Use this option option if you just want to check your environment.
@@ -3548,37 +3541,6 @@ if test "$SOLAR_JAVA" != ""; then
AC_SUBST(AWTLIB)
fi
-dnl ===================================================================
-dnl Check for optional gcj for AOT
-dnl ===================================================================
-if test "$SOLAR_JAVA" != ""; then
- AC_MSG_CHECKING([whether to enable gcj aot compilation])
- if test -n "$enable_gcjaot" && test "$enable_gcjaot" != "no"; then
- AC_MSG_RESULT([yes])
- if test `echo $WITH_JAVA | grep -c "gij"` -eq 0; then
- gcjaot="gcj"
- else
- gcjaot=`echo $WITH_JAVA | $SED -e "s/gij/gcj/g"`
- fi
- AC_MSG_RESULT([$gcjaot])
- if test -n "$with_jdk_home"; then
- _javac_path="$with_jdk_home/bin/$gcjaot"
- dnl Check if there is a gcj at all.
- if test -x "$_javac_path"; then
- JAVAAOTCOMPILER=$_javac_path
- fi
- fi
- if test -z "$JAVAAOTCOMPILER"; then
- AC_PATH_PROG(JAVAAOTCOMPILER, $gcjaot)
- fi
- if test -z "$JAVAAOTCOMPILER"; then
- AC_MSG_WARN([$gcjaot not found, set with_jdk_home])
- fi
- else
- AC_MSG_RESULT([no])
- fi
-fi
-
AC_SUBST(JAVA_HOME)
AC_SUBST(JDK)
AC_SUBST(JAVAFLAGS)
@@ -3587,7 +3549,6 @@ AC_SUBST(JAVA_TARGET_VER)
AC_SUBST(JAVAINTERPRETER)
AC_SUBST(JAVAIFLAGS)
AC_SUBST(JAVACOMPILER)
-AC_SUBST(JAVAAOTCOMPILER)
AC_SUBST(JAVADOC)
dnl ===================================================================
diff --git a/set_soenv.in b/set_soenv.in
index 450f9fa..c914259 100755
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -1786,7 +1786,6 @@ if ( '@JDK@' ne '' )
ToFile( "JAVAINTERPRETER", PathFormat("@JAVAINTERPRETER@"), "e" );
ToFile( "JAVAIFLAGS", "@JAVAIFLAGS@", "e" );
ToFile( "JAVACOMPILER", PathFormat("@JAVACOMPILER@"), "e" );
- ToFile( "JAVAAOTCOMPILER", PathFormat("@JAVAAOTCOMPILER@"), "e" );
ToFile( "JAVADOC", PathFormat("@JAVADOC@"), "e" );
}
ToFile( "SCPDEFS", '@SCPDEFS@', "e" );
--
1.7.3.5
Context
- [Libreoffice] [PATCH] Easy hack: remove obsolete gjc aot compilation · Thomas Arnhold
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.