Commit Graph

346 Commits

Author SHA1 Message Date
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
Alexey Milovidov
73b52859df Merge branch 'master' into llvm-14 2022-04-16 00:46:58 +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
BoloniniD
30712ead45
Merge branch 'master' into BLAKE3 2022-04-13 00:45:44 +03: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
BoloniniD
aec9af18e9 Test alt linker in blake3 2022-04-03 00:29:45 +03:00
BoloniniD
aca1f2d6c0 Revert previous change 2022-04-01 22:57:24 +03:00
BoloniniD
4a1262c8da Revert previous change 2022-04-01 22:06:56 +03:00
Alexey Milovidov
93edf05259
Merge branch 'master' into llvm-14 2022-04-01 04:49:03 +03:00
BoloniniD
a1ad0ca88d Add sysroot for special target - test 2022-03-30 20:55:43 +03:00
BoloniniD
e0417077bf And another try 2022-03-29 14:23:18 +03:00
BoloniniD
2d2420c8a9 Merge branch 'master' of github.com:ClickHouse/ClickHouse into BLAKE3 2022-03-29 11:00:50 +03:00
BoloniniD
b8017b9afa Add libraries for Rust aarch64-darwin target 2022-03-28 22:32:24 +03: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
BoloniniD
db5c0aa42b Added support for other targets 2022-03-18 21:59:56 +03:00
Alexey Milovidov
aa8f282ad9 Switch to clang/llvm 14 2022-02-19 18:43:02 +01:00
BoloniniD
6f078c164d Merge branch 'master' of github.com:ClickHouse/ClickHouse into BLAKE3 2022-01-26 20:11:27 +03:00
Mikhail f. Shiryaev
c465593706
Force rebuild images once again in master 2022-01-13 19:03:34 +01:00
Mikhail f. Shiryaev
e314eed992
Force rebuild images in CI 2022-01-13 17:49:23 +01:00
Mikhail f. Shiryaev
2a83a1c05d
Build dependent images from the current version 2022-01-12 17:07:52 +01:00
BoloniniD
2dfdfa6720 Fix build tests Dockerfiles 2022-01-11 16:20:00 +03:00
Mikhail f. Shiryaev
d2d1f5aba7
Optimize binary packager container 2021-12-16 13:00:31 +01:00
Azat Khuzhin
4e4837758a Remove readline support
- it was not nested for a long time
- replxx is an upstream way for completion
2021-12-11 11:29:59 +03:00
Mikhail f. Shiryaev
5408d6232f
Make archive.ubuntu.com mirror configurable for build 2021-11-26 10:55:41 +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
Sergei Semin
12e24a23d3
Merge branch 'master' into fix-build-clang-13-2 2021-09-12 19:30:55 +03:00
alexey-milovidov
60f76d9254
Merge pull request #28759 from nikitamikhaylov/enable-gcc-11
Switch CI to GCC-11
2021-09-12 15:56:57 +03:00
Sergei Semin
b7358636c1 remove duplicated libraries 2021-09-11 18:10:18 +03:00
mergify[bot]
e3b3439535
Merge branch 'master' into fix-build-clang-13-2 2021-09-10 12:05:54 +00:00
Nikita Mikhaylov
e575cc88fc Better 2021-09-09 21:11:07 +00: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
Sergei Semin
63b3b90d1e up LLVM_VERSION and don't use script for llvm setup 2021-09-09 23:51:47 +03:00
Sergei Semin
ff635bcab8 add build with clang-13 2021-09-09 23:51:47 +03:00
Nikita Mikhaylov
107710e618 save 2021-09-08 15:06:15 +00:00
alesapin
bdd26f2a19 Merge branch 'master' into move_docker_images_to_separate_repo 2021-09-08 12:36:36 +03:00
alesapin
0eac4529e0 Preparation 2021-09-06 14:33:39 +03:00
alesapin
4df6fa1ae7 Remove strange changes 2021-09-04 16:09:12 +03:00
alesapin
4fe3909d74
Update Dockerfile 2021-09-03 14:01:47 +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
mergify[bot]
95e9d517ff
Merge branch 'master' into fix-clang-tidy 2021-08-23 10:54:36 +00:00
Yatsishin Ilya
91289983c6 Use ru.archive.ubuntu.com as default one is not responding from CI 2021-08-23 11:22:39 +03: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
Yatsishin Ilya
e523162eda Merge remote-tracking branch 'origin' into try-llvm-12 2021-04-30 13:11:18 +03:00
Alexey Milovidov
eda56e52d8 Remove obsolete compilers 2021-04-28 07:16:48 +03:00
Alexey Milovidov
8cb0e5579a Remove gcc from docs 2021-04-22 04:20:03 +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
c187dca12c Merge remote-tracking branch 'origin/master' into HEAD 2021-03-31 20:18:08 +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
alesapin
7f0df7d451
Update Dockerfile 2021-03-30 19:18:20 +03:00
alesapin
c7d733040c
Update Dockerfile 2021-03-30 19:17:35 +03:00
alesapin
82389ca03b
Update Dockerfile 2021-03-30 19:15:49 +03:00
alesapin
45c1ba8c69
Revert "quick fix for broken resolution of apt.llvm.org on Yandex infra" 2021-03-30 19:03:55 +03:00
Alexander Kuzmenkov
8d52292eb1 fix 2021-03-30 18:57:22 +03:00
Alexander Kuzmenkov
350546356a debug dns in docker build 2021-03-30 18:09:58 +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
Yatsishin Ilya
7e6cd00cee Try to switch to llvm-12/clang-12 2021-03-24 17:17:59 +03:00
Alexander Kuzmenkov
4c2278c215 Merge pull request #22047 from ClickHouse/aku/llvm-cloudflare-21.3
21.3: quick fix for broken resolution of apt.llvm.org on Yandex infra

