Skip to content

Remove transitive libc++ includes - #92523

Merged
Algunenano merged 6 commits into
ClickHouse:masterfrom
Algunenano:transitive_includes_base
Dec 19, 2025
Merged

Algunenano merged 6 commits into
ClickHouse:masterfrom
Algunenano:transitive_includes_base

Conversation

@Algunenano

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Remove transitive libc++ includes

Requires #92150

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

@Algunenano Algunenano added the 🚀 Fast CI 🥒 A fast database deserves a fast CI label Dec 18, 2025
@clickhouse-gh

clickhouse-gh Bot commented Dec 18, 2025 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [81913c2]

Summary: ❌

job_name test_name status info comment
Stateless tests (amd_binary, old analyzer, s3 storage, DatabaseReplicated, parallel) failure
02319_lightweight_delete_on_merge_tree FAIL cidb, issue
Stateless tests (amd_debug, AsyncInsert, s3 storage, parallel) failure
02319_lightweight_delete_on_merge_tree FAIL cidb, issue
02989_join_using_parent_scope FAIL cidb
Logical error: 'argument_node != nullptr' (STID: 2508-0db4) FAIL cidb, issue
Stateless tests (amd_debug, distributed plan, s3 storage, parallel) failure
02346_text_index_parallel_replicas FAIL cidb, issue
02319_lightweight_delete_on_merge_tree FAIL cidb, issue
AST fuzzer (amd_debug) failure
Logical error: 'function_node_type->equals(*removeLowCardinality(node->getResultType()))' (STID: 2508-5107) FAIL cidb
Performance Comparison (amd_release, master_head, 2/6) failure
Check Results failure
BuzzHouse (amd_debug) error
BuzzHouse (arm_asan) error
BuzzHouse (amd_tsan) error
BuzzHouse (amd_msan) error
BuzzHouse (amd_ubsan) error

@clickhouse-gh clickhouse-gh Bot added pr-build Pull request with build/testing/packaging improvement submodule changed At least one submodule changed in this PR. labels Dec 18, 2025
@Algunenano
Algunenano marked this pull request as draft December 18, 2025 14:28

@alexey-milovidov alexey-milovidov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good, didn't know about this.

@alexey-milovidov alexey-milovidov self-assigned this Dec 18, 2025
@Algunenano
Algunenano marked this pull request as ready for review December 19, 2025 10:39
@Algunenano
Algunenano enabled auto-merge December 19, 2025 16:34
@Algunenano
Algunenano added this pull request to the merge queue Dec 19, 2025
Merged via the queue into ClickHouse:master with commit 12c1d08 Dec 19, 2025
@Algunenano
Algunenano deleted the transitive_includes_base branch December 19, 2025 16:46
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Dec 19, 2025
coderashed pushed a commit to coderashed/ClickHouse that referenced this pull request Jun 27, 2026
`std::atomic_bool` requires `<atomic>`, which was previously pulled in
transitively via `<mutex>` in libc++ C++20 mode. After PR ClickHouse#92523 removed
transitive libc++ includes (`_LIBCPP_REMOVE_TRANSITIVE_INCLUDES=1`) and
the codebase moved to C++23 (where `<mutex>` no longer includes `<atomic>`
even without that flag), the include became missing and the build breaks.

Related: ClickHouse#92523
coderashed added a commit to coderashed/ClickHouse that referenced this pull request Jun 27, 2026
`std::atomic_bool` requires `<atomic>`, which was previously pulled in
transitively via `<mutex>` in libc++ C++20 mode. After PR ClickHouse#92523 removed
transitive libc++ includes (`_LIBCPP_REMOVE_TRANSITIVE_INCLUDES=1`) and
the codebase moved to C++23 (where `<mutex>` no longer includes `<atomic>`
even without that flag), the include became missing and the build breaks.

Related: ClickHouse#92523
zeekay pushed a commit to hanzoai/datastore that referenced this pull request Sep 11, 2026
`std::atomic_bool` requires `<atomic>`, which was previously pulled in
transitively via `<mutex>` in libc++ C++20 mode. After PR ClickHouse#92523 removed
transitive libc++ includes (`_LIBCPP_REMOVE_TRANSITIVE_INCLUDES=1`) and
the codebase moved to C++23 (where `<mutex>` no longer includes `<atomic>`
even without that flag), the include became missing and the build breaks.

Related: ClickHouse#92523
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚀 Fast CI 🥒 A fast database deserves a fast CI pr-build Pull request with build/testing/packaging improvement pr-synced-to-cloud The PR is synced to the cloud repo submodule changed At least one submodule changed in this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants