Commit Graph

473 Commits

Author SHA1 Message Date
Robert Schulze
7c11f41038
Removed funny objcopy/strip finding logic on Apple
On Darwin, the build script tries to
1. use llvm-objcopy/llvm-strip from $PATH,
2. if not found by 1., use standard objcopy/strip from $PATH

The brew install instructions recommends to set $PATH to brew's binary
dir, so 2. will find something (assuming binutils is installed from
brew). If $PATH additionally points to brew's LLVM binary dir (which is
different from brew's binary dir), 1. will find the llvm versions of the
tools.

This commit removes additional logic which repeats above steps in a more
implicit way by calling brew internally and figuring out the paths once
more if 1. and 2. cannot find them in the $PATH. This removes
duplication and simplifies the script. Maybe it even helps with
reproducibility.
2022-05-15 16:06:54 +02:00
Robert Schulze
1c127bbe09
Make color output a CMake option and fix setting for makefile generator
- Variable CMAKE_BUILD_COLOR_MAKEFILE has no effect (perhaps it had in
  ancient CMake), the actual variable is called CMAKE_COLOR_MAKEFILE
2022-05-15 09:48:02 +02:00
Robert Schulze
a15dacf80f
Simplify and update MacOS build instructions
- instead of repeating Homebrew's installation steps (which may become
  outdated), just point to their homepage

- Specify CC and CXX env variables instead of internal CMake variables,
  CMake figure out paths to ar, ranlib and objcopy automatically

- use -S and -B parameters available in recent CMake versions to build
  directly from the source directory
2022-05-12 11:45:58 +02:00
Rich Raposa
ee0cef3576
Merge pull request #37118 from ClickHouse/test-doc-update
Mini update of testing guide
2022-05-11 07:22:33 -06:00
Robert Schulze
f07d4177a5
Small update of testing guide
- the guide talked about 'testmode' but that doesn't seem to exist
  anymore (grep for it ...), and the command works w/o 'testmode'

- also replaced parameter '-n' by its full form '--multiquery' for
  readability
  '
