Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
756 B
Nix
37 lines
756 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
clr,
|
|
cmake,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "aqlprofile";
|
|
version = "6.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
# TODO: Will move to rocm-systems repo and have proper tags in 7.x
|
|
# pinned to oddly named tag for now
|
|
owner = "ROCm";
|
|
repo = "aqlprofile";
|
|
tag = "rocm-42";
|
|
hash = "sha256-avL78ZfB+rJ1TYaejSUzU6i5L9JeMawMwIxaTQINQdE=";
|
|
};
|
|
|
|
env.CXXFLAGS = "-DROCP_LD_AQLPROFILE=1";
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
clr
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "AQLPROFILE library for AMD HSA runtime API extension support";
|
|
homepage = "https://github.com/ROCm/aqlprofile/";
|
|
license = with licenses; [ mit ];
|
|
teams = [ teams.rocm ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|