* Better
* Update build.sh
I made it a little bit shorter.
The main value here that you changed negative condition with positive one. That excludes the cases when some error occur in condition. Since some error during calculation a predicate does not mean that predicate is false logically. It means predicate is just failed. Bash is hard in distinguishing such cases.
* Update build.sh
---------
Co-authored-by: Sema Checherinda <104093494+CheSema@users.noreply.github.com>
Right now it works for host platforms because of gcc package, that
includes gcc-cross sysroot.
Use bundled sysroot from contrib instead.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Right now it works for host platforms because of gcc package, that
includes gcc-cross sysroot.
Use bundled sysroot from contrib instead.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
clickhouse-bundle does not includes utils, and to avoid modifying each
utility it is better to build all, anyway this is not a common build.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
--verbose is supported only for make/install, while 3.16 is OK (ubuntu
20.04), newer cmake (3.23) does not, and simply fails:
# cmake --debug-trycompile --verbose=1 /foo
debug trycompile on
CMake Error: Unknown argument --verbose=1
CMake Error: Run 'cmake --help' for all supported options.
And this is how it works with 3.16:
# cmake --debug-trycompile --verbose=1 /foo
debug trycompile on
CMake Error: The source directory "/foo" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Anyway this script sets CMAKE_VERBOSE_MAKEFILE, and this is what
--verbose does.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>