Accepting request 1062439 from home:Andreas_Schwab:riscv:libreoffice
- riscv64-support.patch: Add backport of riscv64 support - No gold on riscv64 OBS-URL: https://build.opensuse.org/request/show/1062439 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=1063
This commit is contained in:
parent
fccfc9de7c
commit
f494bae237
@ -3,6 +3,12 @@ Mon Feb 6 08:55:57 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
|||||||
|
|
||||||
- Update _constraints to match current requirements
|
- Update _constraints to match current requirements
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 1 10:47:11 UTC 2023 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
- riscv64-support.patch: Add backport of riscv64 support
|
||||||
|
- No gold on riscv64
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 28 23:37:14 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Sat Jan 28 23:37:14 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -126,11 +126,15 @@ Patch101: 0001-Revert-java-9-changes.patch
|
|||||||
Patch990: install-with-hardlinks.diff
|
Patch990: install-with-hardlinks.diff
|
||||||
# save time by relying on rpm check rather than doing stupid find+grep
|
# save time by relying on rpm check rather than doing stupid find+grep
|
||||||
Patch991: libreoffice-no-destdircheck.patch
|
Patch991: libreoffice-no-destdircheck.patch
|
||||||
|
# PATCH-FIX-UPSTREAM Add riscv64 support (backport of commit bc9487f745be)
|
||||||
|
Patch1000: riscv64-support.patch
|
||||||
BuildRequires: %{name}-share-linker
|
BuildRequires: %{name}-share-linker
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: awk
|
BuildRequires: awk
|
||||||
|
%ifnarch riscv64
|
||||||
BuildRequires: binutils-gold
|
BuildRequires: binutils-gold
|
||||||
|
%endif
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: bsh2
|
BuildRequires: bsh2
|
||||||
BuildRequires: commons-logging
|
BuildRequires: commons-logging
|
||||||
@ -280,7 +284,7 @@ Provides: %{name}-icon-theme-crystal = %{version}
|
|||||||
Obsoletes: %{name}-icon-theme-crystal < %{version}
|
Obsoletes: %{name}-icon-theme-crystal < %{version}
|
||||||
Provides: %{name}-icon-theme-oxygen = %{version}
|
Provides: %{name}-icon-theme-oxygen = %{version}
|
||||||
Obsoletes: %{name}-icon-theme-oxygen < %{version}
|
Obsoletes: %{name}-icon-theme-oxygen < %{version}
|
||||||
ExclusiveArch: aarch64 %{ix86} x86_64 ppc64le
|
ExclusiveArch: aarch64 %{ix86} x86_64 ppc64le riscv64
|
||||||
%if 0%{?suse_version} < 1550
|
%if 0%{?suse_version} < 1550
|
||||||
# Too old boost on the system
|
# Too old boost on the system
|
||||||
Source2020: %{external_url}/boost_1_79_0.tar.xz
|
Source2020: %{external_url}/boost_1_79_0.tar.xz
|
||||||
@ -1050,6 +1054,7 @@ Provides %{langname} translations and additional resources (help files, etc.) fo
|
|||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch990 -p1
|
%patch990 -p1
|
||||||
%patch991 -p1
|
%patch991 -p1
|
||||||
|
%patch1000 -p1
|
||||||
|
|
||||||
# Disable some of the failing tests (some are random)
|
# Disable some of the failing tests (some are random)
|
||||||
%if 0%{?suse_version} < 1330
|
%if 0%{?suse_version} < 1330
|
||||||
@ -1127,7 +1132,11 @@ export NOCONFIGURE=yes
|
|||||||
%configure \
|
%configure \
|
||||||
--with-parallelism=%{jobs} \
|
--with-parallelism=%{jobs} \
|
||||||
--enable-eot \
|
--enable-eot \
|
||||||
|
%ifarch riscv64
|
||||||
|
--enable-ld=bfd \
|
||||||
|
%else
|
||||||
--enable-ld=gold \
|
--enable-ld=gold \
|
||||||
|
%endif
|
||||||
%if %{with lto}
|
%if %{with lto}
|
||||||
--enable-lto \
|
--enable-lto \
|
||||||
%endif
|
%endif
|
||||||
|
2175
riscv64-support.patch
Normal file
2175
riscv64-support.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user