mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Freebsd fixes: fix build with libc++, fix find system lib double-conversion (#1109)
* Cmake: Don't detect and use -no-pie flag with clang * Camke: find_unwind: Fix disable on arm * Freebsd fixes: fix build with libc++, fix find system lib double-conversion
This commit is contained in:
parent
16d6c4f9e7
commit
175cd99288
@ -18,7 +18,7 @@
|
||||
# DOUBLE_CONVERSION_INCLUDE_DIR The location of double-conversion headers
|
||||
|
||||
find_path(DOUBLE_CONVERSION_ROOT_DIR
|
||||
NAMES include/double-conversion.h
|
||||
NAMES include/double-conversion/double-conversion.h
|
||||
)
|
||||
|
||||
find_library(DOUBLE_CONVERSION_LIBRARIES
|
||||
@ -27,7 +27,7 @@ find_library(DOUBLE_CONVERSION_LIBRARIES
|
||||
)
|
||||
|
||||
find_path(DOUBLE_CONVERSION_INCLUDE_DIR
|
||||
NAMES double-conversion.h
|
||||
NAMES double-conversion/double-conversion.h
|
||||
PATHS ${DOUBLE_CONVERSION_ROOT_DIR}/include ${DOUBLE_CONVERSION_INCLUDE_PATHS}
|
||||
)
|
||||
|
||||
|
@ -247,7 +247,7 @@ void ReplicatedMergeTreeCleanupThread::getBlocksSortedByTime(zkutil::ZooKeeperPt
|
||||
if (!status.exists)
|
||||
throw zkutil::KeeperException("A block node was suddenly deleted", ZNONODE);
|
||||
|
||||
cached_block_stats->emplace(elem.first, status.stat);
|
||||
cached_block_stats->emplace(elem.first, RequiredStat(status.stat));
|
||||
timed_blocks.emplace_back(elem.first, RequiredStat(status.stat));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user