a) the build script aborts anyways if CMake is too old
b) our minimally required version is >3 years old, so the chance of an
abort due to outdated CMake is fairly low
c) removing the hint to check the version removes the need to constantly
update the version in the docs
Without ADDITIONAL_CLEAN_FILES it reports an error:
Cleaning... ninja: error: remove(contrib/llvm/llvm/NATIVE): Directory not empty
ninja: error: remove(/bld/contrib/llvm/llvm/NATIVE): Directory not empty
0 files.
Note, that ADDITIONAL_CLEAN_FILES had been added since cmake 3.15.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
- Inspired by #38684, this commit removes the list of used third-party
libraries + licenses from the development documentation.
- The tips how to speed up the build is independent of the OS. Move it
from the "Linux" section to the "Getting Started" guide. Also extend
it with further useful build options to make the build faster.
When it had been added, initially, it was autogenerated - #14711
Later, after documentation rework, it had been removed, in #37441.
And this makes documentation out dated, and out dated documentation may
provide more harm then help, so let's remove it.
Also it has links to the code in github that does not contain commit
SHA1, so those links may point in the wrong place.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit migrates ClickHouse to Vectorscan. The first 10 min of
[0] explain the reasons for it.
(*) Addresses (but does not resolve) #38046
(*) Config parameter names (e.g. "max_hyperscan_regexp_length") are
preserved for compatibility. Likewise, error codes (e.g.
"ErrorCodes::HYPERSCAN_CANNOT_SCAN_TEXT") and function/class names (e.g.
"HyperscanDeleter") are preserved as vectorscan aims to be a drop-in
replacement.
[0] https://www.youtube.com/watch?v=KlZWmmflW6M
- list-licenses.sh assumed GNU versions (e.g. the "-printf" flag of
find) but Mac ships with a non-GNU version
- this led to error
[8677/8942] Generating StorageSystemLicenses.generated.cpp
find: -printf: unknown primary or operator
find: -printf: unknown primary or operator
find: -printf: unknown primary or operator
find: -printf: unknown primary or operator
during build and as a result, an empty system.licenses table
- As a fix, force the GNU versions of find and grep on Mac