[eclipse] Excluded ResolverState from JIT to fix arm build.

Krzysztof Daniel kdaniel at fedoraproject.org
Fri Nov 23 13:32:28 UTC 2012


commit 37a3ec32a63715c8fd8c587b3c74cc3721bfceb7
Author: Krzysztof Daniel <kdaniel at redhat.com>
Date:   Fri Nov 23 14:31:59 2012 +0100

    Excluded ResolverState from JIT to fix arm build.

 eclipse.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/eclipse.spec b/eclipse.spec
index f469bff..77e30f4 100644
--- a/eclipse.spec
+++ b/eclipse.spec
@@ -65,7 +65,7 @@ fi;
 Summary:        An open, extensible IDE
 Name:           eclipse
 Version:        %{eclipse_version}
-Release:        18%{?dist}
+Release:        19%{?dist}
 License:        EPL
 Group:          Development/Tools
 URL:            http://www.eclipse.org/
@@ -539,7 +539,7 @@ mkdir -p rt.equinox.framework/bundles/org.eclipse.equinox.executable/bin/gtk/lin
 
 %build
 #This is the lowest value where the build succeeds. 512m is not enough.
-export MAVEN_OPTS=-Xmx640m
+export MAVEN_OPTS="-Xmx640m -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState"
 
 pushd .m2/p2/repo-sdk/features
     ln -s /usr/share/java/emf/eclipse/features/* -t .
@@ -942,6 +942,7 @@ echo "-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/se
 echo "-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding" >> $RPM_BUILD_ROOT%{_libdir}/%{name}/eclipse.ini
 echo "-XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile" >> $RPM_BUILD_ROOT%{_libdir}/%{name}/eclipse.ini
 echo "-XX:CompileCommand=exclude,org/python/pydev/ui/filetypes/FileTypesPreferencesPage,getDottedValidSourceFiles" >> $RPM_BUILD_ROOT%{_libdir}/%{name}/eclipse.ini
+echo "-XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState" >> $RPM_BUILD_ROOT%{_libdir}/%{name}/eclipse.ini
 
 # Prevent running master Eclipse in a shared configuration
 echo "-preventMasterEclipseLaunch" | cat - $RPM_BUILD_ROOT%{_libdir}/%{name}/eclipse.ini > /tmp/out && mv -f /tmp/out $RPM_BUILD_ROOT%{_libdir}/%{name}/eclipse.ini
@@ -1331,6 +1332,9 @@ rm -rf %{_bindir}/efj/
 %{_mavendepmapfragdir}/%{name}-equinox-osgi
 
 %changelog
+* Fri Nov 23 2012 Krzysztof Daniel <kdaniel at redhat.com> 1:4.2.1-19
+- Excluded ResolverState from JIT to fix arm build.
+
 * Thu Nov 22 2012 Krzysztof Daniel <kdaniel at redhat.com> 1:4.2.1-18
 - Get rid off javax.xml.
 - Fix building launcher on arm.


More information about the scm-commits mailing list