Fix papi_version_check

Instead of running the papi_version binary, use the
builtin version check from pkg-config.
This commit is contained in:
2025-12-09 14:16:19 +01:00
parent aab17ab0c4
commit f77a36ee4c
4 changed files with 138 additions and 5 deletions

View File

@@ -96,17 +96,14 @@ in
separateDebugInfo = true;
strictDeps = true;
patches = [ ./check-papi-version-with-pkgconfig.patch ];
nativeBuildInputs = [
autoconf
automake
libtool
pkg-config
# TODO: papi_version is needed for configure:
# ./configure: line 27378: papi_version: command not found
# This probably breaks cross-compilation
] ++ lib.optionals enablePapi [ papi ];
];
buildInputs = [
boost