Add support for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
2c97dc253a
commit
6dade0bdbc
16
samba.spec
16
samba.spec
@ -57,7 +57,7 @@
|
|||||||
|
|
||||||
# ppc64le excluded pending resolution of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172
|
# ppc64le excluded pending resolution of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172
|
||||||
#%%ifarch aarch64 ppc64le s390x x86_64
|
#%%ifarch aarch64 ppc64le s390x x86_64
|
||||||
%ifarch aarch64 s390x x86_64
|
%ifarch aarch64 s390x x86_64 riscv64
|
||||||
%bcond_without vfs_cephfs
|
%bcond_without vfs_cephfs
|
||||||
%bcond_without ceph_mutex
|
%bcond_without ceph_mutex
|
||||||
%else
|
%else
|
||||||
@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
|
|
||||||
%ifarch aarch64 ppc64le s390x x86_64
|
%ifarch aarch64 ppc64le s390x x86_64 riscv64
|
||||||
%bcond_without vfs_glusterfs
|
%bcond_without vfs_glusterfs
|
||||||
%else
|
%else
|
||||||
%bcond_with vfs_glusterfs
|
%bcond_with vfs_glusterfs
|
||||||
@ -109,7 +109,7 @@
|
|||||||
# Build vfs_io_uring module by default on 64bit Fedora
|
# Build vfs_io_uring module by default on 64bit Fedora
|
||||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||||
|
|
||||||
%ifarch aarch64 ppc64le s390x x86_64
|
%ifarch aarch64 ppc64le s390x x86_64 riscv64
|
||||||
%bcond_without vfs_io_uring
|
%bcond_without vfs_io_uring
|
||||||
%else
|
%else
|
||||||
%bcond_with vfs_io_uring
|
%bcond_with vfs_io_uring
|
||||||
@ -205,7 +205,7 @@
|
|||||||
|
|
||||||
Name: samba
|
Name: samba
|
||||||
Version: %{samba_version}
|
Version: %{samba_version}
|
||||||
Release: %{samba_release}%{?dist}
|
Release: %{samba_release}.0.riscv64%{?dist}
|
||||||
|
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
@ -332,7 +332,7 @@ BuildRequires: zlib-devel >= 1.2.3
|
|||||||
|
|
||||||
BuildRequires: pkgconfig(libsystemd)
|
BuildRequires: pkgconfig(libsystemd)
|
||||||
|
|
||||||
%ifnarch i686
|
%ifnarch i686 riscv64
|
||||||
%if 0%{?fedora} >= 37
|
%if 0%{?fedora} >= 37
|
||||||
BuildRequires: mold
|
BuildRequires: mold
|
||||||
%endif
|
%endif
|
||||||
@ -1275,7 +1275,7 @@ export python_LDFLAGS="$(echo %{__global_ldflags} | sed -e 's/-Wl,-z,defs//g')"
|
|||||||
# Use the mold linker if possible
|
# Use the mold linker if possible
|
||||||
export python_LDFLAGS="$(echo %{__global_ldflags} | sed -e 's/-Wl,-z,defs//g')"
|
export python_LDFLAGS="$(echo %{__global_ldflags} | sed -e 's/-Wl,-z,defs//g')"
|
||||||
|
|
||||||
%ifnarch i686
|
%ifnarch i686 riscv64
|
||||||
%if 0%{?fedora} >= 37
|
%if 0%{?fedora} >= 37
|
||||||
export LDFLAGS="%{__global_ldflags} -fuse-ld=mold"
|
export LDFLAGS="%{__global_ldflags} -fuse-ld=mold"
|
||||||
export python_LDFLAGS="$(echo ${LDFLAGS} | sed -e 's/-Wl,-z,defs//g')"
|
export python_LDFLAGS="$(echo ${LDFLAGS} | sed -e 's/-Wl,-z,defs//g')"
|
||||||
@ -4468,6 +4468,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 11 2024 David Abdurachmanov <davidlt@rivosinc.com> - 4.19.4-2.0.riscv64
|
||||||
|
- Add support for riscv64
|
||||||
|
- Disable Mold linker on riscv64
|
||||||
|
|
||||||
* Tue Jan 09 2024 Andreas Schneider <asn@redhat.com> - 4.19.4-2
|
* Tue Jan 09 2024 Andreas Schneider <asn@redhat.com> - 4.19.4-2
|
||||||
- resolves: rhbz#2256326 - Create all groups using systemd
|
- resolves: rhbz#2256326 - Create all groups using systemd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user