Unverified Commit fb969ce6 authored by Luna Nova's avatar Luna Nova
Browse files

rocmPackages: 7.0.2 -> 7.1.1

parent 26b0093b
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  rocmUpdateScript,
  cmake,
  pkg-config,
@@ -21,12 +20,12 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  pname = "amdsmi";
  version = "7.0.2";
  version = "7.1.1";
  src = fetchFromGitHub {
    owner = "rocm";
    repo = "amdsmi";
    rev = "rocm-${finalAttrs.version}";
    hash = "sha256-1xQD68mrG1g9Bpw5/vxn+XxDM5HuAyEHyALyBixqR1s=";
    hash = "sha256-BGe3+8YFwu41ZVAF+VtN5Cn9pfzGxmCg/Rpq8qWOEoM=";
  };

  postPatch = ''
@@ -42,14 +41,6 @@ stdenv.mkDerivation (finalAttrs: {
    cp ./include/amd_smi/impl/amd_hsmp.h ./esmi_ib_library/include/asm/amd_hsmp.h
  '';

  patches = [
    (fetchpatch {
      name = "fix-build-with-gcc15.patch";
      url = "https://github.com/ROCm/amdsmi/commit/902667db3cafe72e2009287cb96b160854ab9d81.patch";
      hash = "sha256-MoOY5q6tQ7Q+bgm/600Etz+cxRk4L2ujkarnBjnfANw=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config
+3 −3
Original line number Diff line number Diff line
@@ -8,13 +8,13 @@

stdenv.mkDerivation {
  pname = "aqlprofile";
  version = "7.0.2";
  version = "7.1.1";

  src = fetchFromGitHub {
    owner = "ROCm";
    repo = "aqlprofile";
    tag = "rocm-7.0.2";
    hash = "sha256-A17SAkEUf3yAGwvZUWSdL7Tn5YAXB0YlD3T1DLTjDSg=";
    tag = "rocm-7.1.1";
    hash = "sha256-MAZUHo52gb0aZSFnKugMlXxcDkmMwhy1AFF1RDRgRVk=";
  };

  env.CXXFLAGS = "-DROCP_LD_AQLPROFILE=1";
+6 −14
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  pname = "clr";
  version = "7.0.2";
  version = "7.1.1";

  outputs = [
    "out"
@@ -84,7 +84,7 @@ stdenv.mkDerivation (finalAttrs: {
    owner = "ROCm";
    repo = "clr";
    rev = "rocm-${finalAttrs.version}";
    hash = "sha256-zajb/iTtF/ECRScdcQ85HPgq8DdIGqSinJoVyyi89bw=";
    hash = "sha256-ofsq1uqMixtum5C6cp/UgTDpgGPfj+rAd6PoDx5iLLw=";
  };

  nativeBuildInputs = [
@@ -147,14 +147,10 @@ stdenv.mkDerivation (finalAttrs: {
  patches = [
    ./cmake-find-x11-libgl.patch
    (fetchpatch {
      # [PATCH] improve rocclr isa compatibility check
      sha256 = "sha256-/QpB3Wqdhcq6lzyO/zOWzwQC0oYpesCICxnVx5CqbWg=";
      url = "https://github.com/GZGavinZhao/clr/commit/733ee38ef8ad5c84926970981821f446dfcb00af.patch";
    })
    (fetchpatch {
      # [PATCH] improve hipamd isa compatibility check
      sha256 = "sha256-FvZInw8PqB68ePxAGu45cWT/whD1xmprIA5wZb5OLcE=";
      url = "https://github.com/GZGavinZhao/clr/commit/1f0b54ee9b0de08f4dc8cd38b6728928b180048a.patch";
      # [PATCH] rocclr: Extend HIP ISA compatibility checks
      sha256 = "sha256-InUSIFI1MgkfocBEoZjO2BCgXNyfF10ehh9jkTtAPXs=";
      url = "https://github.com/GZGavinZhao/rocm-systems/commit/937dcfdd316b589509c061809186fe5451d22431.patch";
      relative = "projects/clr";
    })
  ];

@@ -174,10 +170,6 @@ stdenv.mkDerivation (finalAttrs: {
    substituteInPlace opencl/khronos/icd/loader/icd_platform.h \
      --replace-fail '#define ICD_VENDOR_PATH "/etc/OpenCL/vendors/";' \
                     '#define ICD_VENDOR_PATH "/run/opengl-driver/etc/OpenCL/vendors/";'

    # new unbundler has better error messages, defaulting it on
    substituteInPlace rocclr/utils/flags.hpp \
      --replace-fail "HIP_ALWAYS_USE_NEW_COMGR_UNBUNDLING_ACTION, false" "HIP_ALWAYS_USE_NEW_COMGR_UNBUNDLING_ACTION, true"
  '';

  postInstall = ''
+2 −2
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: {
  '';

  pname = "composable_kernel_base";
  version = "7.0.2";
  version = "7.1.1";

  outputs = [
    "out"
@@ -58,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: {
    owner = "ROCm";
    repo = "composable_kernel";
    rev = "rocm-${finalAttrs.version}";
    hash = "sha256-Wql7PD3kg85AFXn7UaTKxhURyDPfVe/OUbR+udrqDc8=";
    hash = "sha256-exdkyTIK03dzlCXHm3j8ehEb9NxLOxPX9QyfMsiCgSs=";
  };

  nativeBuildInputs = [
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "half";
  version = "7.0.2";
  version = "7.1.1";

  src = fetchFromGitHub {
    owner = "ROCm";
Loading