Last active
January 30, 2025 18:55
-
-
Save mkmkme/61ed654f5621d68b8cfcd2e32a006baa to your computer and use it in GitHub Desktop.
ch-envrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CC=/usr/bin/clang | |
export CXX=/usr/bin/clang++ | |
export CMAKE_EXPORT_COMPILE_COMMANDS=ON | |
export CMAKE_GENERATOR=Ninja | |
export CMAKE_BUILD_PARALLEL_LEVEL=$(nproc) | |
export CMAKE_C_COMPILER_LAUNCHER=sccache | |
export CMAKE_CXX_COMPILER_LAUNCHER=sccache | |
export CMAKE_BUILD_TYPE=RelWithDebInfo | |
_ch_root=$(git rev-parse --show-toplevel) | |
export CLICKHOUSE_TESTS_BASE_CONFIG_DIR="$_ch_root"/programs/server | |
export CLICKHOUSE_TESTS_SERVER_BIN_PATH="$_ch_root"/build/programs/clickhouse | |
export CLICKHOUSE_TESTS_ODBC_BRIDGE_BIN_PATH="$_ch_root"/build/programs/clickhouse-odbc-bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment