From cfc41e1a640c779e0d1f198ccb0ee2a5bd52ebdd Mon Sep 17 00:00:00 2001 From: pyos Date: Mon, 7 May 2018 19:14:00 +0300 Subject: [PATCH] Copy changes from LLVM {5,6} CMakeLists to 7 --- dbms/src/Server/Compiler-7.0.0/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dbms/src/Server/Compiler-7.0.0/CMakeLists.txt b/dbms/src/Server/Compiler-7.0.0/CMakeLists.txt index 7114fb785cb..c6e725d3bad 100644 --- a/dbms/src/Server/Compiler-7.0.0/CMakeLists.txt +++ b/dbms/src/Server/Compiler-7.0.0/CMakeLists.txt @@ -10,11 +10,6 @@ target_compile_options(clickhouse-compiler-lib PRIVATE -fno-rtti -fno-exceptions llvm_map_components_to_libnames(REQUIRED_LLVM_LIBRARIES all) -# We link statically with zlib, and LLVM (sometimes) tries to bring its own dependency. -list(REMOVE_ITEM REQUIRED_LLVM_LIBRARIES "-lz") -# Wrong library in freebsd: -list(REMOVE_ITEM REQUIRED_LLVM_LIBRARIES "-l/usr/lib/libexecinfo.so") - message(STATUS "Using LLVM ${LLVM_VERSION}: ${LLVM_INCLUDE_DIRS} : ${REQUIRED_LLVM_LIBRARIES}") target_include_directories(clickhouse-compiler-lib PRIVATE ${LLVM_INCLUDE_DIRS})