2023-10-05 23:47:42 +02:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake } :
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "aocl-utils";
|
2024-02-28 11:19:38 +01:00
|
|
|
version = "4.2";
|
2023-10-05 23:47:42 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "amd";
|
|
|
|
repo = "aocl-utils";
|
|
|
|
rev = version;
|
2024-02-28 11:19:38 +01:00
|
|
|
hash = "sha256-tjmCgVSU4XjBhbKMUY3hsvj3bvuXvVdf5Bqva5nr1tc=";
|
2023-10-05 23:47:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Interface to all AMD AOCL libraries to access CPU features";
|
|
|
|
homepage = "https://github.com/amd/aocl-utils";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
maintainers = [ maintainers.markuskowa ];
|
|
|
|
};
|
|
|
|
}
|