Commit Graph

163 Commits

Author SHA1 Message Date
Azat Khuzhin
28737a503c Configure rustc compiler properly
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>
2022-12-14 20:57:29 +01:00
Azat Khuzhin
67fa185611
Revert "Builtin skim" 2022-12-14 17:17:19 +03:00
Azat Khuzhin
8570f15688 Configure rustc compiler properly
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>
2022-12-11 15:52:00 +01:00
Yakov Olkhovskiy
78cc2a970d
copy self-extracting to output 2022-08-09 02:40:17 -04:00
Alexander Tokmakov
3bc583c22b
Revert "copy self-extracting to output" 2022-08-08 20:13:40 +03:00
Yakov Olkhovskiy
4c78f0fc7d
Merge branch 'master' into ci-self-extracting-s3-deployment 2022-08-05 08:14:48 -04:00
Mikhail f. Shiryaev
8533769132
Use compression and cleanup with the recent version ccache 2022-08-03 14:49:07 +02:00
Azat Khuzhin
4b0594633b Build utils on CI when they was requested
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>
2022-07-29 11:36:51 +03:00
Azat Khuzhin
2901ddc217 Remove --verbose=1 for cmake on configuration stage
--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>
2022-07-29 11:36:51 +03:00
Yakov Olkhovskiy
f91a0935cd
check existence of compressed clickhouse 2022-07-27 09:00:05 -04:00
Yakov Olkhovskiy
0720936c2d
rewrite original clickhouse with compressed one 2022-07-26 09:16:31 -04:00
Yakov Olkhovskiy
c05c32e823
copy self-extracting to output 2022-07-26 08:41:36 -04:00
Azat Khuzhin
1ef9910453 Fix builder image for releases w/o diagnostics tool
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-16 12:07:58 +03:00
Mikhail f. Shiryaev
7388b6fb55
Test and build clickhouse-diagnostics in release builds 2022-07-04 10:59:37 +02:00
Mikhail f. Shiryaev
1f67665c95
Build performance output in release builds 2022-05-18 01:38:44 +02:00
Mikhail f. Shiryaev
8507a4ddbf
Update nfpm version, prepare UID/GID workdir 2022-05-18 01:38:43 +02:00
Mikhail f. Shiryaev
96859ec678
Remove unused packager code for deb packages 2022-05-18 01:38:43 +02:00
Mikhail f. Shiryaev
d2e5ab0f6c
Improve packager script a little bit 2022-05-18 01:38:42 +02:00
Mikhail f. Shiryaev
fc83f5e96c
Get ccache status before build 2022-04-21 17:18:43 +02:00
Mikhail f. Shiryaev
7dd2fdb47c
Try to minimize linking for keeper 2022-04-21 16:11:43 +02:00
Mikhail f. Shiryaev
619d2703f0
Simplify build.sh for binary packager 2022-04-21 14:15:24 +02:00
Mikhail f. Shiryaev
49a572e00c
Build only clickhouse-keeper with musl 2022-04-21 13:43:24 +02:00
alesapin
9815b4bea4 Followup 2022-04-20 22:42:26 +02:00
alesapin
b8021be891 Perfect cmake 2022-04-20 21:19:43 +02:00
alesapin
ba81816dc1 Better cmake 2022-04-20 12:11:55 +02:00
alesapin
be5b75b567 Reverse 2022-04-14 15:44:09 +02:00
alesapin
774e01bf13 Hacky hack 2022-04-14 15:43:36 +02:00
alesapin
b27070856e Fix 2022-04-14 12:27:13 +02:00
alesapin
7521aecdf5 Debug why we have dynamic binary 2022-04-14 12:23:09 +02:00
alesapin
7c11abb995 Followup 2022-04-13 21:33:34 +02:00
alesapin
aba2b77972 Fix order 2022-04-13 17:45:34 +02:00
alesapin
1a88143468 Fix build 2022-04-13 11:49:56 +02:00
alesapin
f011864386 Build clickhouse-keeper with musl 2022-04-12 18:48:16 +02:00
Mikhail f. Shiryaev
dd4bd4abba
Simplify and fix coverity 2022-04-07 18:35:58 +02:00
Boris Kuschel
2298b80ed8
Add coverity scan
Signed-off-by: Boris Kuschel <Boris.Kuschel@ibm.com>
2022-04-05 19:52:33 +02:00
Mikhail f. Shiryaev
d55785156b
Fix always success builds by move ts to build.sh 2022-03-22 11:10:03 +01:00
Mikhail f. Shiryaev
342f7ba567
Migrate to nfpm 2022-03-22 11:09:59 +01:00
Alexey Milovidov
51ee8fdbb0 More easy cross-compiling for FreeBSD 2021-11-24 00:32:04 +03:00
Nikita Mikhaylov
99f78472bc Disabled 2021-11-10 11:38:26 +00:00
Alexey Milovidov
0dbe7c4036 Remove old toolchain 2021-10-11 07:02:19 +03:00
alesapin
4df6fa1ae7 Remove strange changes 2021-09-04 16:09:12 +03:00
Ilya Yatsishin
7f7ecb0c60
Merge branch 'master' into try-llvm-12 2021-08-26 18:58:49 +03:00
Nikita Mikhaylov
242ef3dcb5 Proper build 2021-08-24 00:09:19 +00:00
Nikita Mikhaylov
ac4a516152 Fix build 2021-08-23 21:45:48 +00:00
Nikita Mikhaylov
afae867060 Fix build 2021-08-23 18:31:17 +00:00
Nikita Mikhaylov
77430a1baa better 2021-08-23 14:36:26 +00:00
Nikita Mikhaylov
1c956481a1 Updated deb/build.sh and fixed shellcheck 2021-08-23 13:21:39 +00:00
Nikita Mikhaylov
80ebc6ccea Done 2021-08-22 15:09:49 +00:00
Yatsishin Ilya
9145dd3fd0 Merge branch 'master' into try-llvm-12 2021-08-06 19:14:01 +03:00
Ivan
14e43cfafa
Add CI check for darwin-aarch64 (#25560)
* Add support for darwin-aarch64

* Fix PVS warnings

* Add build configuration

* Fix packager args
2021-06-25 18:21:56 +03:00
Yatsishin Ilya
366a7fe45b linker path required to be specific one 2021-05-12 18:24:27 +03:00
Alexander Kuzmenkov
6acc92ffd9 remove debug 2021-04-07 23:38:48 +03:00
Alexander Kuzmenkov
29cf5bd712 Merge remote-tracking branch 'origin/master' into HEAD 2021-04-06 14:31:19 +03:00
Alexey Milovidov
0501c025db Remove OpenCL 2021-04-05 18:09:14 +03:00
Alexander Kuzmenkov
e456e40232 show ccache config 2021-04-02 16:37:43 +03:00
Alexander Kuzmenkov
13f3efcc88 typo 2021-04-01 21:02:35 +03:00
Alexander Kuzmenkov
28dd226004 remove extra option 2021-04-01 20:00:08 +03:00
Alexander Kuzmenkov
a255ab179f typo 2021-04-01 17:29:51 +03:00
Alexander Kuzmenkov
5f45199082 typo 2021-04-01 15:46:55 +03:00
Alexander Kuzmenkov
40dac7b678 more debug 2021-04-01 15:12:30 +03:00
Alexander Kuzmenkov
2b97587055 debug again 2021-04-01 02:53:22 +03:00
Alexander Kuzmenkov
026dab2b81 typo 2021-04-01 02:51:47 +03:00
Alexander Kuzmenkov
a91f505899 remove debug 2021-04-01 00:59:31 +03:00
Alexander Kuzmenkov
a55d03cb62 try to avoid conflict with prlimit 2021-03-31 22:41:53 +03:00
Alexander Kuzmenkov
d0db789196
Update build.sh 2021-03-31 18:43:31 +03:00
Alexander Kuzmenkov
1683c3a10d more debug 2021-03-31 18:38:36 +03:00
Alexander Kuzmenkov
1ccc162c86 stats 2021-03-31 15:59:45 +03:00
Alexander Kuzmenkov
5f8e88aca0
boop 2021-03-30 16:39:49 +03:00
Alexander Kuzmenkov
e5953f249d
Update build.sh 2021-03-30 15:34:24 +03:00
Alexander Kuzmenkov
b01897ebd7 check how ccache is used for contribs 2021-03-30 14:31:39 +03:00
Danila Kutenin
e5ec4e21b6 Fix Darwin build 2021-01-11 09:04:34 +00:00
Azat Khuzhin
469b631ca6 Fix performance comparison
In #18113 the top_level_domains list copying was moved into
docker/packager/binary/build.sh, this was done to avoid symlinks (since
Dockerfile cannot dereference them).

But the patch was wrong, since it copied into the root (/), which is not
included into performance.tgz and also compare.sh was not modified.

This wasn't showed up with CI checks since the docker image wasn't
updated and it still included that top_level_domains, once it was
modified the image was updated and it became broken.

Cc: @akuzm
2021-01-02 17:09:20 +03:00
Azat Khuzhin
95c35b318e Avoid using symlinks for top_level_domains
Move the main copy into the tests/config and ship it to the perf tests
via the perf package.
2020-12-15 21:58:46 +03:00
alexey-milovidov
fa929b0312
Replace duplicate development config files with symlinks. (#16486)
* Fix test "max_memory_usage_for_user"

* Update test

* Update annoying boilerplate

* Support symlinks in tarballs

* Fix Fuzzer

* Remove "secondary" user

* Remove "secondary" user
2020-11-04 23:45:06 +03:00
alesapin
9caf46c273
Update build.sh 2020-10-05 10:06:38 +03:00
alesapin
b3fa86191e Fix binary build 2020-10-04 13:23:25 +03:00
Alexander Kuzmenkov
d0dff5b738 fixes 2020-10-01 12:27:05 +03:00
Alexander Kuzmenkov
499e0766e5 Check docker scripts with shellcheck 2020-09-30 20:06:46 +03:00
Alexey Milovidov
035d7cb47f Enable control for heavy translation units 2020-09-20 23:46:32 +03:00
alesapin
368ddada33 Fix binary build 2020-09-18 22:01:59 +03:00
Nikolai Kochetov
d23244b3a5
Revert "Lower number of threads in binary build" 2020-09-17 12:45:06 +03:00
Alexey Milovidov
cc2b4014ff Lower number of threads in binary build 2020-09-09 09:32:09 +03:00
Mikhail Filimonov
a0ae1b2b42 tzdata improvements
Expose version of embedded tzdata via TZDATA_VERSION in system.build_options.
Autogenerate list of shipped timezones. Script to check tzdb updates.
2020-08-12 14:21:40 +02:00
Alexey Milovidov
33197fee5b Build ClickHouse with fresh tzdata 2020-08-11 22:03:04 +03:00
Alexander Kuzmenkov
8f5c4a25c9 More branches in perf test repo snapshot 2020-07-23 15:51:12 +03:00
Alexander Kuzmenkov
cdca798d2a
Update build.sh 2020-07-15 00:56:35 +03:00
Alexander Kuzmenkov
6498fe8123 Publish repo snapshot in perf test package 2020-07-14 18:12:53 +03:00
Alexander Kuzmenkov
08762dc825
Update build.sh 2020-07-08 12:46:44 +03:00
alesapin
7ce3464810 Remove -v from ninja 2020-07-06 18:13:08 +03:00
Alexander Kuzmenkov
01344d7b87 More verbose CMake in build docker 2020-06-25 22:16:48 +03:00
Alexander Kuzmenkov
751319d0ef show build commands 2020-06-24 16:16:54 +03:00
alesapin
d8de91ea4d Don't build redundant garbage in binary builds 2020-06-06 17:00:47 +03:00
alesapin
5038733abf
bump2 2020-06-05 14:20:54 +03:00
alesapin
3d48c10bc6
bump CI 2020-06-05 12:22:23 +03:00
alesapin
e964b6c93f Trying to increase ccache size 2020-06-04 22:48:48 +03:00
Artem Zuikov
0ba4c373a9 add OpenCL libraries for CI (part 2) 2020-05-14 12:45:22 +03:00
Ivan
038e371570
Update cross-builds to use clang-10 compiler (#10724)
* Update FreeBSD toolchain
* Update cross-builds to use clang-10
2020-05-07 15:32:17 +03:00
Ivan
f6b31f344d
Add cross-compile build for FreeBSD (#9643)
* Add toolchain to Docker image
2020-04-07 11:33:49 +03:00
Ivan Lezhankin
06446b4f08 dbms/ → src/ 2020-04-03 18:14:31 +03:00
Ivan
97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00