(cherry picked from commit 12f5753e5f)
2021-03-23 19:41:09 +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
alesapin
c5df9433f0
Merge pull request #15239 from ClickHouse/100_percent_lld_11_for_clang_11
Build ClickHouse for release with clang-11
2020-10-02 14:59:29 +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
alesapin
9f89fe095a Missed changes 2020-09-29 10:17:02 +03:00
alesapin
eafcec7ebf Move release build to clang-11 2020-09-29 10:15:05 +03:00
alesapin
646e843105 100% lld-11 for clang-11 builds 2020-09-24 19:26:04 +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
000cd42d5e
Merge pull request #14917 from ClickHouse/revert-14607-lower-number-of-threads-in-binary-build
Revert "Lower number of threads in binary build"
2020-09-17 15:45:02 +03:00
Nikolai Kochetov
d23244b3a5
Revert "Lower number of threads in binary build" 2020-09-17 12:45:06 +03:00
alesapin
7fc09b930e Clang 11 in binary build 2020-09-15 15:16:23 +03:00
alesapin
c202ce8e63 Merge branch 'master' into update_to_gcc_10 2020-09-11 12:50:10 +03:00
alesapin
956138635d Fix compiler name 2020-09-09 15:59:26 +03:00
alesapin
c535d75243 Add update 2020-09-09 14:47:34 +03:00
alesapin
ca6b634eb0 Install gcc-10 from proposed repo 2020-09-09 13:51:01 +03:00
Alexey Milovidov
cc2b4014ff Lower number of threads in binary build 2020-09-09 09:32:09 +03:00
alesapin
54cdb2472c Bump binary image version 2020-09-07 18:40:21 +03:00
Azat Khuzhin
2d7cb03120 Suppress superfluous wget (-nv) output
Since for dowloading some of files wget logging may take 50% of overall
log [1].

  [1]: https://clickhouse-builds.s3.yandex.net/14315/c32ff4c98cb3b83a12f945eadd180415b7a3b269/clickhouse_build_check/build_log_761119955_1598923036.txt
2020-09-01 10:25:13 +03:00
Konstantin Podshumok
cda4472ebc
dockerfiles: verify 3rd party apt repos, disable LLVM in PVS check
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:44 +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
4a8349cad9 Less layers in docker file 2020-06-25 09:26:10 +03:00
Alexander Kuzmenkov
63a8a8453a Less layers in docker file 2020-06-25 09:23:25 +03:00
Alexander Kuzmenkov
ce36da838c for the love of God just update this container already, i'm begging you 2020-06-24 19:12:05 +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
Alexey Milovidov
ee81e5fef7 Add LLVM tools to Docker images 2020-04-30 15:10:32 +03:00
Ivan
91df18a906
Trigger new image build
to pull changes in freebsd toolchain
2020-04-28 17:06:52 +03:00
Alexey Milovidov
a0d56997de Fix error 2020-04-20 23:13:33 +03:00
Alexey Milovidov
31d2547363 clang-10 in CI 2020-04-20 23:04:35 +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 Lezhankin
159e72ea7c Trigger Docker image rebuild 2020-04-02 10:52:46 +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
alesapin
5b8824c065 Add clang-8 to binary image 2020-03-23 21:23:32 +03:00
alesapin
72f3fbb630 Fix binary image 2020-03-23 19:08:13 +03:00
Alexey Milovidov
8df43f2f50 Update packager images 2020-03-23 00:10:14 +03:00
Alexander Kuzmenkov
3be5fa1338 performance comparison 2020-03-11 17:29:34 +03:00
alesapin
3fbaa0a29f Add clang tidy to docker images 2020-03-10 12:07:43 +03:00
alesapin
49c0642c49 Build gcc with lld linker 2020-03-03 15:32:54 +03:00
Alexander Kuzmenkov
ebe70f5bcb performance comparison 2020-02-25 16:12:26 +03:00
alesapin
93fddc7b46 Remove symlink to lld from build images 2020-02-21 18:49:53 +03:00
alesapin
954ea60a6a Remove redundant compilers, linkers and libs 2020-02-10 12:05:14 +03:00
alesapin
bddbc956ec Add symlynks for lld, because gcc is not able to find it without 'ld.' prefix. 2020-02-07 23:59:51 +03:00
Alexander Kuzmenkov
17f1754695 Publish different files for perftest. 2019-12-25 19:09:37 +03:00
Alexander Kuzmenkov
be963a7a6f Add a build package type for performance tests. 2019-12-23 21:34:12 +03:00
Alexander Kuzmenkov
cb19696778 Dump cmake options in CI. 2019-12-18 18:40:42 +03:00
Ivan
4d27e8aa5b
Unpack toolchains into mounted volume (#7534) 2019-10-29 20:33:31 +03:00
Ivan
c250db4922
Update Docker Image for Binary Packager (#7474) 2019-10-24 15:56:30 +03:00
Ivan
32ca372b9d
Revert "Update Dockerfile for binary packager (#7456)" (#7458)
This reverts commit fa05a5860f.
2019-10-23 18:54:18 +03:00
Ivan
fa05a5860f
Update Dockerfile for binary packager (#7456) 2019-10-23 17:41:17 +03:00
alesapin
dad401a047 Downgrade cmake version in packager image 2019-09-27 16:25:51 +03:00
Ivan
e9e10670da
Update Docker image for CI packaging
Add support for cross-compilation to Darwin
2019-09-23 22:29:47 +03:00
alesapin
6b6714761b Also pack config into shared archive 2019-09-23 15:20:08 +03:00
alesapin
f2f9f585e4 Better check in shared binary build 2019-09-20 23:15:42 +03:00
alesapin
d0ef26e1b8 Better shared binary build 2019-09-20 22:57:09 +03:00
alesapin
8783798b99 Move so libraries to output directory in binary build image 2019-09-20 19:29:06 +03:00
alesapin
e9b7bd7ed7 Add gdb to build images 2019-09-17 17:24:45 +03:00
alesapin
11b428033b Update cmake to 3.15 2019-09-06 22:19:41 +03:00
alesapin
fc0532a451 Add gcc-9 to build images 2019-07-29 14:04:25 +03:00
alexey-milovidov
9bdbd84263
Merge pull request #5030 from PerformanceVision/top_level_domain
Changing how the function (cutTo)firstSignificantSubdomain detect the tld (proposal)
2019-06-19 02:08:43 +03:00
proller
64924f5ef3 Docker: add comments with current tags 2019-06-04 16:01:16 +03:00
alesapin
5c5c23c4c9 Remove gcc-9 from images 2019-05-20 22:24:55 +03:00
alesapin
ec22af6da0 Add gcc-9 to build images 2019-05-20 12:51:52 +03:00
proller
51ca4cbaa4
Build fixes (#5278) 2019-05-15 20:19:39 +03:00
Guillaume Tassery
7c4541b127
Merge branch 'master' into top_level_domain 2019-04-26 12:30:23 +07:00
proller
97c532c0f0
Build fixes (#5114)
Need to push builder docker image
2019-04-26 02:21:59 +03:00
proller
fd63093032 Add gperf to build requirements (for upcoming pull request #5030 ) 2019-04-25 17:31:08 +03:00
proller
33922685d5
Packager: fixes (#5103) 2019-04-25 15:29:28 +03:00
Guillaume Tassery
0d931918ce Add gperf dependency for binary packager dockerfile 2019-04-19 11:07:15 +07:00
alesapin
80cc4dc88c Save unit tests binary after binary build 2019-03-28 13:34:05 +03:00
alesapin
face35521a Add clang-8 build 2019-03-21 11:02:45 +03:00
alesapin
a4eca201b4 Add tzdata to build images 2019-02-21 20:14:29 +03:00
alesapin
3b09a816b3 Add options forwarding for binary builder docker image 2019-02-13 15:05:34 +03:00
alesapin
59f4f7f140 Remove llvm-7 from building images 2019-01-10 23:20:16 +03:00
alesapin
1eb0750cfa Get clang-7 from clang repo and rollback to ubuntu 18.04 2019-01-10 13:35:17 +03:00
alesapin
34e4f8e0c1 Move docker images to 18.10 and add compatibility file for glibc >= 2.28 2018-12-29 13:10:35 +03:00
alesapin
43b099f20b Revert to ubuntu 18.04 2018-11-21 15:05:31 +03:00
alesapin
6ce13a08ef Move build and test images to 18.10, add libraries for unbundled build in debian image 2018-11-21 13:09:16 +03:00
alesapin
b65250e672 Better default value in packager script 2018-11-14 11:05:34 +03:00
alesapin
935efe81b7 CLICKHOUSE-4056: Fix build params 2018-10-18 19:49:00 +03:00
alesapin
1d7ef9133e CLICKHOUSE-4056: Add ability to run build with ccache or distcc 2018-10-18 15:56:48 +03:00
alesapin
1ee6984d46 CLICKHOUSE-3968: Add script for package creation in docker 2018-10-04 20:07:00 +03:00