add loongarch64 support
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
This commit is contained in:
parent
9559a297c0
commit
2bdb6c413a
27
0001-add-support-loongarch64.patch
Normal file
27
0001-add-support-loongarch64.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From beefaa392eaf51355f9a3806a004c762d1ce17fa Mon Sep 17 00:00:00 2001
|
||||
From: Jingyun Hua <huajingyun@loongson.cn>
|
||||
Date: Fri, 18 Nov 2022 09:00:58 +0000
|
||||
Subject: [PATCH] add support loongarch64
|
||||
|
||||
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
|
||||
---
|
||||
source/i18n/double-conversion-utils.h | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/source/i18n/double-conversion-utils.h b/source/i18n/double-conversion-utils.h
|
||||
index 303668f..77f5ded 100644
|
||||
--- a/source/i18n/double-conversion-utils.h
|
||||
+++ b/source/i18n/double-conversion-utils.h
|
||||
@@ -160,7 +160,8 @@ int main(int argc, char** argv) {
|
||||
defined(__riscv) || defined(__e2k__) || \
|
||||
defined(__or1k__) || defined(__arc__) || defined(__ARC64__) || \
|
||||
defined(__microblaze__) || defined(__XTENSA__) || \
|
||||
- defined(__EMSCRIPTEN__) || defined(__wasm32__)
|
||||
+ defined(__EMSCRIPTEN__) || defined(__wasm32__) || \
|
||||
+ defined(__loongarch__)
|
||||
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
|
||||
#elif defined(__mc68000__) || \
|
||||
defined(__pnacl__) || defined(__native_client__)
|
||||
--
|
||||
2.33.0
|
||||
|
||||
6
icu.spec
6
icu.spec
@ -1,6 +1,6 @@
|
||||
Name: icu
|
||||
Version: 72.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: International Components for Unicode
|
||||
License: MIT and UCD and Public Domain
|
||||
URL: http://site.icu-project.org/
|
||||
@ -13,6 +13,7 @@ Requires: lib%{name} = %{version}-%{release}
|
||||
Patch1: gennorm2-man.patch
|
||||
Patch2: icuinfo-man.patch
|
||||
Patch3: backport-remove-TestJitterbug6175.patch
|
||||
Patch4: 0001-add-support-loongarch64.patch
|
||||
|
||||
%description
|
||||
Tools and utilities for developing with icu.
|
||||
@ -129,6 +130,9 @@ LD_LIBRARY_PATH=lib:stubdata:tools/ctestfw:$LD_LIBRARY_PATH bin/uconv -l
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Nov 18 2022 huajingyun <huajingyun@loongson.cn> - 72.1-2
|
||||
- add loongarch64 support
|
||||
|
||||
* Sat Nov 15 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 72.1-1
|
||||
- update to icu4c-72.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user