Unverified Commit 70aa08f7 authored by Luna Nova's avatar Luna Nova Committed by GitHub
Browse files

rocmPackages: 7.2.0 -> 7.2.1 (#504146)

parents 70db141c 374d7b4b
Loading
Loading
Loading
Loading
+11 −10
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 \
@@ -77,15 +82,11 @@ stdenv.mkDerivation (finalAttrs: {
    ln -sf $out/libexec/amdsmi_cli/amdsmi_cli.py $out/bin/amd-smi
  '';

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

  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,
+15 −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,13 @@ stdenv.mkDerivation {
    clr
  ];

  passthru.updateScript = rocmUpdateScript { inherit finalAttrs; };

  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 −11
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
@@ -255,12 +259,7 @@ stdenv.mkDerivation (finalAttrs: {

    inherit hipClangPath;

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

    impureTests = {
      # bash $(nix-build -A rocmPackages.clr.impureTests.rocm-smi)
@@ -324,7 +323,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 −9
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
@@ -170,11 +175,7 @@ stdenv.mkDerivation (finalAttrs: {

  passthru = {
    inherit gpuTargets miOpenReqLibsOnly;
    updateScript = rocmUpdateScript {
      name = finalAttrs.pname;
      inherit (finalAttrs.src) owner;
      inherit (finalAttrs.src) repo;
    };
    updateScript = rocmUpdateScript { inherit finalAttrs; };
    anyGfx9Target = lib.lists.any (lib.strings.hasPrefix "gfx9") gpuTargets;
    anyMfmaTarget =
      (lib.lists.intersectLists gpuTargets [
@@ -187,7 +188,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