From 7fb79939002c240b9b6346bebbeed394c20fa92d Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Thu, 5 Feb 2015 03:33:58 +0300 Subject: [PATCH] dbms: fixed error with creating headers for dynamic compilation [#METR-2944]. --- copy_headers.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/copy_headers.sh b/copy_headers.sh index 463a2ed535f..abce4224904 100755 --- a/copy_headers.sh +++ b/copy_headers.sh @@ -20,8 +20,9 @@ DST=${2:-$SOURCE_PATH/../headers}; PATH="/usr/local/bin:/usr/local/sbin:/usr/bin:$PATH" +# Опция -mcx16 для того, чтобы выбиралось больше заголовочных файлов (с запасом). -for i in $(clang -M -xc++ -std=gnu++1y -Wall -Werror -msse4 -mpopcnt -O3 -g -fPIC \ +for i in $(clang -M -xc++ -std=gnu++1y -Wall -Werror -msse4 -mcx16 -mpopcnt -O3 -g -fPIC \ $(cat "$SOURCE_PATH/CMakeLists.txt" | grep include_directories | grep -v METRICA_BINARY_DIR | sed -e "s!\${METRICA_SOURCE_DIR}!$SOURCE_PATH!; s!include_directories (!-I !; s!)!!;" | tr '\n' ' ') \ "$SOURCE_PATH/dbms/include/DB/Interpreters/SpecializedAggregator.h" | tr -d '\\' |