Remove cudainfo and amd-uprof from crossSet #210

Open
abonerib wants to merge 3 commits from abonerib/jungle:cross-filter into master
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 ];
};
})