Disable RVV (vector) on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
67b369b69a
commit
c593d8b4df
12
zlib-ng.spec
12
zlib-ng.spec
|
@ -3,7 +3,7 @@
|
|||
|
||||
Name: zlib-ng
|
||||
Version: 2.1.3
|
||||
Release: 2.0.riscv64%{?dist}
|
||||
Release: 2.1.riscv64%{?dist}
|
||||
Summary: Zlib replacement with optimizations
|
||||
License: zlib
|
||||
Url: https://github.com/zlib-ng/zlib-ng
|
||||
|
@ -31,7 +31,12 @@ developing application that use %{name}.
|
|||
|
||||
%build
|
||||
# zlib-ng uses a different macro for library directory.
|
||||
%cmake -DWITH_SANITIZERS=ON -DINSTALL_LIB_DIR=%{_libdir}
|
||||
%cmake \
|
||||
-DWITH_SANITIZERS=ON \
|
||||
%ifarch riscv64
|
||||
-DWITH_RVV=OFF \
|
||||
%endif
|
||||
-DINSTALL_LIB_DIR=%{_libdir}
|
||||
%cmake_build
|
||||
|
||||
%check
|
||||
|
@ -54,6 +59,9 @@ developing application that use %{name}.
|
|||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
||||
* Mon Nov 06 2023 David Abdurachmanov <davidlt@rivosinc.com> - 2.1.3-2.1.riscv64
|
||||
- Disable RVV (Vector) on riscv64
|
||||
|
||||
* Mon Nov 06 2023 David Abdurachmanov <davidlt@rivosinc.com> - 2.1.3-2.0.riscv64
|
||||
- Enable riscv64
|
||||
|
||||
|
|
Loading…
Reference in New Issue