Enable RISC-V (riscv64)

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-09-13 21:32:33 +02:00
parent 6c5fe13094
commit aaf68285a9
Signed by: davidlt
GPG Key ID: 7108702C938B13C1
1 changed files with 7 additions and 4 deletions

View File

@ -20,7 +20,7 @@ Epoch: 1
%ifarch ppc64 ppc64p7
%global eclipse_arch ppc64
%endif
%ifarch s390x x86_64 aarch64 ppc64le
%ifarch s390x x86_64 aarch64 ppc64le riscv64
%global eclipse_arch %{_arch}
%endif
@ -40,7 +40,7 @@ Epoch: 1
Summary: An open, extensible IDE
Name: eclipse
Version: 4.9.0
Release: 0.4%{?dist}
Release: 0.4.0.riscv64%{?dist}
License: EPL-2.0
URL: http://www.eclipse.org/
@ -452,7 +452,7 @@ sed -i -e '/org\.eclipse\.jdt\.annotation;bundle-version="\[1\.1\.0,2\.0\.0)"/d'
# This part generates secondary fragments using primary fragments
for dir in rt.equinox.binaries rt.equinox.framework/bundles eclipse.platform.swt.binaries/bundles ; do
utils/ensure_arch.sh "$dir" x86 arm
utils/ensure_arch.sh "$dir" x86_64 aarch64 ppc64
utils/ensure_arch.sh "$dir" x86_64 aarch64 ppc64 riscv64
done
# Remove platform-specific stuff that we don't care about to reduce build time
@ -506,7 +506,7 @@ for f in eclipse.jdt/org.eclipse.jdt-feature/feature.xml \
%pom_xpath_remove -f "plugin[@os='macosx']" $f
%pom_xpath_remove -f "plugin[@os='win32']" $f
%pom_xpath_remove -f "plugin[@ws='win32']" $f
for arch in x86 x86_64 arm aarch64 ppc64 ppc64le s390x ; do
for arch in x86 x86_64 arm aarch64 ppc64 ppc64le s390x riscv64 ; do
if [ "$arch" != "%{eclipse_arch}" ] ; then
%pom_xpath_remove -f "plugin[@arch='$arch']" $f
fi
@ -1069,6 +1069,9 @@ fi
%{_eclipsedir}/plugins/org.eclipse.osgi.util_*
%changelog
* Thu Sep 13 2018 David Abdurachmanov <david.abdurachmanov> - 1:4.9.0-0.4.0.riscv64
- Enable RISC-V (riscv64)
* Thu Aug 23 2018 Mat Booth <mat.booth@redhat.com> - 1:4.9.0-0.4
- Update to latest I-build
- Full non-bootstrap build