Merge pull request #202373 from Madouura/pr/rocm-related

authored by Martin Weinelt and committed by GitHub ce1f9354 8189da6a

+295 -162
+10 -10
pkgs/development/compilers/hip/default.nix
··· 28 28 }: 29 29 30 30 let 31 - hip = stdenv.mkDerivation rec { 31 + hip = stdenv.mkDerivation (finalAttrs: { 32 32 pname = "hip"; 33 - version = "5.3.1"; 33 + version = "5.3.3"; 34 34 35 35 src = fetchFromGitHub { 36 36 owner = "ROCm-Developer-Tools"; 37 37 repo = "HIP"; 38 - rev = "rocm-${version}"; 38 + rev = "rocm-${finalAttrs.version}"; 39 39 hash = "sha256-kmRvrwnT0h2dBMI+H9d1vmeW3TmDBD+qW4YYhaMV2dE="; 40 40 }; 41 41 ··· 103 103 description = "C++ Heterogeneous-Compute Interface for Portability"; 104 104 homepage = "https://github.com/ROCm-Developer-Tools/HIP"; 105 105 license = licenses.mit; 106 - maintainers = with maintainers; [ lovesegfault Flakebi ]; 106 + maintainers = with maintainers; [ lovesegfault ] ++ teams.rocm.members; 107 107 platforms = platforms.linux; 108 108 }; 109 - }; 109 + }); 110 110 in 111 - stdenv.mkDerivation rec { 111 + stdenv.mkDerivation (finalAttrs: { 112 112 pname = "hip"; 113 - version = "5.3.1"; 113 + version = "5.3.3"; 114 114 115 115 src = fetchFromGitHub { 116 116 owner = "ROCm-Developer-Tools"; 117 117 repo = "hipamd"; 118 - rev = "rocm-${version}"; 118 + rev = "rocm-${finalAttrs.version}"; 119 119 hash = "sha256-i7hT/j+V0LT6Va2XcQyyKXF1guoIyhcOHvn842wCRx4="; 120 120 }; 121 121 ··· 200 200 description = "C++ Heterogeneous-Compute Interface for Portability"; 201 201 homepage = "https://github.com/ROCm-Developer-Tools/hipamd"; 202 202 license = licenses.mit; 203 - maintainers = with maintainers; [ lovesegfault Flakebi ]; 203 + maintainers = with maintainers; [ lovesegfault ] ++ teams.rocm.members; 204 204 platforms = platforms.linux; 205 205 }; 206 - } 206 + })
+1 -1
pkgs/development/compilers/llvm/rocm/default.nix
··· 1 1 { stdenv, lib, buildPackages, fetchFromGitHub, callPackage, wrapCCWith, overrideCC }: 2 2 3 3 let 4 - version = "5.3.1"; 4 + version = "5.3.3"; 5 5 src = fetchFromGitHub { 6 6 owner = "RadeonOpenCompute"; 7 7 repo = "llvm-project";
+3 -3
pkgs/development/compilers/llvm/rocm/llvm.nix
··· 24 24 if stdenv.isx86_64 then "X86" 25 25 else if stdenv.isAarch64 then "AArch64" 26 26 else throw "Unsupported ROCm LLVM platform"; 27 - in stdenv.mkDerivation rec { 27 + in stdenv.mkDerivation (finalAttrs: { 28 28 inherit src version; 29 29 30 30 pname = "rocm-llvm"; ··· 85 85 description = "ROCm fork of the LLVM compiler infrastructure"; 86 86 homepage = "https://github.com/RadeonOpenCompute/llvm-project"; 87 87 license = with licenses; [ ncsa ]; 88 - maintainers = with maintainers; [ acowley lovesegfault Flakebi ]; 88 + maintainers = with maintainers; [ acowley lovesegfault ] ++ teams.rocm.members; 89 89 platforms = platforms.linux; 90 90 }; 91 - } 91 + })
+15 -7
pkgs/development/libraries/clang-ocl/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , writeScript 4 5 , cmake 5 6 , rocm-cmake 6 7 , rocm-device-libs 7 8 , clang 8 9 }: 9 10 10 - stdenv.mkDerivation rec { 11 + stdenv.mkDerivation (finalAttrs: { 11 12 pname = "clang-ocl"; 12 - rocmVersion = "5.3.1"; 13 - version = rocmVersion; 13 + rocmVersion = "5.3.3"; 14 + version = finalAttrs.rocmVersion; 14 15 15 16 src = fetchFromGitHub { 16 17 owner = "RadeonOpenCompute"; 17 18 repo = "clang-ocl"; 18 - rev = "rocm-${rocmVersion}"; 19 + rev = "rocm-${finalAttrs.rocmVersion}"; 19 20 hash = "sha256-uMSvcVJj+me2E+7FsXZ4l4hTcK6uKEegXpkHGcuist0="; 20 21 }; 21 22 ··· 34 35 "-DCMAKE_CXX_COMPILER=clang++" 35 36 ]; 36 37 38 + passthru.updateScript = writeScript "update.sh" '' 39 + #!/usr/bin/env nix-shell 40 + #!nix-shell -i bash -p curl jq common-updater-scripts 41 + rocmVersion="$(curl -sL "https://api.github.com/repos/RadeonOpenCompute/clang-ocl/releases?per_page=1" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)" 42 + update-source-version clang-ocl "$rocmVersion" --ignore-same-hash --version-key=rocmVersion 43 + ''; 44 + 37 45 meta = with lib; { 38 46 description = "OpenCL compilation with clang compiler"; 39 47 homepage = "https://github.com/RadeonOpenCompute/clang-ocl"; 40 48 license = with licenses; [ mit ]; 41 - maintainers = with maintainers; [ Madouura ]; 42 - broken = rocmVersion != clang.version; 49 + maintainers = teams.rocm.members; 50 + broken = finalAttrs.rocmVersion != clang.version; 43 51 }; 44 - } 52 + })
+8 -6
pkgs/development/libraries/composable_kernel/default.nix
··· 18 18 # Try removing this next update 19 19 assert buildTests == false; 20 20 21 - stdenv.mkDerivation rec { 21 + stdenv.mkDerivation (finalAttrs: { 22 22 pname = "composable_kernel"; 23 - version = "unstable-2022-11-02"; 23 + version = "unstable-2022-11-19"; 24 24 25 25 outputs = [ 26 26 "out" ··· 30 30 "example" 31 31 ]; 32 32 33 + # There is now a release, but it's cpu-only it seems to be for a very specific purpose 34 + # Thus, we're sticking with the develop branch for now... 33 35 src = fetchFromGitHub { 34 36 owner = "ROCmSoftwarePlatform"; 35 37 repo = "composable_kernel"; 36 - rev = "79aa3fb1793c265c59d392e916baa851a55521c8"; 37 - hash = "sha256-vIfMdvRYCTqrjMGSb7gQfodzLw2wf3tGoCAa5jtfbvw="; 38 + rev = "43a889b72e3faabf04c16ff410d387ce28486c3e"; 39 + hash = "sha256-DDRrWKec/RcOhW3CrN0gl9NZsp0Bjnja7HAiTcEh7qg="; 38 40 }; 39 41 40 42 nativeBuildInputs = [ ··· 86 88 description = "Performance portable programming model for machine learning tensor operators"; 87 89 homepage = "https://github.com/ROCmSoftwarePlatform/composable_kernel"; 88 90 license = with licenses; [ mit ]; 89 - maintainers = with maintainers; [ Madouura ]; 91 + maintainers = teams.rocm.members; 90 92 }; 91 - } 93 + })
+19 -7
pkgs/development/libraries/hipcub/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , writeScript 4 5 , cmake 5 6 , rocm-cmake 6 7 , rocm-runtime ··· 18 19 assert buildBenchmarks -> gbenchmark != null; 19 20 20 21 # CUB can also be used as a backend instead of rocPRIM. 21 - stdenv.mkDerivation rec { 22 + stdenv.mkDerivation (finalAttrs: { 22 23 pname = "hipcub"; 23 - rocmVersion = "5.3.1"; 24 - version = "2.12.0-${rocmVersion}"; 24 + repoVersion = "2.12.0"; 25 + rocmVersion = "5.3.3"; 26 + version = "${finalAttrs.repoVersion}-${finalAttrs.rocmVersion}"; 25 27 26 28 outputs = [ 27 29 "out" ··· 34 36 src = fetchFromGitHub { 35 37 owner = "ROCmSoftwarePlatform"; 36 38 repo = "hipCUB"; 37 - rev = "rocm-${rocmVersion}"; 39 + rev = "rocm-${finalAttrs.rocmVersion}"; 38 40 hash = "sha256-/GMZKbMD1sZQCM2FulM9jiJQ8ByYZinn0C8d/deFh0g="; 39 41 }; 40 42 ··· 79 81 rmdir $out/bin 80 82 ''; 81 83 84 + passthru.updateScript = writeScript "update.sh" '' 85 + #!/usr/bin/env nix-shell 86 + #!nix-shell -i bash -p curl jq common-updater-scripts 87 + json="$(curl -sL "https://api.github.com/repos/ROCmSoftwarePlatform/hipCUB/releases?per_page=1")" 88 + repoVersion="$(echo "$json" | jq '.[0].name | split(" ") | .[1]' --raw-output)" 89 + rocmVersion="$(echo "$json" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)" 90 + update-source-version hipcub "$repoVersion" --ignore-same-hash --version-key=repoVersion 91 + update-source-version hipcub "$rocmVersion" --ignore-same-hash --version-key=rocmVersion 92 + ''; 93 + 82 94 meta = with lib; { 83 95 description = "Thin wrapper library on top of rocPRIM or CUB"; 84 96 homepage = "https://github.com/ROCmSoftwarePlatform/hipCUB"; 85 97 license = with licenses; [ bsd3 ]; 86 - maintainers = with maintainers; [ Madouura ]; 87 - broken = rocmVersion != hip.version; 98 + maintainers = teams.rocm.members; 99 + broken = finalAttrs.rocmVersion != hip.version; 88 100 }; 89 - } 101 + })
+19 -7
pkgs/development/libraries/hipsparse/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , writeScript 4 5 , cmake 5 6 , rocm-cmake 6 7 , rocm-runtime ··· 25 26 mirror1 = "https://sparse.tamu.edu/MM"; 26 27 mirror2 = "https://www.cise.ufl.edu/research/sparse/MM"; 27 28 }; 28 - in stdenv.mkDerivation rec { 29 + in stdenv.mkDerivation (finalAttrs: { 29 30 pname = "hipsparse"; 30 - rocmVersion = "5.3.1"; 31 - version = "2.3.1-${rocmVersion}"; 31 + repoVersion = "2.3.1"; 32 + rocmVersion = "5.3.3"; 33 + version = "${finalAttrs.repoVersion}-${finalAttrs.rocmVersion}"; 32 34 33 35 outputs = [ 34 36 "out" ··· 39 41 src = fetchFromGitHub { 40 42 owner = "ROCmSoftwarePlatform"; 41 43 repo = "hipSPARSE"; 42 - rev = "rocm-${rocmVersion}"; 44 + rev = "rocm-${finalAttrs.rocmVersion}"; 43 45 hash = "sha256-Phcihat774ZSAe1QetE/GSZzGlnCnvS9GwsHBHCaD4c="; 44 46 }; 45 47 ··· 122 124 rmdir $out/bin 123 125 ''; 124 126 127 + passthru.updateScript = writeScript "update.sh" '' 128 + #!/usr/bin/env nix-shell 129 + #!nix-shell -i bash -p curl jq common-updater-scripts 130 + json="$(curl -sL "https://api.github.com/repos/ROCmSoftwarePlatform/hipSPARSE/releases?per_page=1")" 131 + repoVersion="$(echo "$json" | jq '.[0].name | split(" ") | .[1]' --raw-output)" 132 + rocmVersion="$(echo "$json" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)" 133 + update-source-version hipsparse "$repoVersion" --ignore-same-hash --version-key=repoVersion 134 + update-source-version hipsparse "$rocmVersion" --ignore-same-hash --version-key=rocmVersion 135 + ''; 136 + 125 137 meta = with lib; { 126 138 description = "ROCm SPARSE marshalling library"; 127 139 homepage = "https://github.com/ROCmSoftwarePlatform/hipSPARSE"; 128 140 license = with licenses; [ mit ]; 129 - maintainers = with maintainers; [ Madouura ]; 130 - broken = rocmVersion != hip.version; 141 + maintainers = teams.rocm.members; 142 + broken = finalAttrs.rocmVersion != hip.version; 131 143 }; 132 - } 144 + })
+17 -9
pkgs/development/libraries/miopengemm/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , writeScript 4 5 , cmake 5 6 , rocm-cmake 6 7 , rocm-opencl-runtime ··· 35 36 varwidth 36 37 titlesec; 37 38 }); 38 - in stdenv.mkDerivation rec { 39 + in stdenv.mkDerivation (finalAttrs: { 39 40 pname = "miopengemm"; 40 - rocmVersion = "5.3.1"; 41 - version = rocmVersion; 41 + rocmVersion = "5.3.3"; 42 + version = finalAttrs.rocmVersion; 42 43 43 44 outputs = [ 44 45 "out" ··· 53 54 src = fetchFromGitHub { 54 55 owner = "ROCmSoftwarePlatform"; 55 56 repo = "MIOpenGEMM"; 56 - rev = "rocm-${rocmVersion}"; 57 + rev = "rocm-${finalAttrs.rocmVersion}"; 57 58 hash = "sha256-AiRzOMYRA/0nbQomyq4oOEwNZdkPYWRA2W6QFlctvFc="; 58 59 }; 59 60 ··· 106 107 postInstall = lib.optionalString buildTests '' 107 108 mkdir -p $test/bin 108 109 find tests -executable -type f -exec mv {} $test/bin \; 109 - patchelf --set-rpath ${lib.makeLibraryPath buildInputs}:$out/lib $test/bin/* 110 + patchelf --set-rpath ${lib.makeLibraryPath finalAttrs.buildInputs}:$out/lib $test/bin/* 110 111 '' + lib.optionalString buildBenchmarks '' 111 112 mkdir -p $benchmark/bin 112 113 find examples -executable -type f -exec mv {} $benchmark/bin \; 113 - patchelf --set-rpath ${lib.makeLibraryPath buildInputs}:$out/lib $benchmark/bin/* 114 + patchelf --set-rpath ${lib.makeLibraryPath finalAttrs.buildInputs}:$out/lib $benchmark/bin/* 114 115 ''; 115 116 116 117 postFixup = lib.optionalString buildDocs '' ··· 119 120 mv ../doc/pdf/miopengemm.pdf $docs/share/doc/miopengemm 120 121 ''; 121 122 123 + passthru.updateScript = writeScript "update.sh" '' 124 + #!/usr/bin/env nix-shell 125 + #!nix-shell -i bash -p curl jq common-updater-scripts 126 + rocmVersion="$(curl -sL "https://api.github.com/repos/ROCmSoftwarePlatform/MIOpenGEMM/releases?per_page=1" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)" 127 + update-source-version miopengemm "$rocmVersion" --ignore-same-hash --version-key=rocmVersion 128 + ''; 129 + 122 130 meta = with lib; { 123 131 description = "OpenCL general matrix multiplication API for ROCm"; 124 132 homepage = "https://github.com/ROCmSoftwarePlatform/MIOpenGEMM"; 125 133 license = with licenses; [ mit ]; 126 - maintainers = with maintainers; [ Madouura ]; 127 - broken = rocmVersion != clang.version; 134 + maintainers = teams.rocm.members; 135 + broken = finalAttrs.rocmVersion != clang.version; 128 136 }; 129 - } 137 + })
+19 -7
pkgs/development/libraries/rccl/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , writeScript 4 5 , cmake 5 6 , rocm-cmake 6 7 , rocm-runtime ··· 15 16 16 17 assert buildTests -> chrpath != null; 17 18 18 - stdenv.mkDerivation rec { 19 + stdenv.mkDerivation (finalAttrs: { 19 20 pname = "rccl"; 20 - rocmVersion = "5.3.1"; 21 - version = "2.12.10-${rocmVersion}"; 21 + repoVersion = "2.12.10"; 22 + rocmVersion = "5.3.3"; 23 + version = "${finalAttrs.repoVersion}-${finalAttrs.rocmVersion}"; 22 24 23 25 outputs = [ 24 26 "out" ··· 29 31 src = fetchFromGitHub { 30 32 owner = "ROCmSoftwarePlatform"; 31 33 repo = "rccl"; 32 - rev = "rocm-${rocmVersion}"; 34 + rev = "rocm-${finalAttrs.rocmVersion}"; 33 35 hash = "sha256-whRXGD8oINDYhFs8+hEWKWoGNqacGlyy7xi8peA8Qsk="; 34 36 }; 35 37 ··· 74 76 rmdir $out/bin 75 77 ''; 76 78 79 + passthru.updateScript = writeScript "update.sh" '' 80 + #!/usr/bin/env nix-shell 81 + #!nix-shell -i bash -p curl jq common-updater-scripts 82 + json="$(curl -sL "https://api.github.com/repos/ROCmSoftwarePlatform/rccl/releases?per_page=1")" 83 + repoVersion="$(echo "$json" | jq '.[0].name | split(" ") | .[1]' --raw-output)" 84 + rocmVersion="$(echo "$json" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)" 85 + update-source-version rccl "$repoVersion" --ignore-same-hash --version-key=repoVersion 86 + update-source-version rccl "$rocmVersion" --ignore-same-hash --version-key=rocmVersion 87 + ''; 88 + 77 89 meta = with lib; { 78 90 description = "ROCm communication collectives library"; 79 91 homepage = "https://github.com/ROCmSoftwarePlatform/rccl"; 80 92 license = with licenses; [ bsd2 bsd3 ]; 81 - maintainers = with maintainers; [ Madouura ]; 82 - broken = rocmVersion != hip.version; 93 + maintainers = teams.rocm.members; 94 + broken = finalAttrs.rocmVersion != hip.version; 83 95 }; 84 - } 96 + })
+20 -8
pkgs/development/libraries/rocblas/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , writeScript 4 5 , fetchpatch 5 6 , cmake 6 7 , rocm-cmake ··· 40 41 assert buildTests == false; 41 42 assert buildBenchmarks == false; 42 43 43 - stdenv.mkDerivation rec { 44 + stdenv.mkDerivation (finalAttrs: { 44 45 pname = "rocblas"; 45 - rocmVersion = "5.3.1"; 46 - version = "2.45.0-${rocmVersion}"; 46 + repoVersion = "2.45.0"; 47 + rocmVersion = "5.3.3"; 48 + version = "${finalAttrs.repoVersion}-${finalAttrs.rocmVersion}"; 47 49 48 50 src = fetchFromGitHub { 49 51 owner = "ROCmSoftwarePlatform"; 50 52 repo = "rocBLAS"; 51 - rev = "rocm-${rocmVersion}"; 52 - hash = "sha256-GeeICEI1dNE6D+nUUlBtUncLkPowAa5n+bsy160EtaU="; 53 + rev = "rocm-${finalAttrs.rocmVersion}"; 54 + hash = "sha256-z40WxF+suMeIZihBWJPRWyL20S2FUbeZb5JewmQWOJo="; 53 55 }; 54 56 55 57 # We currently need this patch due to faulty toolchain includes ··· 126 128 --replace "virtualenv_install(\''${Tensile_TEST_LOCAL_PATH})" "" 127 129 ''; 128 130 131 + passthru.updateScript = writeScript "update.sh" '' 132 + #!/usr/bin/env nix-shell 133 + #!nix-shell -i bash -p curl jq common-updater-scripts 134 + json="$(curl -sL "https://api.github.com/repos/ROCmSoftwarePlatform/rocBLAS/releases?per_page=1")" 135 + repoVersion="$(echo "$json" | jq '.[0].name | split(" ") | .[1]' --raw-output)" 136 + rocmVersion="$(echo "$json" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)" 137 + update-source-version rocblas "$repoVersion" --ignore-same-hash --version-key=repoVersion 138 + update-source-version rocblas "$rocmVersion" --ignore-same-hash --version-key=rocmVersion 139 + ''; 140 + 129 141 meta = with lib; { 130 142 description = "BLAS implementation for ROCm platform"; 131 143 homepage = "https://github.com/ROCmSoftwarePlatform/rocBLAS"; 132 144 license = with licenses; [ mit ]; 133 - maintainers = with maintainers; [ Madouura ]; 134 - broken = rocmVersion != hip.version; 145 + maintainers = teams.rocm.members; 146 + broken = finalAttrs.rocmVersion != hip.version; 135 147 }; 136 - } 148 + })
+6 -6
pkgs/development/libraries/rocclr/default.nix
··· 5 5 , rocm-comgr 6 6 }: 7 7 8 - stdenv.mkDerivation rec { 8 + stdenv.mkDerivation (finalAttrs: { 9 9 pname = "rocclr"; 10 - version = "5.3.1"; 10 + version = "5.3.3"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "ROCm-Developer-Tools"; 14 14 repo = "ROCclr"; 15 - rev = "rocm-${version}"; 15 + rev = "rocm-${finalAttrs.version}"; 16 16 hash = "sha256-dmL9krI/gHGQdOZ53+bQ7WjKcmJ+fZZP0lzF8ITLT4E="; 17 17 }; 18 18 ··· 46 46 #!/usr/bin/env nix-shell 47 47 #!nix-shell -i bash -p curl jq common-updater-scripts 48 48 version="$(curl -sL "https://api.github.com/repos/ROCm-Developer-Tools/ROCclr/tags" | jq '.[].name | split("-") | .[1] | select( . != null )' --raw-output | sort -n | tail -1)" 49 - update-source-version rocclr "$version" 49 + update-source-version rocclr "$version" --ignore-same-hash 50 50 ''; 51 51 52 52 meta = with lib; { 53 53 description = "Source package of the Radeon Open Compute common language runtime"; 54 54 homepage = "https://github.com/ROCm-Developer-Tools/ROCclr"; 55 55 license = licenses.mit; 56 - maintainers = with maintainers; [ lovesegfault Flakebi ]; 56 + maintainers = with maintainers; [ lovesegfault ] ++ teams.rocm.members; 57 57 # rocclr seems to have some AArch64 ifdefs, but does not seem 58 58 # to be supported yet by the build infrastructure. Recheck in 59 59 # the future. 60 60 platforms = [ "x86_64-linux" ]; 61 61 }; 62 - } 62 + })
+19 -7
pkgs/development/libraries/rocfft/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , writeScript 4 5 , cmake 5 6 , rocm-cmake 6 7 , rocm-runtime ··· 24 25 assert (buildTests || buildBenchmarks) -> boost != null; 25 26 assert (buildTests || buildBenchmarks) -> llvmPackages != null; 26 27 27 - stdenv.mkDerivation rec { 28 + stdenv.mkDerivation (finalAttrs: { 28 29 pname = "rocfft"; 29 - rocmVersion = "5.3.1"; 30 - version = "1.0.18-${rocmVersion}"; 30 + repoVersion = "1.0.18"; 31 + rocmVersion = "5.3.3"; 32 + version = "${finalAttrs.repoVersion}-${finalAttrs.rocmVersion}"; 31 33 32 34 outputs = [ 33 35 "out" ··· 40 42 src = fetchFromGitHub { 41 43 owner = "ROCmSoftwarePlatform"; 42 44 repo = "rocFFT"; 43 - rev = "rocm-${rocmVersion}"; 45 + rev = "rocm-${finalAttrs.rocmVersion}"; 44 46 hash = "sha256-jb2F1fRe+YLloYJ/KtzrptUDhmdBDBtddeW/g55owKM="; 45 47 }; 46 48 ··· 104 106 mv $out/rocfft_rtc_helper $out/bin 105 107 ''; 106 108 109 + passthru.updateScript = writeScript "update.sh" '' 110 + #!/usr/bin/env nix-shell 111 + #!nix-shell -i bash -p curl jq common-updater-scripts 112 + json="$(curl -sL "https://api.github.com/repos/ROCmSoftwarePlatform/rocFFT/releases?per_page=1")" 113 + repoVersion="$(echo "$json" | jq '.[0].name | split(" ") | .[1]' --raw-output)" 114 + rocmVersion="$(echo "$json" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)" 115 + update-source-version rocfft "$repoVersion" --ignore-same-hash --version-key=repoVersion 116 + update-source-version rocfft "$rocmVersion" --ignore-same-hash --version-key=rocmVersion 117 + ''; 118 + 107 119 meta = with lib; { 108 120 description = "FFT implementation for ROCm "; 109 121 homepage = "https://github.com/ROCmSoftwarePlatform/rocFFT"; 110 122 license = with licenses; [ mit ]; 111 - maintainers = with maintainers; [ Madouura ]; 112 - broken = rocmVersion != hip.version; 123 + maintainers = teams.rocm.members; 124 + broken = finalAttrs.rocmVersion != hip.version; 113 125 hydraPlatforms = [ ]; # rocFFT produces an extremely large output 114 126 }; 115 - } 127 + })
+6 -6
pkgs/development/libraries/rocm-comgr/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, writeScript, cmake, clang, rocm-device-libs, llvm }: 2 2 3 - stdenv.mkDerivation rec { 3 + stdenv.mkDerivation (finalAttrs: { 4 4 pname = "rocm-comgr"; 5 - version = "5.3.1"; 5 + version = "5.3.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "RadeonOpenCompute"; 9 9 repo = "ROCm-CompilerSupport"; 10 - rev = "rocm-${version}"; 10 + rev = "rocm-${finalAttrs.version}"; 11 11 hash = "sha256-LQyMhqcWm8zqt6138fnT7EOq/F8bG3Iuf04PTemVQmg="; 12 12 }; 13 13 ··· 31 31 #!/usr/bin/env nix-shell 32 32 #!nix-shell -i bash -p curl jq common-updater-scripts 33 33 version="$(curl -sL "https://api.github.com/repos/RadeonOpenCompute/ROCm-CompilerSupport/releases?per_page=1" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)" 34 - update-source-version rocm-comgr "$version" 34 + update-source-version rocm-comgr "$version" --ignore-same-hash 35 35 ''; 36 36 37 37 meta = with lib; { 38 38 description = "APIs for compiling and inspecting AMDGPU code objects"; 39 39 homepage = "https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/tree/amd-stg-open/lib/comgr"; 40 40 license = licenses.ncsa; 41 - maintainers = with maintainers; [ lovesegfault Flakebi ]; 41 + maintainers = with maintainers; [ lovesegfault ] ++ teams.rocm.members; 42 42 platforms = platforms.linux; 43 43 }; 44 - } 44 + })
+6 -6
pkgs/development/libraries/rocm-device-libs/default.nix
··· 6 6 , llvm 7 7 }: 8 8 9 - stdenv.mkDerivation rec { 9 + stdenv.mkDerivation (finalAttrs: { 10 10 pname = "rocm-device-libs"; 11 - version = "5.3.1"; 11 + version = "5.3.3"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "RadeonOpenCompute"; 15 15 repo = "ROCm-Device-Libs"; 16 - rev = "rocm-${version}"; 16 + rev = "rocm-${finalAttrs.version}"; 17 17 hash = "sha256-rKMe0B/pkDek/ZU37trnJNa8aqvlwxobPb1+VTx/bJU="; 18 18 }; 19 19 ··· 33 33 #!/usr/bin/env nix-shell 34 34 #!nix-shell -i bash -p curl jq common-updater-scripts 35 35 version="$(curl -sL "https://api.github.com/repos/RadeonOpenCompute/ROCm-Device-Libs/releases?per_page=1" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)" 36 - update-source-version rocm-device-libs "$version" 36 + update-source-version rocm-device-libs "$version" --ignore-same-hash 37 37 ''; 38 38 39 39 meta = with lib; { 40 40 description = "Set of AMD-specific device-side language runtime libraries"; 41 41 homepage = "https://github.com/RadeonOpenCompute/ROCm-Device-Libs"; 42 42 license = licenses.ncsa; 43 - maintainers = with maintainers; [ lovesegfault Flakebi ]; 43 + maintainers = with maintainers; [ lovesegfault ] ++ teams.rocm.members; 44 44 platforms = platforms.linux; 45 45 }; 46 - } 46 + })
+7 -7
pkgs/development/libraries/rocm-opencl-runtime/default.nix
··· 20 20 , rocm-thunk 21 21 }: 22 22 23 - stdenv.mkDerivation rec { 23 + stdenv.mkDerivation (finalAttrs: { 24 24 pname = "rocm-opencl-runtime"; 25 - version = "5.3.1"; 25 + version = "5.3.3"; 26 26 27 27 src = fetchFromGitHub { 28 28 owner = "RadeonOpenCompute"; 29 29 repo = "ROCm-OpenCL-Runtime"; 30 - rev = "rocm-${version}"; 30 + rev = "rocm-${finalAttrs.version}"; 31 31 hash = "sha256-QvAF25Zfq9d1M/KIsr2S+Ggxzqw/MQ2OVcm9ZNfjTa8="; 32 32 }; 33 33 ··· 49 49 ]; 50 50 51 51 cmakeFlags = [ 52 - "-DAMD_OPENCL_PATH=${src}" 52 + "-DAMD_OPENCL_PATH=${finalAttrs.src}" 53 53 "-DROCCLR_PATH=${rocclr}" 54 54 "-DCPACK_PACKAGING_INSTALL_PREFIX=/opt/rocm/opencl" 55 55 ]; ··· 72 72 #!/usr/bin/env nix-shell 73 73 #!nix-shell -i bash -p curl jq common-updater-scripts 74 74 version="$(curl -sL "https://api.github.com/repos/RadeonOpenCompute/ROCm-OpenCL-Runtime/tags" | jq '.[].name | split("-") | .[1] | select( . != null )' --raw-output | sort -n | tail -1)" 75 - update-source-version rocm-opencl-runtime "$version" 75 + update-source-version rocm-opencl-runtime "$version" --ignore-same-hash 76 76 ''; 77 77 78 78 meta = with lib; { 79 79 description = "OpenCL runtime for AMD GPUs, part of the ROCm stack"; 80 80 homepage = "https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime"; 81 81 license = with licenses; [ asl20 mit ]; 82 - maintainers = with maintainers; [ acowley lovesegfault Flakebi ]; 82 + maintainers = with maintainers; [ acowley lovesegfault ] ++ teams.rocm.members; 83 83 platforms = platforms.linux; 84 84 }; 85 - } 85 + })
+6 -6
pkgs/development/libraries/rocm-runtime/default.nix
··· 13 13 , rocm-device-libs 14 14 , rocm-thunk }: 15 15 16 - stdenv.mkDerivation rec { 16 + stdenv.mkDerivation (finalAttrs: { 17 17 pname = "rocm-runtime"; 18 - version = "5.3.1"; 18 + version = "5.3.3"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "RadeonOpenCompute"; 22 22 repo = "ROCR-Runtime"; 23 - rev = "rocm-${version}"; 23 + rev = "rocm-${finalAttrs.version}"; 24 24 hash = "sha256-26E7vA2JlC50zmpaQfDrFMlgjAqmfTdp9/A8g5caDqI="; 25 25 }; 26 26 ··· 52 52 #!/usr/bin/env nix-shell 53 53 #!nix-shell -i bash -p curl jq common-updater-scripts 54 54 version="$(curl -sL "https://api.github.com/repos/RadeonOpenCompute/ROCR-Runtime/releases?per_page=1" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)" 55 - update-source-version rocm-runtime "$version" 55 + update-source-version rocm-runtime "$version" --ignore-same-hash 56 56 ''; 57 57 58 58 meta = with lib; { 59 59 description = "Platform runtime for ROCm"; 60 60 homepage = "https://github.com/RadeonOpenCompute/ROCR-Runtime"; 61 61 license = with licenses; [ ncsa ]; 62 - maintainers = with maintainers; [ lovesegfault Flakebi ]; 62 + maintainers = with maintainers; [ lovesegfault ] ++ teams.rocm.members; 63 63 }; 64 - } 64 + })
+6 -6
pkgs/development/libraries/rocm-thunk/default.nix
··· 7 7 , numactl 8 8 }: 9 9 10 - stdenv.mkDerivation rec { 10 + stdenv.mkDerivation (finalAttrs: { 11 11 pname = "rocm-thunk"; 12 - version = "5.3.1"; 12 + version = "5.3.3"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "RadeonOpenCompute"; 16 16 repo = "ROCT-Thunk-Interface"; 17 - rev = "rocm-${version}"; 17 + rev = "rocm-${finalAttrs.version}"; 18 18 hash = "sha256-cM78Bx6uYsxhvdqSVNgmqOUYQnUJVCA7mNpRNNSFv6k="; 19 19 }; 20 20 ··· 41 41 #!/usr/bin/env nix-shell 42 42 #!nix-shell -i bash -p curl jq common-updater-scripts 43 43 version="$(curl -sL "https://api.github.com/repos/RadeonOpenCompute/ROCT-Thunk-Interface/tags" | jq '.[].name | split("-") | .[1] | select( . != null )' --raw-output | sort -n | tail -1)" 44 - update-source-version rocm-thunk "$version" 44 + update-source-version rocm-thunk "$version" --ignore-same-hash 45 45 ''; 46 46 47 47 meta = with lib; { 48 48 description = "Radeon open compute thunk interface"; 49 49 homepage = "https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface"; 50 50 license = with licenses; [ bsd2 mit ]; 51 - maintainers = with maintainers; [ lovesegfault Flakebi ]; 51 + maintainers = with maintainers; [ lovesegfault ] ++ teams.rocm.members; 52 52 }; 53 - } 53 + })
+15 -8
pkgs/development/libraries/rocmlir/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , writeScript 4 5 , cmake 5 6 , hip 6 7 , python3 7 8 }: 8 9 9 - stdenv.mkDerivation rec { 10 + stdenv.mkDerivation (finalAttrs: { 10 11 pname = "rocmlir"; 11 - rocmVersion = "5.3.1"; 12 - # For some reason they didn't add a tag for 5.3.1, should be compatible, change to rocmVersion later 13 - version = "5.3.0"; 12 + rocmVersion = "5.3.3"; 13 + version = finalAttrs.rocmVersion; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "ROCmSoftwarePlatform"; 17 17 repo = "rocMLIR"; 18 - rev = "rocm-${version}"; # change to rocmVersion later 18 + rev = "rocm-${finalAttrs.rocmVersion}"; 19 19 hash = "sha256-s/5gAH5vh2tgATZemPP66juQFDg8BR2sipzX2Q6pOOQ="; 20 20 }; 21 21 ··· 32 32 "-DBUILD_FAT_LIBMLIRMIOPEN=ON" 33 33 ]; 34 34 35 + passthru.updateScript = writeScript "update.sh" '' 36 + #!/usr/bin/env nix-shell 37 + #!nix-shell -i bash -p curl jq common-updater-scripts 38 + rocmVersion="$(curl -sL "https://api.github.com/repos/ROCmSoftwarePlatform/rocMLIR/tags?per_page=2" | jq '.[1].name | split("-") | .[1]' --raw-output)" 39 + update-source-version rocmlir "$rocmVersion" --ignore-same-hash --version-key=rocmVersion 40 + ''; 41 + 35 42 meta = with lib; { 36 43 description = "MLIR-based convolution and GEMM kernel generator"; 37 44 homepage = "https://github.com/ROCmSoftwarePlatform/rocMLIR"; 38 45 license = with licenses; [ asl20 ]; 39 - maintainers = with maintainers; [ Madouura ]; 40 - broken = rocmVersion != hip.version; 46 + maintainers = teams.rocm.members; 47 + broken = finalAttrs.rocmVersion != hip.version; 41 48 }; 42 - } 49 + })
+20 -8
pkgs/development/libraries/rocprim/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , writeScript 4 5 , cmake 5 6 , rocm-cmake 6 7 , rocm-runtime ··· 16 17 assert buildTests -> gtest != null; 17 18 assert buildBenchmarks -> gbenchmark != null; 18 19 19 - stdenv.mkDerivation rec { 20 + stdenv.mkDerivation (finalAttrs: { 20 21 pname = "rocprim"; 21 - rocmVersion = "5.3.1"; 22 - version = "2.11.0-${rocmVersion}"; 22 + repoVersion = "2.11.1"; 23 + rocmVersion = "5.3.3"; 24 + version = "${finalAttrs.repoVersion}-${finalAttrs.rocmVersion}"; 23 25 24 26 outputs = [ 25 27 "out" ··· 32 34 src = fetchFromGitHub { 33 35 owner = "ROCmSoftwarePlatform"; 34 36 repo = "rocPRIM"; 35 - rev = "rocm-${rocmVersion}"; 36 - hash = "sha256-aapvj9bwwlg7VJfnH1PVR8DulMcJh1xR6B4rPPGU6Q4="; 37 + rev = "rocm-${finalAttrs.rocmVersion}"; 38 + hash = "sha256-jfTuGEPyssARpdo0ZnfVJt0MBkoHnmBtf6Zg4xXNJ1U="; 37 39 }; 38 40 39 41 nativeBuildInputs = [ ··· 75 77 rmdir $out/bin 76 78 ''; 77 79 80 + passthru.updateScript = writeScript "update.sh" '' 81 + #!/usr/bin/env nix-shell 82 + #!nix-shell -i bash -p curl jq common-updater-scripts 83 + json="$(curl -sL "https://api.github.com/repos/ROCmSoftwarePlatform/rocPRIM/releases?per_page=1")" 84 + repoVersion="$(echo "$json" | jq '.[0].name | split(" ") | .[1]' --raw-output)" 85 + rocmVersion="$(echo "$json" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)" 86 + update-source-version rocprim "$repoVersion" --ignore-same-hash --version-key=repoVersion 87 + update-source-version rocprim "$rocmVersion" --ignore-same-hash --version-key=rocmVersion 88 + ''; 89 + 78 90 meta = with lib; { 79 91 description = "ROCm parallel primitives"; 80 92 homepage = "https://github.com/ROCmSoftwarePlatform/rocPRIM"; 81 93 license = with licenses; [ mit ]; 82 - maintainers = with maintainers; [ Madouura ]; 83 - broken = rocmVersion != hip.version; 94 + maintainers = teams.rocm.members; 95 + broken = finalAttrs.rocmVersion != hip.version; 84 96 }; 85 - } 97 + })
+19 -7
pkgs/development/libraries/rocsparse/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , writeScript 4 5 , cmake 5 6 , rocm-cmake 6 7 , rocm-runtime ··· 29 30 mirror1 = "https://sparse.tamu.edu/MM"; 30 31 mirror2 = "https://www.cise.ufl.edu/research/sparse/MM"; 31 32 }; 32 - in stdenv.mkDerivation rec { 33 + in stdenv.mkDerivation (finalAttrs: { 33 34 pname = "rocsparse"; 34 - rocmVersion = "5.3.1"; 35 - version = "2.3.2-${rocmVersion}"; 35 + repoVersion = "2.3.2"; 36 + rocmVersion = "5.3.3"; 37 + version = "${finalAttrs.repoVersion}-${finalAttrs.rocmVersion}"; 36 38 37 39 outputs = [ 38 40 "out" ··· 45 47 src = fetchFromGitHub { 46 48 owner = "ROCmSoftwarePlatform"; 47 49 repo = "rocSPARSE"; 48 - rev = "rocm-${rocmVersion}"; 50 + rev = "rocm-${finalAttrs.rocmVersion}"; 49 51 hash = "sha256-1069oBrIpZ4M9CAkzoQ9a5j3WlCXErirTbgTUZuT6b0="; 50 52 }; 51 53 ··· 138 140 rmdir $out/bin 139 141 ''; 140 142 143 + passthru.updateScript = writeScript "update.sh" '' 144 + #!/usr/bin/env nix-shell 145 + #!nix-shell -i bash -p curl jq common-updater-scripts 146 + json="$(curl -sL "https://api.github.com/repos/ROCmSoftwarePlatform/rocSPARSE/releases?per_page=1")" 147 + repoVersion="$(echo "$json" | jq '.[0].name | split(" ") | .[1]' --raw-output)" 148 + rocmVersion="$(echo "$json" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)" 149 + update-source-version rocsparse "$repoVersion" --ignore-same-hash --version-key=repoVersion 150 + update-source-version rocsparse "$rocmVersion" --ignore-same-hash --version-key=rocmVersion 151 + ''; 152 + 141 153 meta = with lib; { 142 154 description = "ROCm SPARSE implementation"; 143 155 homepage = "https://github.com/ROCmSoftwarePlatform/rocSPARSE"; 144 156 license = with licenses; [ mit ]; 145 - maintainers = with maintainers; [ Madouura ]; 146 - broken = rocmVersion != hip.version; 157 + maintainers = teams.rocm.members; 158 + broken = finalAttrs.rocmVersion != hip.version; 147 159 }; 148 - } 160 + })
+20 -8
pkgs/development/libraries/rocthrust/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , writeScript 4 5 , cmake 5 6 , rocm-cmake 6 7 , rocm-runtime ··· 20 21 assert buildTests == false; 21 22 assert buildBenchmarks == false; 22 23 23 - stdenv.mkDerivation rec { 24 + stdenv.mkDerivation (finalAttrs: { 24 25 pname = "rocthrust"; 25 - rocmVersion = "5.3.1"; 26 - version = "2.16.0-${rocmVersion}"; 26 + repoVersion = "2.16.0"; 27 + rocmVersion = "5.3.3"; 28 + version = "${finalAttrs.repoVersion}-${finalAttrs.rocmVersion}"; 27 29 28 30 # Comment out these outputs until tests/benchmarks are fixed (upstream?) 29 31 # outputs = [ ··· 37 39 src = fetchFromGitHub { 38 40 owner = "ROCmSoftwarePlatform"; 39 41 repo = "rocThrust"; 40 - rev = "rocm-${rocmVersion}"; 41 - hash = "sha256-cT0VyEVz86xR6qubAY2ncTxtCRTwXrNTWcFyf3mV+y0="; 42 + rev = "rocm-${finalAttrs.rocmVersion}"; 43 + hash = "sha256-WODOeWWL0AOYu0djwDlVZuiJDxcchsAT7BFG9JKYScw="; 42 44 }; 43 45 44 46 nativeBuildInputs = [ ··· 81 83 # rmdir $out/bin 82 84 # ''; 83 85 86 + passthru.updateScript = writeScript "update.sh" '' 87 + #!/usr/bin/env nix-shell 88 + #!nix-shell -i bash -p curl jq common-updater-scripts 89 + json="$(curl -sL "https://api.github.com/repos/ROCmSoftwarePlatform/rocThrust/releases?per_page=1")" 90 + repoVersion="$(echo "$json" | jq '.[0].name | split(" ") | .[1]' --raw-output)" 91 + rocmVersion="$(echo "$json" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)" 92 + update-source-version rocthrust "$repoVersion" --ignore-same-hash --version-key=repoVersion 93 + update-source-version rocthrust "$rocmVersion" --ignore-same-hash --version-key=rocmVersion 94 + ''; 95 + 84 96 meta = with lib; { 85 97 description = "ROCm parallel algorithm library"; 86 98 homepage = "https://github.com/ROCmSoftwarePlatform/rocThrust"; 87 99 license = with licenses; [ asl20 ]; 88 - maintainers = with maintainers; [ Madouura ]; 89 - broken = rocmVersion != hip.version; 100 + maintainers = teams.rocm.members; 101 + broken = finalAttrs.rocmVersion != hip.version; 90 102 }; 91 - } 103 + })
+16 -4
pkgs/development/libraries/tensile/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , writeScript 4 5 , buildPythonPackage 5 6 , pyyaml 6 7 , msgpack ··· 9 10 10 11 buildPythonPackage rec { 11 12 pname = "tensile"; 12 - rocmVersion = "5.3.1"; 13 - version = "4.34.0-${rocmVersion}"; 13 + repoVersion = "4.34.0"; 14 + rocmVersion = "5.3.3"; 15 + version = "${repoVersion}-${rocmVersion}"; 14 16 15 17 src = fetchFromGitHub { 16 18 owner = "ROCmSoftwarePlatform"; 17 19 repo = "Tensile"; 18 20 rev = "rocm-${rocmVersion}"; 19 - hash = "sha256-QWt/zzBrZKM8h3MTnbLX4vN3p6cCQvo67U1C2yqAQxw="; 21 + hash = "sha256-6A7REYdIw/ZmjrJh7B+wCXZMleh4bf04TFpRItPtctA="; 20 22 }; 21 23 22 24 buildInputs = [ ··· 25 27 pandas 26 28 ]; 27 29 30 + passthru.updateScript = writeScript "update.sh" '' 31 + #!/usr/bin/env nix-shell 32 + #!nix-shell -i bash -p curl jq common-updater-scripts 33 + json="$(curl -sL "https://api.github.com/repos/ROCmSoftwarePlatform/Tensile/releases?per_page=1")" 34 + repoVersion="$(echo "$json" | jq '.[0].name | split(" ") | .[1]' --raw-output)" 35 + rocmVersion="$(echo "$json" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)" 36 + update-source-version tensile "$repoVersion" --ignore-same-hash --version-key=repoVersion 37 + update-source-version tensile "$rocmVersion" --ignore-same-hash --version-key=rocmVersion 38 + ''; 39 + 28 40 meta = with lib; { 29 41 description = "GEMMs and tensor contractions"; 30 42 homepage = "https://github.com/ROCmSoftwarePlatform/Tensile"; 31 43 license = with licenses; [ mit ]; 32 - maintainers = with maintainers; [ Madouura ]; 44 + maintainers = teams.rocm.members; 33 45 }; 34 46 }
+6 -6
pkgs/development/tools/build-managers/rocm-cmake/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, writeScript, cmake }: 2 2 3 - stdenv.mkDerivation rec { 3 + stdenv.mkDerivation (finalAttrs: { 4 4 pname = "rocm-cmake"; 5 - version = "5.3.1"; 5 + version = "5.3.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "RadeonOpenCompute"; 9 9 repo = "rocm-cmake"; 10 - rev = "rocm-${version}"; 10 + rev = "rocm-${finalAttrs.version}"; 11 11 hash = "sha256-AOn3SLprHdeo2FwojQdhRAttUHuaWkO6WlymK8Q8lbc="; 12 12 }; 13 13 ··· 17 17 #!/usr/bin/env nix-shell 18 18 #!nix-shell -i bash -p curl jq common-updater-scripts 19 19 version="$(curl -sL "https://api.github.com/repos/RadeonOpenCompute/rocm-cmake/tags" | jq '.[].name | split("-") | .[1] | select( . != null )' --raw-output | sort -n | tail -1)" 20 - update-source-version rocm-cmake "$version" 20 + update-source-version rocm-cmake "$version" --ignore-same-hash 21 21 ''; 22 22 23 23 meta = with lib; { 24 24 description = "CMake modules for common build tasks for the ROCm stack"; 25 25 homepage = "https://github.com/RadeonOpenCompute/rocm-cmake"; 26 26 license = licenses.mit; 27 - maintainers = with maintainers; [ Flakebi ]; 27 + maintainers = teams.rocm.members; 28 28 platforms = platforms.unix; 29 29 }; 30 - } 30 + })
+6 -6
pkgs/development/tools/rocminfo/default.nix
··· 6 6 # Polaris) such that no system call is needed for downstream 7 7 # compilers to determine the desired target. 8 8 , defaultTargets ? []}: 9 - stdenv.mkDerivation rec { 10 - version = "5.3.1"; 9 + stdenv.mkDerivation (finalAttrs: { 10 + version = "5.3.3"; 11 11 pname = "rocminfo"; 12 12 src = fetchFromGitHub { 13 13 owner = "RadeonOpenCompute"; 14 14 repo = "rocminfo"; 15 - rev = "rocm-${version}"; 15 + rev = "rocm-${finalAttrs.version}"; 16 16 sha256 = "sha256-4wZTm5AZgG8xEd6uYqxWq4bWZgcSYZ2WYA1z4RAPF8U="; 17 17 }; 18 18 ··· 41 41 #!/usr/bin/env nix-shell 42 42 #!nix-shell -i bash -p curl jq common-updater-scripts 43 43 version="$(curl -sL "https://api.github.com/repos/RadeonOpenCompute/rocminfo/tags" | jq '.[].name | split("-") | .[1] | select( . != null )' --raw-output | sort -n | tail -1)" 44 - update-source-version rocminfo "$version" 44 + update-source-version rocminfo "$version" --ignore-same-hash 45 45 ''; 46 46 47 47 meta = with lib; { 48 48 description = "ROCm Application for Reporting System Info"; 49 49 homepage = "https://github.com/RadeonOpenCompute/rocminfo"; 50 50 license = licenses.ncsa; 51 - maintainers = with maintainers; [ lovesegfault Flakebi ]; 51 + maintainers = with maintainers; [ lovesegfault ] ++ teams.rocm.members; 52 52 platforms = platforms.linux; 53 53 broken = stdenv.isAarch64; 54 54 }; 55 - } 55 + })
+6 -6
pkgs/tools/system/rocm-smi/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, writeScript, cmake, wrapPython }: 2 2 3 - stdenv.mkDerivation rec { 3 + stdenv.mkDerivation (finalAttrs: { 4 4 pname = "rocm-smi"; 5 - version = "5.3.1"; 5 + version = "5.3.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "RadeonOpenCompute"; 9 9 repo = "rocm_smi_lib"; 10 - rev = "rocm-${version}"; 10 + rev = "rocm-${finalAttrs.version}"; 11 11 hash = "sha256-UbGbkH2vhQ9gv3sSoG+mXap+MdcrP61TN5DcP5F/5nQ="; 12 12 }; 13 13 ··· 23 23 #!/usr/bin/env nix-shell 24 24 #!nix-shell -i bash -p curl jq common-updater-scripts 25 25 version="$(curl -sL "https://api.github.com/repos/RadeonOpenCompute/rocm_smi_lib/releases?per_page=1" | jq '.[0].tag_name | split("-") | .[1]' --raw-output)" 26 - update-source-version rocm-smi "$version" 26 + update-source-version rocm-smi "$version" --ignore-same-hash 27 27 ''; 28 28 29 29 meta = with lib; { 30 30 description = "System management interface for AMD GPUs supported by ROCm"; 31 31 homepage = "https://github.com/RadeonOpenCompute/rocm_smi_lib"; 32 32 license = with licenses; [ mit ]; 33 - maintainers = with maintainers; [ lovesegfault Flakebi ]; 33 + maintainers = with maintainers; [ lovesegfault ] ++ teams.rocm.members; 34 34 platforms = [ "x86_64-linux" ]; 35 35 }; 36 - } 36 + })