Ai
9 Star 0 Fork 6

src-openEuler/sunpinyin
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-add-loongarch64-support.patch 1.71 KB
一键复制 编辑 原始数据 按行查看 历史
haomi123 提交于 2023-08-17 11:34 +08:00 . add loongarch64 support
From e95b947a72b899b4dc737f49d8a8a1e52d6395c0 Mon Sep 17 00:00:00 2001
From: ut004615 <haomimi@uniontech.com>
Date: Thu, 17 Aug 2023 11:21:05 +0800
Subject: [PATCH] add loongarch64 support
---
SConstruct | 3 ++-
SConstruct.python3 | 3 ++-
SConstruct.scons | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/SConstruct b/SConstruct
index 866a729..a2d2bf4 100644
--- a/SConstruct
+++ b/SConstruct
@@ -336,7 +336,8 @@ def AppendEndianCheck(conf):
|| defined(__alpha__) || defined(__ARMEL__) \
|| defined(_MIPSEL) || (defined(__sh__) && defined(__LITTLE_ENDIAN__)) \
|| defined(__riscv) \
- || defined(__AARCH64EL__)
+ || defined(__AARCH64EL__) \
+ || defined(__loongarch64) || defined(__loongarch64__)
# undef WORDS_BIGENDIAN
#else
diff --git a/SConstruct.python3 b/SConstruct.python3
index 7d9dd6f..4b3369f 100644
--- a/SConstruct.python3
+++ b/SConstruct.python3
@@ -335,7 +335,8 @@ def AppendEndianCheck(conf):
|| defined(__alpha__) || defined(__ARMEL__) \
|| defined(_MIPSEL) || (defined(__sh__) && defined(__LITTLE_ENDIAN__)) \
|| defined(__riscv) \
- || defined(__AARCH64EL__)
+ || defined(__AARCH64EL__) \
+ || defined(__loongarch64) || defined(__loongarch64__)
# undef WORDS_BIGENDIAN
#else
diff --git a/SConstruct.scons b/SConstruct.scons
index 530e1f4..241878a 100644
--- a/SConstruct.scons
+++ b/SConstruct.scons
@@ -335,7 +335,8 @@ def AppendEndianCheck(conf):
|| defined(__alpha__) || defined(__ARMEL__) \
|| defined(_MIPSEL) || (defined(__sh__) && defined(__LITTLE_ENDIAN__)) \
|| defined(__riscv) \
- || defined(__AARCH64EL__)
+ || defined(__AARCH64EL__) \
+ || defined(__loongarch64) || defined(__loongarch64__)
# undef WORDS_BIGENDIAN
#else
--
2.27.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/sunpinyin.git
git@gitee.com:src-openeuler/sunpinyin.git
src-openeuler
sunpinyin
sunpinyin
master

搜索帮助