!34 add riscv64 support
From: @Jingwiw Reviewed-by: @leeffo Signed-off-by: @leeffo
This commit is contained in:
commit
062ccda66c
@ -1,6 +1,6 @@
|
|||||||
Name: libjpeg-turbo
|
Name: libjpeg-turbo
|
||||||
Version: 2.1.1
|
Version: 2.1.1
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: MMX/SSE2/SIMD accelerated libjpeg-compatible JPEG codec library
|
Summary: MMX/SSE2/SIMD accelerated libjpeg-compatible JPEG codec library
|
||||||
License: IJG
|
License: IJG
|
||||||
URL: http://sourceforge.net/projects/libjpeg-turbo
|
URL: http://sourceforge.net/projects/libjpeg-turbo
|
||||||
@ -63,7 +63,11 @@ manipulate JPEG files using the TurboJPEG library.
|
|||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{cmake} -DCMAKE_INSTALL_LIBDIR=%{_libdir} -DCMAKE_SKIP_RPATH:BOOL=YES -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DENABLE_STATIC:BOOL=NO .
|
%{cmake} -DCMAKE_INSTALL_LIBDIR=%{_libdir} -DCMAKE_SKIP_RPATH:BOOL=YES -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DENABLE_STATIC:BOOL=NO . \
|
||||||
|
%ifarch riscv64
|
||||||
|
-DFLOATTEST=fp-contract \
|
||||||
|
%endif
|
||||||
|
%{nil}
|
||||||
|
|
||||||
%make_build V=1
|
%make_build V=1
|
||||||
|
|
||||||
@ -145,6 +149,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} make test %{?_smp_mflags}
|
|||||||
%{_mandir}/man1/*.1*
|
%{_mandir}/man1/*.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 10 2023 Jingwiw <wangjingwei@iscas.ac.cn> - 2.1.1-6
|
||||||
|
- add riscv64 support
|
||||||
|
|
||||||
* Mon Apr 24 2023 guoqinglan <guoqinglan@kylinsec.com.cn> - 2.1.1-5
|
* Mon Apr 24 2023 guoqinglan <guoqinglan@kylinsec.com.cn> - 2.1.1-5
|
||||||
- fix build error for sw_64
|
- fix build error for sw_64
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user