!16 [sync] PR-12: add sw_64 support
From: @openeuler-sync-bot Reviewed-by: @liqingqing_1229 Signed-off-by: @liqingqing_1229
This commit is contained in:
commit
98d9d1fe58
25
double-conversion-3.1.5-add-sw64-support.patch
Normal file
25
double-conversion-3.1.5-add-sw64-support.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 71242ada1f48005fc37ae3a98eda0536fa8de8f8 Mon Sep 17 00:00:00 2001
|
||||
From: mahailiang <mahailiang@uniontech.com>
|
||||
Date: Thu, 14 Nov 2024 17:03:06 +0800
|
||||
Subject: [PATCH] add sw64 support
|
||||
|
||||
---
|
||||
double-conversion/utils.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/double-conversion/utils.h b/double-conversion/utils.h
|
||||
index 72f1df8..0bea0d6 100644
|
||||
--- a/double-conversion/utils.h
|
||||
+++ b/double-conversion/utils.h
|
||||
@@ -93,7 +93,7 @@ int main(int argc, char** argv) {
|
||||
#if defined(_M_X64) || defined(__x86_64__) || \
|
||||
defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
|
||||
defined(__hppa__) || defined(__ia64__) || \
|
||||
- defined(__loongarch64) || \
|
||||
+ defined(__loongarch64) || defined(__sw_64__) || \
|
||||
defined(__mips__) || \
|
||||
defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
|
||||
defined(_POWER) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -3,12 +3,13 @@
|
||||
Summary: Library providing binary-decimal and decimal-binary routines for IEEE doubles
|
||||
Name: double-conversion
|
||||
Version: 3.1.5
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: BSD
|
||||
URL: https://github.com/google/double-conversion
|
||||
Source0: https://github.com/google/double-conversion/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: gcc gcc-c++ cmake
|
||||
Patch1: double-conversion-3.1.5-add-loongarch-support.patch
|
||||
Patch2: double-conversion-3.1.5-add-sw64-support.patch
|
||||
|
||||
%description
|
||||
Provides binary-decimal and decimal-binary routines for IEEE doubles.
|
||||
@ -85,6 +86,9 @@ popd
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Mar 12 2025 mahailiang <mahailiang@uniontech.com> - 3.1.5-3
|
||||
- Add sw_64 support
|
||||
|
||||
* Tue Nov 8 2022 WenlongZhang <zhangwenlong@loongson.cn> - 3.1.5-2
|
||||
- Add loongarch support.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user