mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-13 11:04:10 +00:00
85d783c247
* Remove config_common.h * Refactor libcpuid contrib * Remove support for libcpuinfo * Define USE_CPUID in Arcadia * Refactor Poco libraries
51 lines
877 B
Makefile
51 lines
877 B
Makefile
LIBRARY()
|
|
|
|
ADDINCL(
|
|
GLOBAL clickhouse/base
|
|
contrib/libs/cctz/include
|
|
)
|
|
|
|
CFLAGS (GLOBAL -DARCADIA_BUILD)
|
|
|
|
CFLAGS (GLOBAL -DUSE_CPUID=1)
|
|
CFLAGS (GLOBAL -DUSE_JEMALLOC=0)
|
|
|
|
IF (OS_DARWIN)
|
|
CFLAGS (GLOBAL -DOS_DARWIN)
|
|
ELSEIF (OS_FREEBSD)
|
|
CFLAGS (GLOBAL -DOS_FREEBSD)
|
|
ELSEIF (OS_LINUX)
|
|
CFLAGS (GLOBAL -DOS_LINUX)
|
|
ENDIF ()
|
|
|
|
PEERDIR(
|
|
contrib/libs/cctz/src
|
|
contrib/libs/cxxsupp/libcxx-filesystem
|
|
contrib/libs/poco/Net
|
|
contrib/libs/poco/Util
|
|
contrib/restricted/boost
|
|
contrib/restricted/cityhash-1.0.2
|
|
)
|
|
|
|
SRCS(
|
|
argsToConfig.cpp
|
|
coverage.cpp
|
|
DateLUT.cpp
|
|
DateLUTImpl.cpp
|
|
demangle.cpp
|
|
getFQDNOrHostName.cpp
|
|
getMemoryAmount.cpp
|
|
getThreadId.cpp
|
|
JSON.cpp
|
|
LineReader.cpp
|
|
mremap.cpp
|
|
phdr_cache.cpp
|
|
preciseExp10.cpp
|
|
setTerminalEcho.cpp
|
|
shift10.cpp
|
|
sleep.cpp
|
|
terminalColors.cpp
|
|
)
|
|
|
|
END()
|