2022-05-11 14:38:16 +02:00
Robert Schulze
7bef3843ce
Recommend syntactic sugar for better readability in code style 2022-05-08 08:44:22 +02:00
Robert Schulze
a6e22c9379
Revert "Mention suppression in stylecheck error + document in style guide"
This reverts commit ef0d9ca468.
2022-05-08 08:35:10 +02:00
Robert Schulze
ef0d9ca468
Mention suppression in stylecheck error + document in style guide 2022-05-06 09:43:00 +02:00
Sergei Trifonov
08688332bd
more info + fixes 2022-05-03 11:22:07 +02:00
Sergei Trifonov
98168cfc8f
Add docs for developers on threads and jobs 2022-05-02 19:47:15 +02:00
Alexey Milovidov
88826e2da5 Remove "preconditions" from performance tests (overengineering, unneeded feature) 2022-05-02 02:33:22 +02:00
Sergei Trifonov
6b7d3ce739
Merge pull request #36670 from ClickHouse/serxa-dev-config-docs
documentation on how configuration is implemented
2022-04-28 15:42:33 +02:00
mergify[bot]
afd82a68f9
Merge branch 'master' into clang-tidy-cleanup 2022-04-27 02:30:02 +00:00
Ivan Blinkov
c0ee49920f
[docs] title doesn't need a period + make it shorter (#36678) 2022-04-26 21:09:03 +03:00
Sergei Trifonov
f17aea145c
documentation on how configuration is implemented 2022-04-26 14:07:11 +02:00
Robert Schulze
718a173ce9
Merge remote-tracking branch 'origin/master' into clang-tidy-cleanup
Conflicts:
- cmake/clang_tidy.cmake
2022-04-26 09:42:47 +02:00
Robert Schulze
15e75e79e4
analysis.cmake --> clang_tidy.cmake 2022-04-26 09:41:56 +02:00
Robert Schulze
017fde4136
Update required CMake version in build.md 2022-04-25 12:48:54 +02:00
Alexey Milovidov
27d02e2689
Merge pull request #36592 from ClickHouse/rfraposa-patch-3
Add cmake page back to docs && fix /settings/settings in /zh
2022-04-25 03:24:07 +03:00
rfraposa
06ac99b1e7 Add cmake page back to docs && fix /settings/settings in /zh 2022-04-24 16:47:19 -06:00
Alexey Milovidov
4f70416cc7
Update integrating_rust_libraries.md 2022-04-25 01:34:06 +03:00
BoloniniD
9ddff37273 Start docs for Rust integration 2022-04-20 18:33:56 +03:00
rfraposa
3642977fc8 Force the workflow action 2022-04-19 17:07:14 -06:00
Mikhail f. Shiryaev
1ee05116f7
Move symlinks to clickhouse-docs, restore development/index.md 2022-04-19 21:52:21 +02:00
rfraposa
6576fd88c1 EOL fixes 2022-04-19 13:50:45 -06:00
rfraposa
1afe4300e8 Fixed broken links 2022-04-11 09:55:54 -06:00
rfraposa
d9e6f780db Fixed broken links 2022-04-10 23:01:34 -06:00
rfraposa
8f01fe9c49 Revised /en folder 2022-04-09 07:34:21 -06:00
rfraposa
5250d9ad11 Removed /ja folder, cleaned up /ru markdown 2022-04-09 07:29:05 -06:00
Alexey Milovidov
9854b55835
Revert "Format changes for new docs" 2022-04-04 02:05:35 +03:00
rfraposa
72a00e2c62 Fixed broken links 2022-04-02 17:38:54 -06:00
Alexey Milovidov
93edf05259
Merge branch 'master' into llvm-14 2022-04-01 04:49:03 +03:00
rfraposa
560471f991 Update /sql-reference docs 2022-03-29 22:06:21 -06:00
rfraposa
33e28bcb18 Updated /development folder 2022-03-29 08:26:35 -06:00
rfraposa
a5c7a947ad Merge branch 'master' of github.com:rfraposa/ClickHouse 2022-03-28 23:09:52 -06:00
rfraposa
c05bf7beb4 Testing new /en folder 2022-03-28 23:09:17 -06:00
Mikhail f. Shiryaev
64254915c4
Update development documentation about code style 2022-03-22 17:40:12 +01:00
Alexey Milovidov
159a73b6d5 Merge branch 'master' into llvm-14 2022-03-20 22:50:20 +01:00
Alexey Milovidov
21b7a1cba4
Merge pull request #35268 from rschu1ze/mac-debugger-docs
Document LLDB setup for debugging
2022-03-20 21:54:35 +03:00
Robert Schulze
cc89df1e09
Document LLDB setup for debugging 2022-03-14 14:21:59 +01:00
rfraposa
ecbdfdea08 Incorporated feedback 2022-03-12 10:04:51 -06:00
rfraposa
5a4466cec7 Update references in docs 2022-03-12 00:24:31 -06:00
Alexey Milovidov
99f081d17e Adapted example 2022-03-12 00:42:34 +01:00
Ivan Blinkov
ad8473d5b6
[docs] update continuous-integration.md (#35218)
* Update continuous-integration.md

* Update continuous-integration.md
2022-03-11 23:41:19 +03:00
kashwy
bd7e48e87c Upgrade icu to icu-release-70-1
upgrade due to vulnerabilities of WS-2019-0513 and CVE-2020-10531
2022-03-08 21:37:26 -08:00
alesapin
9e44390974
Merge pull request #34971 from ClickHouse/fix-codebrowser-links
Move codebrowser out of Yandex
2022-03-02 13:42:32 +01:00
Alexey Milovidov
c82ca34df9 Move codebrowser out of Yandex 2022-03-01 20:15:43 +01:00
Robert Schulze
8bee053175
Remove redundant content in Linux build docs
The same information about split builds existed twice in the document.
This change merges both places into one.
2022-02-28 22:07:37 +01:00
alexey-milovidov
c624a530cc
Update style.md 2022-02-25 21:51:39 +03:00
alexey-milovidov
22a01c077a
Update style.md 2022-02-25 21:49:24 +03:00
alexey-milovidov
2a062d414b
Update style.md 2022-02-25 21:48:18 +03:00
Alexey Milovidov
aa8f282ad9 Switch to clang/llvm 14 2022-02-19 18:43:02 +01:00
alexey-milovidov
25c75649fe
Update build.md 2022-02-19 19:20:47 +03:00
alexey-milovidov
d8af2dfba0
Update build.md 2022-02-19 19:19:34 +03:00
alexey-milovidov
42313befd3
Update build.md 2022-02-19 19:19:07 +03:00
alexey-milovidov
b9a377c890
Update build.md 2022-02-18 20:01:44 +03:00
alesapin
8a0153b6d3
Merge pull request #34606 from qoega/no-clickhouse-test-deb
Remove clickhouse-test deb completely
2022-02-17 18:13:44 +03:00
Mikhail f. Shiryaev
c3bf9eb2f9
Remove PVS test 2022-02-17 12:59:47 +01:00
Yatsishin Ilya
bbe2c07a7b remove clickhouse-test deb completely 2022-02-15 12:03:51 +00:00
alexey-milovidov
d4eb0de663
Update developer-instruction.md 2022-02-01 05:29:42 +03:00
Azat Khuzhin
c3ac1f9763 docs/en/development/build-cross-riscv.md: cleanup USE_INTERNAL_XXX 2022-01-20 10:02:01 +03:00
Maksim Kita
0206b75422 MacOS build documentation fix 2022-01-15 23:31:22 +00:00
alexey-milovidov
4b55884295
Merge pull request #33455 from ramazanpolat/patch-2
mention async insert
2022-01-14 01:14:03 +03:00
Natasha Murashkina
7b7eec6141
Specify clang version for CC / CXX bc no symlinks
The proposed script for installing clang (sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)) doesn't automatically create symlinks from clang-XX to clang. Thus we need to either specify the version like clang-13 or instruct the user to create symlinks. I think the former is easier.
2022-01-11 10:24:09 +03:00
Ramazan Polat
dfe103cdbe
mention async insert 2022-01-07 19:48:01 +03:00
alexey-milovidov
851f5a11d5
Update tests.md 2021-12-19 08:04:55 +03:00
alexey-milovidov
492cc94c38
Update tests.md 2021-12-19 08:04:06 +03:00
alexey-milovidov
7f5ac732ef
Update tests.md 2021-12-19 08:03:14 +03:00
Ivan Blinkov
7ebd4498b6
[docs] update development/tests.md according to recent changes 2021-12-13 21:13:56 +03:00
Vladimir C
8ccbaa8b4f
Apply suggestions from code review 2021-12-01 10:54:57 +03:00
qianmoQ
355b05f4b4 Merge remote-tracking branch 'origin/master' into pr-fix
# Conflicts:
#	docs/zh/development/continuous-integration.md
2021-12-01 15:37:19 +08:00
alexey-milovidov
a7de366741
Merge pull request #31957 from traceon/macos-fixes
Give some love to macOS platform
2021-11-30 04:15:32 +03:00
Denis Glazachev
27f8fa18ca Adjust the docs and naming 2021-11-26 20:10:34 +03:00
alexey-milovidov
26f72033f2
Update build.md 2021-11-26 03:59:13 +03:00
alexey-milovidov
341f705419
Merge pull request #30599 from ClickHouse/zlib-ng-own-cmake
Use our own CMakeLists for `zlib-ng`, `cassandra`, `mariadb-connector-c` and `xz`, `re2`, `sentry`, `gsasl`, `arrow`, `protobuf`.
2021-11-23 13:33:29 +03:00
alexey-milovidov
8e69c66c1b
Update build-cross-osx.md 2021-11-21 23:38:47 +03:00
alexey-milovidov
b6a01b994a
Update build-cross-osx.md 2021-11-21 23:24:28 +03:00
alexey-milovidov
fc194d8495
Update build-cross-osx.md 2021-11-21 23:15:41 +03:00
alexey-milovidov
d958528d11
Update build-cross-osx.md 2021-11-21 23:15:26 +03:00
Natasha Murashkina
7eeffc233a
Update developer-instruction.md
Added the missing --recursive flag for cloning submodules.
The text says "specify the `--recursive` flag as in the example above" but the flag wasn't there in the example
2021-11-21 16:07:38 +03:00
Alexey Milovidov
d604cf5573 Remove the infamous "unbundled" build 2021-11-21 13:58:26 +03:00
cgp
3a814d5a2c replace link of List of tasks 2021-11-18 01:40:32 +08:00
qianmoQ
96e04c62c2
Merge branch 'ClickHouse:master' into pr-fix 2021-11-16 10:34:46 +08:00
Alexey Milovidov
2d57bba4ca Fix typo 2021-11-14 00:47:23 +03:00
Vladimir Smirnov
48451182f8 Initial support for risc-v
Make ClickHouse compilable and runnable on risc-v 64

