Unverified Commit 4fb1de3d authored by Luna Nova's avatar Luna Nova
Browse files

rocmPackages: 7.2.0 -> 7.2.1

parent 52af8769
Loading
Loading
Loading
Loading
+11 −7
Original line number Diff line number Diff line
@@ -21,13 +21,18 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  pname = "amdsmi";
  version = "7.2.0";
  version = "7.2.1";
  src = fetchFromGitHub {
    owner = "rocm";
    repo = "amdsmi";
    owner = "ROCm";
    repo = "rocm-systems";
    rev = "rocm-${finalAttrs.version}";
    hash = "sha256-3V3B9+B3cpg0ebvsmX6wwvKoTIHbXtvbpIQHs4tkeWU=";
    sparseCheckout = [
      "projects/amdsmi"
      "shared"
    ];
    hash = "sha256-TFi+3txemvV6K827e8S3hZOd9jcj4Qzop6V9CdKrpLg=";
  };
  sourceRoot = "${finalAttrs.src.name}/projects/amdsmi";

  postPatch = ''
    substituteInPlace goamdsmi_shim/CMakeLists.txt \
@@ -79,13 +84,12 @@ stdenv.mkDerivation (finalAttrs: {

  passthru.updateScript = rocmUpdateScript {
    name = finalAttrs.pname;
    inherit (finalAttrs.src) owner;
    inherit (finalAttrs.src) repo;
    inherit (finalAttrs.src) owner repo;
  };

  meta = {
    description = "System management interface for AMD GPUs supported by ROCm";
    homepage = "https://github.com/ROCm/rocm_smi_lib";
    homepage = "https://github.com/ROCm/rocm-systems/tree/develop/projects/amdsmi";
    license = with lib.licenses; [ mit ];
    maintainers = with lib.maintainers; [ lovesegfault ];
    teams = [ lib.teams.rocm ];
+0 −1
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  rocm-cmake,
  clr,
+18 −7
Original line number Diff line number Diff line
@@ -4,18 +4,24 @@
  clr,
  cmake,
  fetchFromGitHub,
  rocmUpdateScript,
}:

stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
  pname = "aqlprofile";
  version = "7.2.0";
  version = "7.2.1";

  src = fetchFromGitHub {
    owner = "ROCm";
    repo = "aqlprofile";
    tag = "rocm-7.2.0";
    hash = "sha256-MAZUHo52gb0aZSFnKugMlXxcDkmMwhy1AFF1RDRgRVk=";
    repo = "rocm-systems";
    rev = "rocm-${finalAttrs.version}";
    sparseCheckout = [
      "projects/aqlprofile"
      "shared"
    ];
    hash = "sha256-74HjB5Ughu17rSRx9mfCCsPJI4TVyXnT4aU7vIbm7ak=";
  };
  sourceRoot = "${finalAttrs.src.name}/projects/aqlprofile";

  env.CXXFLAGS = "-DROCP_LD_AQLPROFILE=1";

@@ -24,11 +30,16 @@ stdenv.mkDerivation {
    clr
  ];

  passthru.updateScript = rocmUpdateScript {
    name = finalAttrs.pname;
    inherit (finalAttrs.src) owner repo;
  };

  meta = {
    description = "AQLPROFILE library for AMD HSA runtime API extension support";
    homepage = "https://github.com/ROCm/aqlprofile/";
    homepage = "https://github.com/ROCm/rocm-systems/tree/develop/projects/aqlprofile";
    license = with lib.licenses; [ mit ];
    teams = [ lib.teams.rocm ];
    platforms = lib.platforms.linux;
  };
}
})
+10 −8
Original line number Diff line number Diff line
@@ -13,7 +13,6 @@
  rocm-device-libs,
  rocm-comgr,
  rocm-runtime,
  rocm-toolchain,
  rocm-core,
  roctracer,
  rocminfo,
@@ -70,7 +69,7 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  pname = "clr";
  version = "7.2.0";
  version = "7.2.1";

  outputs = [
    "out"
@@ -82,10 +81,15 @@ stdenv.mkDerivation (finalAttrs: {

  src = fetchFromGitHub {
    owner = "ROCm";
    repo = "clr";
    repo = "rocm-systems";
    rev = "rocm-${finalAttrs.version}";
    hash = "sha256-zz2O4Qsl1zXMC25L714azsFR2PROAvdpjgKhRolmt1w=";
    sparseCheckout = [
      "projects/clr"
      "shared"
    ];
    hash = "sha256-8V2WbyaJZbEcKZpF/xvg0p+3oX9f/zy/45rkKZT9R3o=";
  };
  sourceRoot = "${finalAttrs.src.name}/projects/clr";

  nativeBuildInputs = [
    makeWrapper
@@ -257,9 +261,7 @@ stdenv.mkDerivation (finalAttrs: {

    updateScript = rocmUpdateScript {
      name = finalAttrs.pname;
      inherit (finalAttrs.src) owner;
      inherit (finalAttrs.src) repo;
      page = "tags?per_page=4";
      inherit (finalAttrs.src) owner repo;
    };

    impureTests = {
@@ -324,7 +326,7 @@ stdenv.mkDerivation (finalAttrs: {

  meta = {
    description = "AMD Common Language Runtime for hipamd, opencl, and rocclr";
    homepage = "https://github.com/ROCm/clr";
    homepage = "https://github.com/ROCm/rocm-systems/tree/develop/projects/clr";
    license = with lib.licenses; [ mit ];
    maintainers = with lib.maintainers; [ lovesegfault ];
    teams = [ lib.teams.rocm ];
+10 −6
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
  '';

  pname = "composable_kernel_base";
  version = "7.2.0";
  version = "7.2.1";

  outputs = [
    "out"
@@ -55,10 +55,15 @@ stdenv.mkDerivation (finalAttrs: {

  src = fetchFromGitHub {
    owner = "ROCm";
    repo = "composable_kernel";
    repo = "rocm-libraries";
    rev = "rocm-${finalAttrs.version}";
    hash = "sha256-ABL0MSmWtqAeY5uyw8Ib64npB2v82baUnzLpmrEgDn4=";
    sparseCheckout = [
      "projects/composablekernel"
      "shared"
    ];
    hash = "sha256-Zs6wwPmys1kUlgDD4XzKKw273nH/Ur3HtuYxJjvjDs0=";
  };
  sourceRoot = "${finalAttrs.src.name}/projects/composablekernel";

  nativeBuildInputs = [
    # Deliberately not using ninja
@@ -172,8 +177,7 @@ stdenv.mkDerivation (finalAttrs: {
    inherit gpuTargets miOpenReqLibsOnly;
    updateScript = rocmUpdateScript {
      name = finalAttrs.pname;
      inherit (finalAttrs.src) owner;
      inherit (finalAttrs.src) repo;
      inherit (finalAttrs.src) owner repo;
    };
    anyGfx9Target = lib.lists.any (lib.strings.hasPrefix "gfx9") gpuTargets;
    anyMfmaTarget =
@@ -187,7 +191,7 @@ stdenv.mkDerivation (finalAttrs: {

  meta = {
    description = "Performance portable programming model for machine learning tensor operators";
    homepage = "https://github.com/ROCm/composable_kernel";
    homepage = "https://github.com/ROCm/rocm-libraries/tree/develop/projects/composablekernel";
    license = with lib.licenses; [ mit ];
    teams = [ lib.teams.rocm ];
    platforms = lib.platforms.linux;
Loading