Merge pull request #2899 from proller/fix3

Try fix build (link order)
This commit is contained in:
alexey-milovidov 2018-08-20 21:46:44 +03:00 committed by GitHub
commit 5b81fdfc0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 11 additions and 14 deletions

View File

@ -151,7 +151,7 @@ endif ()
if (USE_INTERNAL_LLVM_LIBRARY) if (USE_INTERNAL_LLVM_LIBRARY)
# ld: unknown option: --color-diagnostics # ld: unknown option: --color-diagnostics
if (APPLE AND COMPILER_GCC) if (APPLE)
set (LINKER_SUPPORTS_COLOR_DIAGNOSTICS 0 CACHE INTERNAL "") set (LINKER_SUPPORTS_COLOR_DIAGNOSTICS 0 CACHE INTERNAL "")
endif () endif ()
add_subdirectory (llvm/llvm) add_subdirectory (llvm/llvm)

View File

@ -157,6 +157,7 @@ target_link_libraries (dbms
${RE2_LIBRARY} ${RE2_LIBRARY}
${RE2_ST_LIBRARY} ${RE2_ST_LIBRARY}
${BTRIE_LIBRARIES} ${BTRIE_LIBRARIES}
${Boost_PROGRAM_OPTIONS_LIBRARY}
) )
if (NOT USE_INTERNAL_RE2_LIBRARY) if (NOT USE_INTERNAL_RE2_LIBRARY)

View File

@ -6,7 +6,7 @@
#include <memory> #include <memory>
#include <common/logger_useful.h> #include <common/logger_useful.h>
#include <Common/CurrentMetrics.h> #include <Common/CurrentMetrics.h>
#include <Common/BackgroundSchedulePool.h> #include <Core/BackgroundSchedulePool.h>
namespace ProfileEvents namespace ProfileEvents

View File

@ -1,4 +1,4 @@
#include <Common/BackgroundSchedulePool.h> #include "BackgroundSchedulePool.h"
#include <Common/MemoryTracker.h> #include <Common/MemoryTracker.h>
#include <Common/CurrentMetrics.h> #include <Common/CurrentMetrics.h>
#include <Common/Exception.h> #include <Common/Exception.h>

View File

@ -1,21 +1,18 @@
#include <map> #include <map>
#include <set> #include <set>
#include <boost/functional/hash/hash.hpp> #include <boost/functional/hash/hash.hpp>
#include <Poco/Mutex.h> #include <Poco/Mutex.h>
#include <Poco/File.h> #include <Poco/File.h>
#include <Poco/UUID.h> #include <Poco/UUID.h>
#include <Poco/Net/IPAddress.h> #include <Poco/Net/IPAddress.h>
#include <common/logger_useful.h> #include <common/logger_useful.h>
#include <pcg_random.hpp> #include <pcg_random.hpp>
#include <Common/Macros.h> #include <Common/Macros.h>
#include <Common/escapeForFileName.h> #include <Common/escapeForFileName.h>
#include <Common/setThreadName.h> #include <Common/setThreadName.h>
#include <Common/Stopwatch.h> #include <Common/Stopwatch.h>
#include <Common/formatReadable.h> #include <Common/formatReadable.h>
#include <Common/BackgroundSchedulePool.h> #include <Core/BackgroundSchedulePool.h>
#include <Formats/FormatFactory.h> #include <Formats/FormatFactory.h>
#include <Databases/IDatabase.h> #include <Databases/IDatabase.h>
#include <Storages/IStorage.h> #include <Storages/IStorage.h>

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#include <thread> #include <thread>
#include <Common/BackgroundSchedulePool.h> #include <Core/BackgroundSchedulePool.h>
#include <Common/ZooKeeper/Types.h> #include <Common/ZooKeeper/Types.h>
#include <Core/Types.h> #include <Core/Types.h>
#include <common/logger_useful.h> #include <common/logger_useful.h>

View File

@ -4,10 +4,9 @@
#include <Common/ZooKeeper/Types.h> #include <Common/ZooKeeper/Types.h>
#include <Common/ZooKeeper/ZooKeeper.h> #include <Common/ZooKeeper/ZooKeeper.h>
#include <common/logger_useful.h> #include <common/logger_useful.h>
#include <Common/BackgroundSchedulePool.h> #include <Core/BackgroundSchedulePool.h>
#include <thread> #include <thread>
#include <map> #include <map>
#include <pcg_random.hpp> #include <pcg_random.hpp>

View File

@ -10,7 +10,7 @@
#include <Poco/Event.h> #include <Poco/Event.h>
#include <Core/Types.h> #include <Core/Types.h>
#include <common/logger_useful.h> #include <common/logger_useful.h>
#include <Common/BackgroundSchedulePool.h> #include <Core/BackgroundSchedulePool.h>
namespace DB namespace DB
{ {

View File

@ -10,7 +10,7 @@
#include <Storages/MergeTree/MergeTreeMutationStatus.h> #include <Storages/MergeTree/MergeTreeMutationStatus.h>
#include <Common/ZooKeeper/ZooKeeper.h> #include <Common/ZooKeeper/ZooKeeper.h>
#include <Common/BackgroundSchedulePool.h> #include <Core/BackgroundSchedulePool.h>
namespace DB namespace DB

View File

@ -2,7 +2,7 @@
#include <Poco/Event.h> #include <Poco/Event.h>
#include <common/logger_useful.h> #include <common/logger_useful.h>
#include <Common/BackgroundSchedulePool.h> #include <Core/BackgroundSchedulePool.h>
#include <Core/Types.h> #include <Core/Types.h>
#include <thread> #include <thread>
#include <atomic> #include <atomic>

View File

@ -23,7 +23,7 @@
#include <Common/randomSeed.h> #include <Common/randomSeed.h>
#include <Common/ZooKeeper/ZooKeeper.h> #include <Common/ZooKeeper/ZooKeeper.h>
#include <Common/ZooKeeper/LeaderElection.h> #include <Common/ZooKeeper/LeaderElection.h>
#include <Common/BackgroundSchedulePool.h> #include <Core/BackgroundSchedulePool.h>
namespace DB namespace DB