Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
756 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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;
};
}