Enable RISC-V (riscv64)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
6c5fe13094
commit
aaf68285a9
11
eclipse.spec
11
eclipse.spec
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue