Repository navigation
CI: Build all targets in amd_compat - #86258
Merged
Merged
Conversation
Contributor
|
Workflow [PR], commit [3457bc7] Summary: ❌
|
pamarcos
self-requested a review
August 27, 2025 10:42
pamarcos
approved these changes
Aug 27, 2025
maxknv
force-pushed
the
ci_build_all_in_amd_compat
branch
from
August 27, 2025 12:01
406d0e0 to
11b1c27
Compare
maxknv
marked this pull request as draft
August 27, 2025 12:01
maxknv
force-pushed
the
ci_build_all_in_amd_compat
branch
from
August 27, 2025 18:31
11b1c27 to
3457bc7
Compare
maxknv
marked this pull request as ready for review
August 27, 2025 18:31
maxknv
enabled auto-merge
August 27, 2025 18:32
alexey-milovidov
added a commit
that referenced
this pull request
Mar 25, 2026
Previously each example program was built as a separate executable, each statically linking the full ClickHouse codebase (~2 GB per binary). With 83 examples, `amd_compat` CI build produced ~77 GB of example binaries alone (vs ~22 GB for the rest of the build). This was caused by PR #86258 which added `-DENABLE_EXAMPLES=1` and `-k0 all` target to `amd_compat`, and PR #95826 which added `-DENABLE_EXAMPLES=1` to `ARM_BINARY`. This change: - Consolidates all 83 example programs into a single `clickhouse-examples` multi-call binary (like ClickHouse itself), dispatching by argv[0] or first argument - Each example's `main` is renamed to a unique entry point (e.g., `mainEntryExampleHashMap`) - Removes `-DENABLE_EXAMPLES=1` from `amd_compat` and `ARM_BINARY` CI configurations - Removes `AMD_COMPAT` from the "build all targets" group Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Follow up #84739
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Documentation entry for user-facing changes