13 Star 0 Fork 25

src-openEuler/libjpeg-turbo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libjpeg-turbo-add-loongarch64-and-riscv64.patch 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
Funda Wang 提交于 2024-11-27 17:22 . 3.0.4
From 3b9fb5b5e4c3435b6d8956743936f3566515e749 Mon Sep 17 00:00:00 2001
From: Wenlong Zhang <[email protected]>
Date: Tue, 16 Apr 2024 03:18:45 +0000
Subject: [PATCH] Add loongarch64
---
CMakeLists.txt | 4 +-
1 file changed, 2 insertion(+), 2 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5ad0718..3fd78b9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -926,7 +926,7 @@
elseif(CPU_TYPE STREQUAL "x86_64")
set(DEFAULT_FLOATTEST8 no-fp-contract)
endif()
-elseif(CPU_TYPE STREQUAL "powerpc" OR CPU_TYPE STREQUAL "arm64")
+elseif(CPU_TYPE STREQUAL "powerpc" OR CPU_TYPE STREQUAL "arm64" OR CPU_TYPE STREQUAL "loongarch64" OR CPU_TYPE STREQUAL "riscv64")
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
if(CMAKE_C_COMPILER_VERSION VERSION_EQUAL 14.0.0 OR
CMAKE_C_COMPILER_VERSION VERSION_GREATER 14.0.0)
@@ -968,7 +968,7 @@
if(CPU_TYPE STREQUAL "x86_64")
set(DEFAULT_FLOATTEST12 no-fp-contract)
-elseif(CPU_TYPE STREQUAL "powerpc" OR CPU_TYPE STREQUAL "arm64")
+elseif(CPU_TYPE STREQUAL "powerpc" OR CPU_TYPE STREQUAL "arm64" OR CPU_TYPE STREQUAL "loongarch64" OR CPU_TYPE STREQUAL "riscv64")
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
if(CMAKE_C_COMPILER_VERSION VERSION_EQUAL 14.0.0 OR
CMAKE_C_COMPILER_VERSION VERSION_GREATER 14.0.0)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/libjpeg-turbo.git
[email protected]:src-openeuler/libjpeg-turbo.git
src-openeuler
libjpeg-turbo
libjpeg-turbo
master

搜索帮助