Skip to content

Conversation

jeltz
Copy link
Collaborator

@jeltz jeltz commented Sep 16, 2025

Various clean ups of the makefile to make it easier to turn pg_tde into an external extensions.

  • Remove noise with override and +=
  • Silence warnings when building libkmip
  • Use libpgfeutils.a when building command line tools
  • Silence building PostgreSQL in the CI

@jeltz jeltz force-pushed the tde/split-make-cleanup branch from cf8a199 to 29061e4 Compare September 16, 2025 00:41
@codecov-commenter
Copy link

codecov-commenter commented Sep 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.20%. Comparing base (f89f408) to head (fc502c3).
⚠️ Report is 1 commits behind head on TDE_REL_17_STABLE.

❌ Your project status has failed because the head coverage (84.20%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@                Coverage Diff                 @@
##           TDE_REL_17_STABLE     #581   +/-   ##
==================================================
  Coverage              84.20%   84.20%           
==================================================
  Files                     25       25           
  Lines                   3247     3247           
  Branches                 511      511           
==================================================
  Hits                    2734     2734           
  Misses                   400      400           
  Partials                 113      113           
Components Coverage Δ
access 84.72% <ø> (ø)
catalog 87.65% <ø> (ø)
common 77.77% <ø> (ø)
encryption 72.97% <ø> (ø)
keyring 73.21% <ø> (ø)
src 94.18% <ø> (ø)
smgr 96.53% <ø> (ø)
transam ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jeltz jeltz force-pushed the tde/split-make-cleanup branch 2 times, most recently from 9c9cb53 to d081540 Compare September 16, 2025 17:13
@jeltz jeltz changed the title Clean up makefile before repo split PG-1879 Clean up makefile before repo split Sep 16, 2025
@jeltz jeltz force-pushed the tde/split-make-cleanup branch from d081540 to 5fb9561 Compare September 16, 2025 17:16
Warnings from libkmip were previously only silenced in Meson builds.
There is no reaosn to user override and appending for everything.
PostgreSQL themselves only use it for things like CFLAGS where the user
is expected to specify their own stuff.
This mirrors how it is done in other parts of PostgreSQL where meson
uses the .o object directly while Make uses libpgutils.a.
The output spam from make makes it hard to find errors when the build
fails.
@jeltz jeltz force-pushed the tde/split-make-cleanup branch from 5fb9561 to 0c18c4d Compare September 16, 2025 17:16
@jeltz jeltz marked this pull request as ready for review September 16, 2025 18:15
When linking the define is ignored anyway.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants