From edb56d4c62ae865be24e1fb81c7657d42a27c355 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Mon, 17 Jan 2022 08:33:17 +0100 Subject: databases/clickhouse: Update to 21.12.3.32 Changes: https://github.com/ClickHouse/ClickHouse/compare/v21.7.4.18-stable...v21.12.3.32-stable Reported by: maintainer --- .../files/patch-contrib_rocksdb_util_crc32c.cc | 38 ---------------------- 1 file changed, 38 deletions(-) delete mode 100644 databases/clickhouse/files/patch-contrib_rocksdb_util_crc32c.cc (limited to 'databases/clickhouse/files/patch-contrib_rocksdb_util_crc32c.cc') diff --git a/databases/clickhouse/files/patch-contrib_rocksdb_util_crc32c.cc b/databases/clickhouse/files/patch-contrib_rocksdb_util_crc32c.cc deleted file mode 100644 index 1c4a8699b3d2..000000000000 --- a/databases/clickhouse/files/patch-contrib_rocksdb_util_crc32c.cc +++ /dev/null @@ -1,38 +0,0 @@ ---- contrib/rocksdb/util/crc32c.cc.orig 2021-07-21 16:35:20.404459000 +0200 -+++ contrib/rocksdb/util/crc32c.cc 2021-07-22 09:48:10.980923000 +0200 -@@ -41,7 +41,7 @@ - - #endif - --#if defined(__linux__) && defined(HAVE_ARM64_CRC) -+#if (defined(__FreeBSD__) || defined(__linux__)) && defined(HAVE_ARM64_CRC) - bool pmull_runtime_flag = false; - #endif - -@@ -474,7 +474,7 @@ static bool isAltiVec() { - } - #endif - --#if defined(__linux__) && defined(HAVE_ARM64_CRC) -+#if (defined(__FreeBSD__) || defined(__linux__)) && defined(HAVE_ARM64_CRC) - uint32_t ExtendARMImpl(uint32_t crc, const char *buf, size_t size) { - return crc32c_arm64(crc, (const unsigned char *)buf, size); - } -@@ -494,7 +494,7 @@ std::string IsFastCrc32Supported() { - has_fast_crc = false; - arch = "PPC"; - #endif --#elif defined(__linux__) && defined(HAVE_ARM64_CRC) -+#elif (defined(__FreeBSD__) || defined(__linux__)) && defined(HAVE_ARM64_CRC) - if (crc32c_runtime_check()) { - has_fast_crc = true; - arch = "Arm64"; -@@ -1227,7 +1227,7 @@ uint32_t crc32c_3way(uint32_t crc, const char* buf, si - static inline Function Choose_Extend() { - #ifdef HAVE_POWER8 - return isAltiVec() ? ExtendPPCImpl : ExtendImpl; --#elif defined(__linux__) && defined(HAVE_ARM64_CRC) -+#elif (defined(__FreeBSD__) || defined(__linux__)) && defined(HAVE_ARM64_CRC) - if(crc32c_runtime_check()) { - pmull_runtime_flag = crc32c_pmull_runtime_check(); - return ExtendARMImpl; -- cgit v1.2.3