Skip to content

Make pkg-config metadata architecture-independent - #1464

Merged
serge-sans-paille merged 1 commit into
xtensor-stack:masterfrom
umrndem:fix/arch-independent-pkgconfig
Nov 28, 2026
Merged

serge-sans-paille merged 1 commit into
xtensor-stack:masterfrom
umrndem:fix/arch-independent-pkgconfig

Conversation

@umrndem

@umrndem umrndem commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Remove the unused libdir entry from xsimd.pc. xsimd is header-only, but this entry makes the file architecture-dependent even though it is installed in share/pkgconfig.

Checked staged installs with different architecture-specific libdir values. The installed .pc files are now identical, pkg-config --validate passes, and the compiler flags, linker flags and version queries are unchanged. Small consumers compiled and ran using both pkg-config and CMake.

Closes #1077.

@serge-sans-paille
serge-sans-paille merged commit fa5011c into xtensor-stack:master Nov 28, 2026
97 of 98 checks passed
@serge-sans-paille

Copy link
Copy Markdown
Contributor

Unrelated emscripten error

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.

pkg-conf file has arch-dependent contents but is installed to arch-independent datadir

2 participants