Commit Graph

1556 Commits

Author SHA1 Message Date
Konstantin Bogdanov
f26c63eb4e
Update Rust vendored dependencies 2024-12-03 12:32:19 +01:00
Konstantin Bogdanov
c0f66a3d0e
temp-commit 2024-12-03 11:46:11 +01:00
Konstantin Bogdanov
ddde64300f
temp-commit 2024-12-03 11:46:11 +01:00
Robert Schulze
93dc65ad88
Can we enable SimSIMD on ARM with Clang 19? 2024-11-22 14:30:16 +00:00
robot-clickhouse
1adbc447f2 Update autogenerated version to 24.12.1.1 and contributors 2024-11-21 18:35:33 +00:00
Konstantin Bogdanov
0bf406d17f
Try to use lld for riscv build 2024-11-20 23:08:54 +01:00
Konstantin Bogdanov
b2c81981fb
Use clang-19 2024-11-20 23:08:47 +01:00
Robert Schulze
9c5017323d
Add comment about bf16 to CMake docs 2024-11-15 11:50:08 +00:00
Alexey Milovidov
62c94a7841 Maybe better 2024-11-10 16:40:24 +01:00
Alexey Milovidov
c3f42b7bc7 Something 2024-11-10 01:25:25 +01:00
robot-clickhouse
a7ff9bfb1c Update autogenerated version to 24.11.1.1 and contributors 2024-10-26 11:01:35 +00:00
Robert Schulze
23fcefadc8
... re-enable only the assertions (not full debug mode) 2024-10-15 21:37:39 +00:00
Robert Schulze
b9b7a1091b
(Re)-enable libcxx debug mode
- We previously compiled libcxx with _LIBCPP_DEBUG=0. In old libcxx
  versions, this (surprisingly) enabled the basic debug mode [1].

- In libcxx 15 (the version we are currently using), _LIBCPP_DEBUG=0
  does nothing [2], the replacement is _LIBCPP_ENABLE_DEBUG_MODE=1.

- The debug mode is only enabled in Debug builds. Their docs say the
  extra check change complexity guarantees + the asserts crash which we
  don't want in Release builds. The debug mode detects issues like in
  [3]. Crashes look like this (for example)

  ```
  /data/ch/contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:99: assertion ::std::__libcpp_is_constant_evaluated() || (__get_const_db()->__dereferenceable(this)) failed: Attempted to increment a non-incrementable iteratorAborted (core dumped)
  ```

- I had to mute some new clang-tidy warnings in places that deal with
  container iterators. They got heavier and copy-by-value now yields a
  warning, e.g.

     for (auto it : iterators) /// <-- warning
         [...]

[1] https://releases.llvm.org/12.0.0/projects/libcxx/docs/DesignDocs/DebugMode.html
[2] https://releases.llvm.org/15.0.0/projects/libcxx/docs/DesignDocs/DebugMode.html
[3] https://github.com/llvm/llvm-project/blob/main/libcxx/test/support/container_debug_tests.h
2024-10-15 13:46:07 +00:00
Robert Schulze
36fbc4ac32
Docs: Follow-up for #70585 2024-10-14 19:02:09 +00:00
Daniil Gentili
a1f715ecf4 Fix ARCH_NATIVE CMake flag 2024-10-11 11:36:44 +00:00
Alexey Milovidov
38fb032594 Make it better 2024-10-06 02:09:30 +08:00
Raúl Marín
a90790ce5b Remove dbms dependency on clickhouse_functions 2024-09-24 19:48:23 +02:00
vdimir
4c9c9015f8
Revert "Revert "Merge pull request #63279 from allmazz/mongodb_refactoring""
This reverts commit 2ae9c9ac16.
2024-09-23 07:06:58 +00:00
Alexey Milovidov
4d2259407a
Merge pull request #69850 from ClickHouse/revert-mongodb
Revert #69790 and #63279
2024-09-22 22:29:32 +02:00
Alexey Milovidov
2ae9c9ac16 Revert "Merge pull request #63279 from allmazz/mongodb_refactoring"
This reverts commit 14cb02a18c, reversing
changes made to a940a9ebbc.
2024-09-22 22:28:24 +02:00
Raúl Marín
e3c2d10bc8 Merge remote-tracking branch 'blessed/master' into bump_version_24.10.1.1 2024-09-22 17:30:47 +02:00
robot-clickhouse
512d5e4bec Update autogenerated version to 24.10.1.1 and contributors 2024-09-20 10:27:17 +00:00
Kirill Nikiforov
4ecb5c0442
fix builds 2024-09-19 04:17:11 +04:00
Kirill Nikiforov
2c360e86be
Merge remote-tracking branch 'origin' into mongodb_refactoring 2024-09-18 16:14:02 +04:00
Nikita Mikhaylov
385c8127cf Fix FreeBSD build 2024-08-24 16:01:03 +02:00
Kirill Nikiforov
40462bc716
Merge remote-tracking branch 'origin' into mongodb_refactoring 2024-08-23 22:10:06 +04:00
János Benjamin Antal
860bd66d7a
Merge pull request #68267 from azat/build/COMMAND_ERROR_IS_FATAL
Avoid ignoring errors of execute_process() (set COMMAND_ERROR_IS_FATAL=ANY)
2024-08-20 11:55:20 +00:00
Max Kainov
7432400fd0 revert hacks made to prevent OOM in aarch64 2024-08-17 18:53:43 +02:00
robot-clickhouse
6af5fedf42 Update autogenerated version to 24.9.1.1 and contributors 2024-08-13 19:26:35 +00:00
Azat Khuzhin
4c043301e6 Avoid ignoring errors of execute_process() (set COMMAND_ERROR_IS_FATAL=ANY)
This will fix with issues like this [1]:

    Aug 12 09:58:44 '/usr/bin/cmake' '--build' '/build/build_docker/native' '--target' 'pre_compressor'
    Aug 12 09:58:44 sccache: error: Server startup failed: cache storage failed to read: Unexpected (temporary) at stat
    Aug 12 09:58:45 ninja: build stopped: subcommand failed.
    Aug 12 09:58:45 -- Configuring done (77.7s)
    Aug 12 09:58:47 -- Generating done (1.8s)
    Aug 12 09:58:47 -- Build files have been written to: /build/build_docker

