Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 40180d61e7 | |||
| 8d7cd94689 | |||
| ae54f50589 | |||
| d5d844e547 | |||
| e54974a235 | |||
| 0f382eb9c9 | |||
| b81df99ea4 | |||
| 454fb3d60d | |||
| 897c4bbb15 | |||
| dc4aea2520 | |||
| e2514bc7b0 | |||
| 768e30a6d6 | |||
| 38d866465a | |||
| 4e33e003a1 | |||
| bb9f0b064d | |||
| a7086b93e9 | |||
| d2d8b52247 | |||
| da844afb90 |
@@ -1,2 +0,0 @@
|
||||
ceph-*.tar.*
|
||||
*.src.rpm
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
|
||||
index 65ba10b0f1..eeedc29c37 100644
|
||||
--- a/src/common/CMakeLists.txt
|
||||
+++ b/src/common/CMakeLists.txt
|
||||
@@ -165,7 +165,7 @@ elseif(HAVE_ARMV8_CRC)
|
||||
crc32c_aarch64.c)
|
||||
endif(HAVE_INTEL)
|
||||
|
||||
-add_library(crc32 ${crc32_srcs})
|
||||
+add_library(crc32 STATIC ${crc32_srcs})
|
||||
if(HAVE_ARMV8_CRC)
|
||||
set_target_properties(crc32 PROPERTIES
|
||||
COMPILE_FLAGS "${CMAKE_C_FLAGS} ${ARMV8_CRC_COMPILE_FLAGS}")
|
||||
@@ -1,13 +0,0 @@
|
||||
--- ceph-14.2.6/src/common/bit_str.h.orig 2020-01-24 11:37:20.547679336 -0500
|
||||
+++ ceph-14.2.6/src/common/bit_str.h 2020-01-24 11:37:55.351904895 -0500
|
||||
@@ -14,7 +14,10 @@
|
||||
#ifndef CEPH_COMMON_BIT_STR_H
|
||||
#define CEPH_COMMON_BIT_STR_H
|
||||
|
||||
+#include <cstdint>
|
||||
+#include <iosfwd>
|
||||
#include <functional>
|
||||
+#include <ostream>
|
||||
|
||||
namespace ceph {
|
||||
class Formatter;
|
||||
@@ -1,10 +0,0 @@
|
||||
--- ceph-14.2.6/src/librbd/api/PoolMetadata.h.orig 2020-01-24 12:39:23.738816885 -0500
|
||||
+++ ceph-14.2.6/src/librbd/api/PoolMetadata.h 2020-01-24 12:39:36.522902386 -0500
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "include/rados/librados_fwd.hpp"
|
||||
|
||||
#include <map>
|
||||
+#include <string>
|
||||
|
||||
namespace librbd {
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
--- a/cmake/modules/CheckCxxAtomic.cmake 2020-03-02 12:49:20.000000000 -0500
|
||||
+++ b/cmake/modules/CheckCxxAtomic.cmake 2020-01-29 12:53:56.952149798 -0500
|
||||
@@ -10,18 +10,29 @@
|
||||
check_cxx_source_compiles("
|
||||
#include <atomic>
|
||||
#include <cstdint>
|
||||
+
|
||||
+#if __s390x__
|
||||
+// Boost needs 16-byte atomics for tagged pointers.
|
||||
+// These are implemented via inline instructions on the platform
|
||||
+// if 16-byte alignment can be proven, and are delegated to libatomic
|
||||
+// library routines otherwise. Whether or not alignment is provably
|
||||
+// OK for a std::atomic unfortunately depends on compiler version and
|
||||
+// optimization levels, and also on the details of the expression.
|
||||
+// We specifically test access via an otherwise unknown pointer here
|
||||
+// to ensure we get the most complex case. If this access can be
|
||||
+// done without libatomic, then all accesses can be done.
|
||||
+bool atomic16(std::atomic<unsigned __int128> *ptr)
|
||||
+{
|
||||
+ return *ptr != 0;
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
int main() {
|
||||
std::atomic<uint8_t> w1;
|
||||
std::atomic<uint16_t> w2;
|
||||
std::atomic<uint32_t> w4;
|
||||
std::atomic<uint64_t> w8;
|
||||
-#ifdef __s390x__
|
||||
- // Boost needs 16-byte atomics for tagged pointers.
|
||||
- std::atomic<unsigned __int128> w16;
|
||||
-#else
|
||||
- #define w16 0
|
||||
-#endif
|
||||
- return w1 + w2 + w4 + w8 + w16;
|
||||
+ return w1 + w2 + w4 + w8;
|
||||
}
|
||||
" ${var})
|
||||
endfunction(check_cxx_atomics)
|
||||
@@ -0,0 +1 @@
|
||||
outdated version, no longer supported on el6, obsoleted by packages for el7 in CentOS Storage SIG
|
||||
Reference in New Issue
Block a user