update to 1.1.10
This commit is contained in:
parent
8cc1ee3424
commit
4e4326b706
@ -61,12 +61,11 @@ index c2a838f..5bf7870 100644
|
|||||||
@@ -100,7 +100,7 @@
|
@@ -100,7 +100,7 @@
|
||||||
|
|
||||||
// Inlining hints.
|
// Inlining hints.
|
||||||
#ifdef HAVE_ATTRIBUTE_ALWAYS_INLINE
|
#if HAVE_ATTRIBUTE_ALWAYS_INLINE
|
||||||
-#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE __attribute__((always_inline))
|
-#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE __attribute__((always_inline))
|
||||||
+#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE
|
+#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE
|
||||||
#else
|
#else
|
||||||
#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE
|
#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE
|
||||||
#endif
|
#endif // HAVE_ATTRIBUTE_ALWAYS_INLINE
|
||||||
--
|
--
|
||||||
2.24.4
|
2.24.4
|
||||||
|
|
||||||
|
|||||||
@ -1,26 +0,0 @@
|
|||||||
From 581af0c0a819da2214466e4d30416616966e781d Mon Sep 17 00:00:00 2001
|
|
||||||
From: hanxinke <hanxinke@huawei.com>
|
|
||||||
Date: Tue, 7 Dec 2021 15:47:14 +0800
|
|
||||||
Subject: [PATCH] fix the AdvanceToNextTag fails to be compiled without inline
|
|
||||||
|
|
||||||
Signed-off-by: hanxinke <hanxinke@huawei.com>
|
|
||||||
---
|
|
||||||
snappy.cc | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/snappy.cc b/snappy.cc
|
|
||||||
index 79dc0e8..51157be 100644
|
|
||||||
--- a/snappy.cc
|
|
||||||
+++ b/snappy.cc
|
|
||||||
@@ -1014,7 +1014,7 @@ void MemMove(ptrdiff_t dst, const void* src, size_t size) {
|
|
||||||
}
|
|
||||||
|
|
||||||
SNAPPY_ATTRIBUTE_ALWAYS_INLINE
|
|
||||||
-size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) {
|
|
||||||
+inline size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) {
|
|
||||||
const uint8_t*& ip = *ip_p;
|
|
||||||
// This section is crucial for the throughput of the decompression loop.
|
|
||||||
// The latency of an iteration is fundamentally constrained by the
|
|
||||||
--
|
|
||||||
1.8.3.1
|
|
||||||
|
|
||||||
BIN
snappy-1.1.10.tar.gz
Normal file
BIN
snappy-1.1.10.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
10
snappy.spec
10
snappy.spec
@ -1,6 +1,6 @@
|
|||||||
Name: snappy
|
Name: snappy
|
||||||
Version: 1.1.9
|
Version: 1.1.10
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: A fast compressor/decompressor
|
Summary: A fast compressor/decompressor
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/google/snappy
|
URL: https://github.com/google/snappy
|
||||||
@ -8,7 +8,6 @@ Source0: https://github.com/google/snappy/archive/%{version}/%{name}-%{version}.
|
|||||||
Source1: snappy.pc
|
Source1: snappy.pc
|
||||||
|
|
||||||
Patch0: remove-dependency-on-google-benchmark-and-gmock.patch
|
Patch0: remove-dependency-on-google-benchmark-and-gmock.patch
|
||||||
Patch1: fix-the-AdvanceToNextTag-fails-to-be-compiled-without-inline.patch
|
|
||||||
Patch2: add-option-to-enable-rtti-set-default-to-current-ben.patch
|
Patch2: add-option-to-enable-rtti-set-default-to-current-ben.patch
|
||||||
|
|
||||||
BuildRequires: gcc-c++ make gtest-devel cmake
|
BuildRequires: gcc-c++ make gtest-devel cmake
|
||||||
@ -70,6 +69,11 @@ make test
|
|||||||
%doc NEWS README.md
|
%doc NEWS README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 3 2023 dillon chen<dillon.chen@gmail.com> -1.1.10-1
|
||||||
|
- update version to 1.1.10
|
||||||
|
- Removed patch1(inline.patch) as it's no longer required.
|
||||||
|
- repatch patch2(snappy-stubs-internal.h)
|
||||||
|
|
||||||
* Wed Jun 22 2022 wangzengliang<wangzengliang1@huawei.com> - 1.1.9-2
|
* Wed Jun 22 2022 wangzengliang<wangzengliang1@huawei.com> - 1.1.9-2
|
||||||
- DESC: add option to enable rtti set default to current
|
- DESC: add option to enable rtti set default to current
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user