So as you can see even if ninja fails it still wrote build files, while
it should fail.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/64955/0af41e32a5822d25ac3760f1ebb2313557474701/builds/report.html
  [2]: 0af41e32a5/binary_darwin_aarch64/build_log.log

Note, COMMAND_ERROR_IS_FATAL is 3.19+, and the requirement for now is
3.20

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-13 10:35:54 +02:00
Kirill Nikiforov
9fa2773586
fix build 2024-08-09 20:32:54 +03:00
Yakov Olkhovskiy
b246f7c17c merge master 2024-08-07 16:25:31 +00:00
Nikita Taranov
f557686774 cherry on top of this cake 2024-07-27 21:24:13 +01:00
Nikita Taranov
109bd52296 impl 2024-07-26 23:05:56 +01:00
Raúl Marín
53c7bf680b Update autogenerated version to 24.8.1.1 and contributors 2024-07-23 11:46:48 +00:00
Yakov Olkhovskiy
698b5ce7fa Merge branch 'master' into ci-fuzzer-enable 2024-07-14 05:31:56 +00:00
Nikita Taranov
8d07c522f1 reduce amount of parallel linker jobs further 2024-07-12 18:44:12 +01:00
Nikita Taranov
851db16e30
Merge branch 'master' into limit_linker_jobs_on_aarch 2024-07-12 14:18:25 +02:00
Nikita Taranov
c7180e67bd impl 2024-07-12 13:08:53 +01:00
Yakov Olkhovskiy
a9aaa2ab78 Merge remote-tracking branch 'origin/master' into ci-fuzzer-enable 2024-07-06 00:48:09 +00:00
alesapin
964047bf8c Yarrrr 2024-07-05 16:31:00 +02:00
Raúl Marín
0df48b9abf Update autogenerated version to 24.7.1.1 and contributors 2024-06-20 08:16:36 +00:00
tomershafir
3e8929f5f0 xray: rename cmake file and build only on amd64 linux 2024-06-05 12:40:18 +03:00
Alexey Milovidov
5a5bdd87cb
Merge pull request #64592 from tomershafir/xray
xray: add global xray instrumentation support
2024-06-05 01:25:25 +02:00
tomershafir
6397f26998 xray: add global xray instrumentation support 2024-05-29 17:33:21 +03:00
Raúl Marín
00bbffa6f0 Update autogenerated version to 24.6.1.1 and contributors 2024-05-23 11:04:29 +00:00
Alexey Milovidov
921e44a616
Merge pull request #64051 from azat/build/freebsd-fix
Fix searching for libclang_rt.builtins.*.a on FreeBSD
2024-05-20 05:11:25 +02:00
alesapin
3878155b19
Merge pull request #64072 from ClickHouse/try_to_fix_cross_compilation_for_grpc
Try to fix grpc for aarch64 crosscompilation
2024-05-18 18:28:21 +00:00
alesapin
24892b151a Try to fix grpc for aarch64 crosscompilation
(cherry picked from commit f3fbf532e0d4d7616f51a9c3d5087cf7b2e6d7d5)
2024-05-17 22:55:12 +02:00
Azat Khuzhin
85aa8b71a4 Fix searching for libclang_rt.builtins.*.a on FreeBSD
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-17 16:15:33 +02:00