So far only basic functionality was tested (on real hw),
clickhouse server runs, exceptions works, client works,
simple tests works.

What doesn't work:
 1. traces - they are always empty
 2. system.stack_trace only have first frame
2021-11-11 19:23:34 +01:00
qianmoQ
c04510d864 Resolve conversation 2021-11-01 13:09:11 +08:00
qianmoQ
538d89a7eb pr continuous integration 2021-10-27 20:27:28 +08:00
alexey-milovidov
44ac1b76d1
Update build-osx.md 2021-10-23 07:05:24 +03:00
Alexey Milovidov
2cef9983fa Remove recursive submodules 2021-10-18 02:29:04 +03:00
alexey-milovidov
f2d97e3225
Update build-cross-arm.md 2021-10-11 14:53:12 +03:00
alexey-milovidov
467b45f3b5
Update build-cross-arm.md 2021-10-11 14:52:44 +03:00
alexey-milovidov
0ca8660af6
Update build-cross-arm.md 2021-10-11 14:52:31 +03:00
Alexey Milovidov
e9e77b4403 .tech -> .com 2021-09-22 03:22:57 +03:00
Ken MacInnis
3193a5f660
Update build-osx.md
update instructions for `maxfiles` plist file use
2021-09-21 08:55:52 -07:00
Ivan Blinkov
6a293d73f9 make_links.sh 2021-09-20 09:51:41 +03:00
Ivan Blinkov
f429db1ee9 find . -type f -name '*.md'| xargs -I{} perl -pi -e 's|https://clickhouse.tech|https://clickhouse.com|g' {} 2021-09-19 23:05:54 +03:00
Sergei Semin
12e24a23d3
Merge branch 'master' into fix-build-clang-13-2 2021-09-12 19:30:55 +03:00
Sergei Semin
b739d1cc92 make changes analog to https://github.com/ClickHouse/ClickHouse/pull/20495/files but for clang-13 2021-09-09 23:51:47 +03:00
Nikita Mikhaylov
107710e618 save 2021-09-08 15:06:15 +00:00
Ilya Yatsishin
7f7ecb0c60
Merge branch 'master' into try-llvm-12 2021-08-26 18:58:49 +03:00
gyuton
efeefcb437
DOCSUP-11587: Edited and translated to Russian (#27066)
* First Draft.

* Apply suggestions from code review

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Edited conrib.md

* Edited configuration-files.md

* Minor fixes

* Apply suggestions from code review

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/development/contrib.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Small changes

Co-authored-by: George <gyuton@yandex-team.ru>
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-25 13:23:18 +03:00
mergify[bot]
bde834a8c0
Merge branch 'master' into try-llvm-12 2021-08-19 18:21:29 +00:00
Raúl Marín
4545cc91fc Add a note about split build drawbacks 2021-08-11 11:26:18 +02:00
Yatsishin Ilya
9145dd3fd0 Merge branch 'master' into try-llvm-12 2021-08-06 19:14:01 +03:00
Alexey Milovidov
d87d833691 Remove trailing whitespaces from docs 2021-07-29 18:20:55 +03:00
Raúl Marín
99fb09530e Document how to run gtest individually 2021-07-28 12:15:05 +02:00
romanzhukov
dfa6e207d7 DOCSUP-11551: Add ru contrib info. 2021-07-24 20:27:06 +03:00
romanzhukov
781513e8c2 DOCSUP-11551: Add ru contrib info. 2021-07-21 18:04:41 +03:00
alexey-milovidov
05066ef815
Update developer-instruction.md 2021-07-19 16:14:35 +03:00
Nikita Mikhaylov
625576796c final fix 2021-07-13 10:51:35 +00:00
alexey-milovidov
c88efb85ac
Merge pull request #26105 from myrrc/docs/test-naming-rules
WIP mark subset of tests that depend on specific config modifications
2021-07-13 04:50:58 +03:00
alexey-milovidov
1d86a995a1
Update adding_test_queries.md 2021-07-13 04:50:41 +03:00
alexey-milovidov
f30e614165
Update build.md 2021-07-12 19:21:13 +03:00
Mike Kot
d01af70a00 Idea of adding another test group with possibly broken invariants 2021-07-09 03:02:19 +03:00
Alexey Milovidov
7b94573506 Remove obsolete trash about libraries 2021-07-06 03:31:39 +03:00
alexey-milovidov
575dfa18e1
Update contrib.md 2021-07-06 01:26:11 +03:00
Denis Glazachev
f4fc1d0807 Minor fixes 2021-07-06 01:05:30 +04:00
Denis Glazachev
0241253a8e Guidelines for adding new third-party libraries 2021-07-06 01:05:12 +04:00
Denis Glazachev
9788b0e38a Fix locating objcopy in macOS
Rework clickhouse_embed_binaries() to compile asm files properly and avoid duplicate symbols when linking in macOS
2021-06-26 17:39:02 +04:00
Nikolay Degterinsky
22de14be3f Fixed docs 2021-06-22 14:10:34 +00:00
Nickita
ee7169e547 fix typos in docs 2021-06-14 16:29:07 +03:00
Yatsishin Ilya
46023c4b99 merge remote-tracking branch 'origin' into try-llvm-12 2021-06-03 15:32:22 +03:00
Romain Neutron
dbcd573018
Fix some typos 2021-05-27 21:48:20 +02:00
Romain Neutron
7b515c7235
Avoid short syntax 2021-05-27 21:44:11 +02:00
Yatsishin Ilya
a2e107c0be Merge remote-tracking branch 'origin' into try-llvm-12 2021-05-21 17:42:08 +03:00
wzl
025d65b143 Fix typo in adding_test_queries.md 2021-05-16 15:40:44 +08:00
Yatsishin Ilya
d3b59509b9 Merge remote-tracking branch 'origin' into try-llvm-12 2021-05-12 14:31:58 +03:00
ice1x
d748560991
Update build-osx.md 2021-05-05 19:56:20 +05:00
ice1x
dc595f391e
Add run options with default config path
Add run options with default config path.
Checked on Catalina 10.15.7
2021-05-05 19:35:28 +05:00
Yatsishin Ilya
e523162eda Merge remote-tracking branch 'origin' into try-llvm-12 2021-04-30 13:11:18 +03:00
alexey-milovidov
f552cf7cc6
Update build.md 2021-04-29 06:56:36 +03:00
alexey-milovidov
5d08e20141
Update build.md 2021-04-29 06:54:31 +03:00
Nikolai Kochetov
77233bbdbb Ignore cmake-in-clickhouse 2021-04-28 18:10:12 +03:00
Kseniia Sumarokova
882050cd71
Merge pull request #23519 from adevyatova/annadevyatova-DOCSUP-5911-limit
DOCSUP-5911: Docs for limit and offset settings
2021-04-26 00:25:22 +03:00
Alexey Milovidov
5ae547a61a Remove pbuilder 2021-04-25 06:32:15 +03:00
adevyatova
8dd2335126 remove symbolic link 2021-04-23 19:41:02 +00:00
Alexey Milovidov
8cb0e5579a Remove gcc from docs 2021-04-22 04:20:03 +03:00
Denis Glazachev
9398238f2f ARM to arm64 2021-04-08 19:07:48 +04:00
Denis Glazachev
01d688b154 Remove -DENABLE_JEMALLOC=OFF everywhere as the default value should work
Remove extra '$' in the bach command list to ease copy-pasteing
Adjust comments for alternatives in commands
Add note about ARM (Apple Silicon) support
2021-04-08 19:05:04 +04:00
alexey-milovidov
ca2171695f
Update contrib.md 2021-04-07 17:20:18 +03:00
alexey-milovidov
8e35873f99
Update contrib.md 2021-04-07 17:17:31 +03:00
alexey-milovidov
c19482f4d2
Update contrib.md 2021-04-07 17:17:21 +03:00
alexey-milovidov
fe13708cb0
Update build-osx.md 2021-04-02 21:09:12 +03:00
Denis Glazachev
ea45779f0c Adjust wording 2021-04-02 17:38:17 +04:00
Denis Glazachev
9e342bf9f0 Revisit macOS build instructions 2021-04-02 17:31:20 +04:00
Yatsishin Ilya
7e6cd00cee Try to switch to llvm-12/clang-12 2021-03-24 17:17:59 +03:00
Andrey
34ad5dca53
Merge branch 'master' into docs_kerberos_support 2021-03-19 15:31:55 +03:00
Alexander Kuzmenkov
89e79185a0
Update tests.md 2021-03-17 20:09:29 +03:00
Yatsishin Ilya
68ef0c0b5b better linker flag 2021-03-10 18:06:32 +03:00
zvonand
fbb6a931cc Upd ldap translation 2021-02-24 17:59:47 +05:00