Compare commits

...

3 Commits

Author SHA1 Message Date
97e81b2f91 Filter out packages by platform from crossSet
All checks were successful
CI / build:cross (pull_request) Successful in 6s
CI / build:all (pull_request) Successful in 20s
2025-10-28 17:28:13 +01:00
a13a4e66a6 Add meta to cudainfo 2025-10-28 17:28:12 +01:00
9f740ec234 Set amd-uprof platforms to x86_64-linux only 2025-10-28 17:28:12 +01:00
3 changed files with 13 additions and 2 deletions

View File

@@ -107,7 +107,12 @@ let
(meta.availableOn platform pkg);
# For now only RISC-V
crossSet = { riscv64 = final.pkgsCross.riscv64.bsc.pkgsTopLevel; };
crossSet = genAttrs [ "riscv64" ] genCross;
genCross = platform:
# filter out packages by meta.platforms
filterAttrs (_: meta.availableOn final.pkgsCross.${platform}.stdenv.hostPlatform)
final.pkgsCross.${platform}.bsc.pkgsTopLevel;
buildList = name: paths:
final.runCommandLocal name { } ''

View File

@@ -90,7 +90,7 @@ in
meta = {
description = "Performance analysis tool-suite for x86 based applications";
homepage = "https://www.amd.com/es/developer/uprof.html";
platforms = lib.platforms.linux;
platforms = [ "x86_64-linux" ];
license = lib.licenses.unfree;
maintainers = with lib.maintainers.bsc; [ rarias varcila ];
};

View File

@@ -1,5 +1,6 @@
{
stdenv
, lib
, cudatoolkit
, cudaPackages
, autoAddDriverRunpath
@@ -40,4 +41,9 @@ stdenv.mkDerivation (finalAttrs: {
'';
installPhase = "touch $out";
};
meta = {
platforms = [ "x86_64-linux" ];
maintainers = with lib.maintainers.bsc; [ rarias ];
};
})