nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 clr,
5 cmake,
6 fetchFromGitHub,
7}:
8
9stdenv.mkDerivation {
10 pname = "aqlprofile";
11 version = "7.1.1";
12
13 src = fetchFromGitHub {
14 owner = "ROCm";
15 repo = "aqlprofile";
16 tag = "rocm-7.1.1";
17 hash = "sha256-MAZUHo52gb0aZSFnKugMlXxcDkmMwhy1AFF1RDRgRVk=";
18 };
19
20 env.CXXFLAGS = "-DROCP_LD_AQLPROFILE=1";
21
22 nativeBuildInputs = [
23 cmake
24 clr
25 ];
26
27 meta = {
28 description = "AQLPROFILE library for AMD HSA runtime API extension support";
29 homepage = "https://github.com/ROCm/aqlprofile/";
30 license = with lib.licenses; [ mit ];
31 teams = [ lib.teams.rocm ];
32 platforms = lib.platforms.linux;
33 };
34}