!34 add loongarch64 support

From: @huajingyun 
Reviewed-by: @licihua 
Signed-off-by: @licihua
This commit is contained in:
openeuler-ci-bot 2022-11-19 06:39:32 +00:00 committed by Gitee
commit ad02705552
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 32 additions and 1 deletions

View 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

View File

@ -1,6 +1,6 @@
Name: icu Name: icu
Version: 72.1 Version: 72.1
Release: 1 Release: 2
Summary: International Components for Unicode Summary: International Components for Unicode
License: MIT and UCD and Public Domain License: MIT and UCD and Public Domain
URL: http://site.icu-project.org/ URL: http://site.icu-project.org/
@ -13,6 +13,7 @@ Requires: lib%{name} = %{version}-%{release}
Patch1: gennorm2-man.patch Patch1: gennorm2-man.patch
Patch2: icuinfo-man.patch Patch2: icuinfo-man.patch
Patch3: backport-remove-TestJitterbug6175.patch Patch3: backport-remove-TestJitterbug6175.patch
Patch4: 0001-add-support-loongarch64.patch
%description %description
Tools and utilities for developing with icu. 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 %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 * Sat Nov 15 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 72.1-1
- update to icu4c-72.1 - update to icu4c-72.1