Excluded ResolverState from JIT to fix arm build.

This commit is contained in:
Krzysztof Daniel 2012-11-23 14:31:59 +01:00
parent 5819fd72cd
commit 37a3ec32a6

View File

@ -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@redhat.com> 1:4.2.1-19
- Excluded ResolverState from JIT to fix arm build.
* Thu Nov 22 2012 Krzysztof Daniel <kdaniel@redhat.com> 1:4.2.1-18
- Get rid off javax.xml.
- Fix building launcher on arm.