Repository navigation
Internal compiler run fixes - #3050
Merged
Merged
Conversation
alexey-milovidov
pushed a commit
to evillique/ClickHouse
that referenced
this pull request
Nov 29, 2026
0.18.0 and 0.19.0 made `-ftime-trace` uncacheable (mozilla/sccache#2834), which 27 CI build types pass through -DENABLE_BUILD_PROFILING=1, so CI stayed on 0.17.0. 0.20.0 hashes the flag again and writes no trace on a cache hit (mozilla/sccache#2956). It also leaves CARGO_TARGET_DIR and CARGO_BUILD_* out of Rust keys (ClickHouse#3050) and hashes the C/C++ input file name (ClickHouse#2974). Measured locally with CI's cmake flags and a local disk cache, second build from a fresh build directory at the same path: - amd_binary clickhouse-bundle: 1562 s cold, 147 s warm; C/C++ 17715 of 17717 hits (the 2 misses are openldap's generated version files with __DATE__/__TIME__), Rust 603 of 603; no hit wrote a time trace. - amd_asan_ubsan dbms: 1934 s cold, 95 s warm; C/C++ 16237 of 16239, Rust 529 of 529. - PR-build environment (READ_ONLY, anonymous S3): the server starts, a miss compiles, the write is refused, warn_on_low_sccache_hit_rate parses the stats. 0.20.0 additionally counts an anonymous 403 on a missing key as a read error (ClickHouse#2967); it is still a miss. 0.20.0 treats `--embed-dir` as uncacheable, so the 4 _jieba sources (6.9 s of compile) are always compiled. 0.20.0 does not read 0.17.0 entries: every build type is cold once after this lands. Related: ClickHouse#127827 Co-Authored-By: Claude Opus 5.5 <[email protected]>
alexey-milovidov
pushed a commit
to lazerg/ClickHouse
that referenced
this pull request
Nov 30, 2026
0.18.0 and 0.19.0 made `-ftime-trace` uncacheable (mozilla/sccache#2834), which 27 CI build types pass through -DENABLE_BUILD_PROFILING=1, so CI stayed on 0.17.0. 0.20.0 hashes the flag again and writes no trace on a cache hit (mozilla/sccache#2956). It also leaves CARGO_TARGET_DIR and CARGO_BUILD_* out of Rust keys (ClickHouse#3050) and hashes the C/C++ input file name (ClickHouse#2974). Measured locally with CI's cmake flags and a local disk cache, second build from a fresh build directory at the same path: - amd_binary clickhouse-bundle: 1562 s cold, 147 s warm; C/C++ 17715 of 17717 hits (the 2 misses are openldap's generated version files with __DATE__/__TIME__), Rust 603 of 603; no hit wrote a time trace. - amd_asan_ubsan dbms: 1934 s cold, 95 s warm; C/C++ 16237 of 16239, Rust 529 of 529. - PR-build environment (READ_ONLY, anonymous S3): the server starts, a miss compiles, the write is refused, warn_on_low_sccache_hit_rate parses the stats. 0.20.0 additionally counts an anonymous 403 on a missing key as a read error (ClickHouse#2967); it is still a miss. 0.20.0 treats `--embed-dir` as uncacheable, so the 4 _jieba sources (6.9 s of compile) are always compiled. 0.20.0 does not read 0.17.0 entries: every build type is cold once after this lands. Related: ClickHouse#127827 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en