Skip to content

Conversation

Mytherin
Copy link
Collaborator

The extensions add an EXT_VERSION_[XXX] definition (e.g. EXT_VERSION_PARQUET) - which defaults to the current git hash. These definitions are not removed afterwards, leading to subsequent compilation units to all have this definition, and stacking them up as extensions get built, e.g.:

autocomplete -> -DEXT_VERSION_AUTOCOMPLETE=\"5001ce5bc7\"
icu -> -DEXT_VERSION_AUTOCOMPLETE=\"5001ce5bc7\" -DEXT_VERSION_ICU=\"5001ce5bc7\"

etc...

This is not really a problem, but these definitions change when a commit is made, leading to unnecessary recompilation. As these definitions pollute also the compilation of the main source tree this leads to recompiling of the entire system upon commit. By removing the definitions we make it so that we "only" recompile the extensions on commit instead.

@Mytherin Mytherin merged commit 3f40f21 into duckdb:main Feb 6, 2025
51 checks passed
Antonov548 added a commit to Antonov548/duckdb-r that referenced this pull request Feb 26, 2025
Display schema information of currently selected database only (duckdb/duckdb#15815)
Remove extension definitions to prevent re-compilation of the entire system on commit (duckdb/duckdb#15955)
Throw an error when unsupported commands are used in concurrentloop (duckdb/duckdb#16009)
Benchmark runner: catch and log errors + add support for `retry load N` syntax (duckdb/duckdb#16054)
krlmlr pushed a commit to duckdb/duckdb-r that referenced this pull request Mar 5, 2025
Display schema information of currently selected database only (duckdb/duckdb#15815)
Remove extension definitions to prevent re-compilation of the entire system on commit (duckdb/duckdb#15955)
Throw an error when unsupported commands are used in concurrentloop (duckdb/duckdb#16009)
Benchmark runner: catch and log errors + add support for `retry load N` syntax (duckdb/duckdb#16054)
@Mytherin Mytherin deleted the removedefinitions branch April 2, 2025 09:25
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 15, 2025
Display schema information of currently selected database only (duckdb/duckdb#15815)
Remove extension definitions to prevent re-compilation of the entire system on commit (duckdb/duckdb#15955)
Throw an error when unsupported commands are used in concurrentloop (duckdb/duckdb#16009)
Benchmark runner: catch and log errors + add support for `retry load N` syntax (duckdb/duckdb#16054)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 15, 2025
Display schema information of currently selected database only (duckdb/duckdb#15815)
Remove extension definitions to prevent re-compilation of the entire system on commit (duckdb/duckdb#15955)
Throw an error when unsupported commands are used in concurrentloop (duckdb/duckdb#16009)
Benchmark runner: catch and log errors + add support for `retry load N` syntax (duckdb/duckdb#16054)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 17, 2025
Display schema information of currently selected database only (duckdb/duckdb#15815)
Remove extension definitions to prevent re-compilation of the entire system on commit (duckdb/duckdb#15955)
Throw an error when unsupported commands are used in concurrentloop (duckdb/duckdb#16009)
Benchmark runner: catch and log errors + add support for `retry load N` syntax (duckdb/duckdb#16054)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 18, 2025
Display schema information of currently selected database only (duckdb/duckdb#15815)
Remove extension definitions to prevent re-compilation of the entire system on commit (duckdb/duckdb#15955)
Throw an error when unsupported commands are used in concurrentloop (duckdb/duckdb#16009)
Benchmark runner: catch and log errors + add support for `retry load N` syntax (duckdb/duckdb#16054)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant