Use pkg-config instead of papi_version_check

This commit is contained in:
2025-12-09 14:16:19 +01:00
parent a238824ff1
commit 435699357d
3 changed files with 141 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ in
configureFlags = [
"--with-ovni=${ovni}"
"CACHELINE_WIDTH=${toString cacheline}"
];
] ++ lib.optionals enablePapi [ "--with-papi=${papi}" ];
nativeBuildInputs = [
autoreconfHook
pkg-config
@@ -60,6 +60,7 @@ in
hwloc
ovni
] ++ lib.optionals enablePapi [ papi ];
patches = [ ./fix-papi.patch ];
meta = {
homepage = "https://gitlab.bsc.es/nos-v/nos-v";