Projects
Factory:RISC-V:Base
libjpeg-turbo
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
_service:tar_scm:libjpeg-turbo.spec
Changed
@@ -1,12 +1,16 @@ Name: libjpeg-turbo Version: 2.1.1 -Release: 3 +Release: 4 Summary: MMX/SSE2/SIMD accelerated libjpeg-compatible JPEG codec library License: IJG URL: http://sourceforge.net/projects/libjpeg-turbo Source0: http://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz +%ifarch loongarch64 +Patch0001: Add-loongarch64.patch +%endif BuildRequires: gcc cmake libtool nasm +BuildRequires: guile Obsoletes: libjpeg < 6b-47 turbojpeg < %{version}-%{release} Provides: libjpeg = 6b-47 turbojpeg = %{version}-%{release} @@ -141,6 +145,9 @@ %{_mandir}/man1/*.1* %changelog +* Thu Nov 17 2022 doupengda <doupengda@loongson.cn> - 2.1.1-4 +- add loongarch64 support + * Wed Jul 13 2022 wangkerong <wangkerong@h-partners.com> - 2.1.1-3 - utils provide by libjpeg-turbo-utils subpackage,the main package shouldn't provide it
View file
_service:tar_scm:Add-loongarch64.patch
Added
@@ -0,0 +1,25 @@ +From 97ca1ba6c5db46675e08899cfda80edf326a21af Mon Sep 17 00:00:00 2001 +From: doupengda <doupengda@loongson.cn> +Date: Mon, 5 Dec 2022 02:46:49 +0000 +Subject: PATCH Add loongarch64 + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index c01ec25..693cfc4 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -927,7 +927,7 @@ if(CPU_TYPE STREQUAL "x86_64" OR CPU_TYPE STREQUAL "i386") + # manually. + endif() + else() +- if((CPU_TYPE STREQUAL "powerpc" OR CPU_TYPE STREQUAL "arm64") AND ++ if((CPU_TYPE STREQUAL "powerpc" OR CPU_TYPE STREQUAL "arm64" OR CPU_TYPE STREQUAL "loongarch64") AND + NOT CMAKE_C_COMPILER_ID STREQUAL "Clang" AND NOT MSVC) + set(DEFAULT_FLOATTEST fp-contract) + else() +-- +2.33.0 +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2