Skip to content

pkgconfig: Fix class cached to be keyed on extra_paths - #15001

Merged
dcbaker merged 1 commit into
mesonbuild:masterfrom
mgorny:pkgconfig-extra-paths-cache
Sep 19, 2025
Merged

pkgconfig: Fix class cached to be keyed on extra_paths#15001
dcbaker merged 1 commit into
mesonbuild:masterfrom
mgorny:pkgconfig-extra-paths-cache

Conversation

@mgorny

@mgorny mgorny commented Sep 4, 2025

Copy link
Copy Markdown
Contributor

Add extra_paths to cache keys for PkgConfigInterface and PkgConfigCLI instances, to avoid incorrectly reusing an instance with a different extra_paths value, see:
#14657 (comment)

Add `extra_paths` to cache keys for `PkgConfigInterface`
and `PkgConfigCLI` instances, to avoid incorrectly reusing an instance
with a different `extra_paths` value, see:
mesonbuild#14657 (comment)

Signed-off-by: Michał Górny <mgorny@quansight.com>
@mgorny
mgorny requested a review from jpakkane as a code owner September 4, 2025 13:48
@nirbheek nirbheek added this to the 1.10 milestone Sep 8, 2025
@mgorny

mgorny commented Sep 18, 2025

Copy link
Copy Markdown
Contributor Author

Gentle ping.

@dcbaker
dcbaker merged commit 5f3d12a into mesonbuild:master Sep 19, 2025
30 of 32 checks passed
@dcbaker

dcbaker commented Sep 19, 2025

Copy link
Copy Markdown
Member

@eli-schwartz This might be a candidate for 1.9.x, what do you think?

@eli-schwartz

Copy link
Copy Markdown
Member

From pure eyeballing alone, I think this will probably break existing build directories and need the forced reconfigure from scratch with dropped caches that is specific to major.minor version changes.

@dcbaker

dcbaker commented Sep 19, 2025

Copy link
Copy Markdown
Member

Yeah, that's true. Okay, so we'll leave it for 1.10

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.

4 participants