Skip to content

parallelio: add pkgconfig build dependency - #6289

Open
mathomp4 wants to merge 1 commit into
spack:developfrom
mathomp4:parallelio-pkgconfig-fix
Open

parallelio: add pkgconfig build dependency#6289
mathomp4 wants to merge 1 commit into
spack:developfrom
mathomp4:parallelio-pkgconfig-fix

Conversation

@mathomp4

@mathomp4 mathomp4 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

ParallelIO 2.6.9 added a pkg-config fallback while locating NetCDF C. When find_package(NetCDF ...) does not succeed, CMake calls find_package(PkgConfig REQUIRED).

The Spack package did not declare this build tool, so builds on hosts without a system pkg-config fail during configuration with:

  Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)

Add Spack's pkgconfig virtual build dependency for versions 2.6.9 and newer. The virtual lets Spack choose the configured provider (normally pkgconf).

@mathomp4
mathomp4 requested a review from jedwards4b August 31, 2026 13:52
@spackbot-triage spackbot-triage Bot added dependencies Modifications with a `depends_on()` directive update-package Modifications to packages in the repository labels Aug 31, 2026
@mathomp4
mathomp4 requested a review from alalazo August 31, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Modifications with a `depends_on()` directive update-package Modifications to packages in the repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant