ClickHouse® is a real-time analytics DBMS
Go to file
Roman Tsisyk 3a97fbd0e7 Remove hard-coded paths in Interpreters/Compiler.cpp
Interpreters/Compiler.cpp contained hard-coded paths for system's
includes needed for query compiler. These paths were not portable
between different Linux distros and gcc/clang versions. For example,
Debian/Ubuntu use /usr/lib/gcc/x86_64-linux-gnu/*/include,
RHEL/Fedora use /usr/lib/gcc/x86_64-redhat-linux/*/include,
others use /usr/lib/gcc/*/include (without x86_64-XXX triplet).

Patch 68850012b "Embedded compiler fixes" attempted to fix this problem
by adding CMAKE_LIBRARY_ARCHITECTURE after /usr/lib. Unfortunally,
CMAKE_LIBRARY_ARCHITECTURE is not defined on RHEL/Fedora because someone
decided to omit "-gnu" from x86_64-redhat-linux (see RHBZ#1531678).

Patch 70e35d0bc "Build fixes (#1718)" added a workaround for
undefined CMAKE_LIBRARY_ARCHITECTURE on RHEL/Fedora, but hasn't fixed
problem with missing /usr/lib/gcc/x86_64-redhat-linux/*/include/
in the list of hardcoded paths.

Remove hard-coded paths and get the list of `-isystem` includes directly
from bundled clickhouse-clang.

Other changes:

- Enable RPATH for the build directory to get working binaries
  without installing them by `make install`.
2018-01-09 20:24:25 +03:00
cmake Unbundle contrib/googletest 2018-01-09 20:15:31 +03:00
contrib Update librdkafka with static build fix 2018-01-09 16:41:05 +03:00
dbms Remove hard-coded paths in Interpreters/Compiler.cpp 2018-01-09 20:24:25 +03:00
debian Auto version update to [54331] 2018-01-09 10:46:57 +03:00
docker Locale fixed for client in docker 2017-10-03 22:06:37 +03:00
docs Some progress on website and docs (#1717) 2017-12-29 18:45:21 +03:00
libs Build fixes (#1718) 2017-12-29 18:48:20 +03:00
utils Add system.replicas dum to utils/report/clickhouse_report.sh 2017-12-25 20:17:32 +03:00
website Some progress on website and docs (#1717) 2017-12-29 18:45:21 +03:00
.clang-format clang-format: AlignEscapedNewlinesLeft: true 2017-04-07 16:25:07 +03:00
.editorconfig Changed tabs to spaces in editor configs and in style guide [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
.gitattributes Decreased warning threshold [#MOBMET-3248] 2016-06-07 11:23:15 +03:00
.gitignore Remove hard-coded paths in Interpreters/Compiler.cpp 2018-01-09 20:24:25 +03:00
.gitmodules googletest as submodule 2017-11-25 00:15:24 +03:00
.vimrc Changed tabs to spaces in editor configs and in style guide [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
AUTHORS CLICKHOUSE-2720: progress on website and reference (#886) 2017-06-20 17:19:03 +03:00
CHANGELOG_RU.md Updated changelog [#CLICKHOUSE-3513]. 2017-12-21 20:46:03 +03:00
CHANGELOG.md Applied a change from Emy. 2017-12-22 00:03:36 +03:00
CMakeLists.txt Remove hard-coded paths in Interpreters/Compiler.cpp 2018-01-09 20:24:25 +03:00
CONTRIBUTING.md CLICKHOUSE-2720: progress on website and reference (#886) 2017-06-20 17:19:03 +03:00
copy_headers.sh Fix create dir in copy_headers.sh 2017-12-27 19:56:35 +03:00
docker-compose.yml Updated docker-compose.yml #1025 2017-07-26 20:05:32 +03:00
format_sources allow several <graphite> targets (#603) 2017-03-21 23:08:09 +04:00
format.sh Fool's day changed, continued [#CLICKHOUSE-3]. 2017-04-05 14:52:23 +03:00
LICENSE CLICKHOUSE-2720: progress on website and reference (#886) 2017-06-20 17:19:03 +03:00
MacOS.md update to macOS 2017-08-25 18:38:26 +03:00
README.md Minor website changes (#1465) 2017-11-08 10:32:00 +03:00
release Tune pbuilder for debian 2017-12-28 18:55:50 +03:00
release_lib.sh Miscellaneous [#CLICKHOUSE-2]. 2017-11-12 03:46:22 +03:00

ClickHouse is an open-source column-oriented database management system that allows generating analytical data reports in real time.

Read more...