Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bd01bae1e947
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 341aa3d3e04c
Choose a head ref
  • 10 commits
  • 10 files changed
  • 1 contributor

Commits on Nov 3, 2020

  1. rocm-thunk: 3.8.0 -> 3.9.0

    danieldk committed Nov 3, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    blink1073 Steven Silvester
    Copy the full SHA
    a8c7df4 View commit details
  2. llvmPackages_rocm: 3.8.0 -> 3.9.0

    Also fix lld path in the installed CMake files.
    danieldk committed Nov 3, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    blink1073 Steven Silvester
    Copy the full SHA
    adcf197 View commit details
  3. Copy the full SHA
    ea37ad6 View commit details
  4. Copy the full SHA
    dbbfdc0 View commit details
  5. rocm-comgr: 3.8.0 -> 3.9.0

    danieldk committed Nov 3, 2020
    Copy the full SHA
    b13def4 View commit details
  6. rocm-cmake: 3.8.0 -> 3.9.0

    danieldk committed Nov 3, 2020
    Copy the full SHA
    7b14f86 View commit details
  7. rocclr: 3.8.0 -> 3.9.0

    danieldk committed Nov 3, 2020
    Copy the full SHA
    95ae7ef View commit details
  8. Copy the full SHA
    e3154db View commit details
  9. rocm-smi: 3.8.0 -> 3.9.0

    danieldk committed Nov 3, 2020
    Copy the full SHA
    92719cc View commit details

Commits on Nov 5, 2020

  1. Merge pull request #102602 from danieldk/rocm-3.9.0

    Update ROCm to 3.9.0
    danieldk authored Nov 5, 2020
    Copy the full SHA
    341aa3d View commit details
4 changes: 2 additions & 2 deletions pkgs/development/compilers/llvm/rocm/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ stdenv, fetchFromGitHub, callPackage, wrapCCWith }:

let
version = "3.8.0";
version = "3.9.0";
src = fetchFromGitHub {
owner = "RadeonOpenCompute";
repo = "llvm-project";
rev = "rocm-${version}";
sha256 = "19771lxqbm7yhsy06s4bk7amiryrfdbc0jawribw063l7n599xs6";
sha256 = "01ljx6mhix3z2pgddgn0ymhrsbigs1nqlz3kkwkr6p2igprrly9f";
};
in rec {
clang = wrapCCWith rec {
4 changes: 4 additions & 0 deletions pkgs/development/compilers/llvm/rocm/lld.nix
Original file line number Diff line number Diff line change
@@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
postInstall = ''
moveToOutput include "$dev"
moveToOutput lib "$dev"
# Fix lld binary path for CMake.
substituteInPlace "$dev/lib/cmake/lld/LLDTargets-release.cmake" \
--replace "\''${_IMPORT_PREFIX}/bin/lld" "$out/bin/lld"
'';

meta = with stdenv.lib; {
7 changes: 5 additions & 2 deletions pkgs/development/libraries/rocclr/default.nix
Original file line number Diff line number Diff line change
@@ -15,13 +15,13 @@

stdenv.mkDerivation rec {
pname = "rocclr";
version = "3.8.0";
version = "3.9.0";

src = fetchFromGitHub {
owner = "ROCm-Developer-Tools";
repo = "ROCclr";
rev = "rocm-${version}";
sha256 = "05vh70qh6jb7038b1rcmz24bg4an0nw98bv2vn3jcyygj4dr3fmf";
sha256 = "193pd6lbnfjrmqsrlvkpadxxi908a9r0c41y8x1bkbbaviad39q0";
};

nativeBuildInputs = [ cmake rocm-cmake ];
@@ -46,7 +46,10 @@ stdenv.mkDerivation rec {
];

preFixup = ''
# Work around broken cmake files
ln -s $out/include/compiler/lib/include/* $out/include
ln -s $out/include/elf/elfio $out/include/elfio
substituteInPlace $out/lib/cmake/rocclr/ROCclrConfig.cmake \
--replace "/build/source/build" "$out"
'';
4 changes: 2 additions & 2 deletions pkgs/development/libraries/rocm-comgr/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "rocm-comgr";
version = "3.8.0";
version = "3.9.0";

src = fetchFromGitHub {
owner = "RadeonOpenCompute";
repo = "ROCm-CompilerSupport";
rev = "rocm-${version}";
sha256 = "05gs282kqnz7lf3b8r1908zk05dbzdx02ar2ns2900fas1l27qc1";
sha256 = "1lwgr6x2b6jisc2nxvr9m24zrc7f2vcgrbkj9sf2blpha61xgk14";
};

sourceRoot = "source/lib/comgr";
4 changes: 2 additions & 2 deletions pkgs/development/libraries/rocm-device-libs/default.nix
Original file line number Diff line number Diff line change
@@ -9,13 +9,13 @@

stdenv.mkDerivation rec {
pname = "rocm-device-libs";
version = "3.8.0";
version = "3.9.0";

src = fetchFromGitHub {
owner = "RadeonOpenCompute";
repo = "ROCm-Device-Libs";
rev = "rocm-${version}";
sha256 = "0kgsp22rbg09q09n36j1vfs9v8x0liap3ycnqyn1g7dxy38kqmi4";
sha256 = "1nil0nhlkszslgvqhim5vmcp3flfafydviq0zk7db8i6z17kq090";
};

nativeBuildInputs = [ cmake ];
4 changes: 2 additions & 2 deletions pkgs/development/libraries/rocm-opencl-runtime/default.nix
Original file line number Diff line number Diff line change
@@ -21,13 +21,13 @@

stdenv.mkDerivation rec {
pname = "rocm-opencl-runtime";
version = "3.8.0";
version = "3.9.0";

src = fetchFromGitHub {
owner = "RadeonOpenCompute";
repo = "ROCm-OpenCL-Runtime";
rev = "rocm-${version}";
sha256 = "07zc6ww92nsq1z0gcp1sfhqsk0jkrjnv9cnw5akh471f7n7jiznm";
sha256 = "1qsgswm1wl2wknhgy6c9l6dnj0z1kwddimdzjmvjcpyxq987y2gv";
};

nativeBuildInputs = [ cmake rocm-cmake ];
6 changes: 3 additions & 3 deletions pkgs/development/libraries/rocm-runtime/default.nix
Original file line number Diff line number Diff line change
@@ -11,13 +11,13 @@

stdenv.mkDerivation rec {
pname = "rocm-runtime";
version = "3.8.0";
version = "3.9.0";

src = fetchFromGitHub {
owner = "RadeonOpenCompute";
repo = "ROCR-Runtime";
rev = "rocm-${version}";
sha256 = "1lm4cbx1d727zll85vjc1kykc72mk82nfhyyhjljv82gd4mnz00c";
sha256 = "034qbqznfligg4lwd95zmqa7lwcda720zbfv066nqvarlcml0kr6";
};

sourceRoot = "source/src";
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
buildInputs = [ clang-unwrapped elfutils llvm ];

cmakeFlags = [
"-DBITCODE_DIR=${rocm-device-libs}/lib"
"-DBITCODE_DIR=${rocm-device-libs}/amdgcn/bitcode"
"-DCMAKE_PREFIX_PATH=${rocm-thunk}"
];

4 changes: 2 additions & 2 deletions pkgs/development/libraries/rocm-thunk/default.nix
Original file line number Diff line number Diff line change
@@ -7,13 +7,13 @@

stdenv.mkDerivation rec {
pname = "rocm-thunk";
version = "3.8.0";
version = "3.9.0";

src = fetchFromGitHub {
owner = "RadeonOpenCompute";
repo = "ROCT-Thunk-Interface";
rev = "rocm-${version}";
sha256 = "00xrwxndah2frdggqniz1j4s46ha3dav8qlnxm3gk9m4b80m774k";
sha256 = "0xkp50ik7miz9whywnmiiqiamc7g8flfr9g8c02kxr0cay1in6cj";
};

preConfigure = ''
4 changes: 2 additions & 2 deletions pkgs/development/tools/build-managers/rocm-cmake/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "rocm-cmake";
version = "3.8.0";
version = "3.9.0";

src = fetchFromGitHub {
owner = "RadeonOpenCompute";
repo = "rocm-cmake";
rev = "rocm-${version}";
sha256 = "1x1mj1acarhin319zycms8sqm9ylw2mcdbkpqjlb8yfsgiaa99ja";
sha256 = "13j7gmcy1j6qsydgccmgiacg6sj38l5mlwn4ck8qizl0cpc14gfm";
};

nativeBuildInputs = [ cmake ];
4 changes: 2 additions & 2 deletions pkgs/tools/system/rocm-smi/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

buildPythonApplication rec {
pname = "rocm-smi";
version = "3.8.0";
version = "3.9.0";

src = fetchFromGitHub {
owner = "RadeonOpenCompute";
repo = "ROC-smi";
rev = "rocm-${version}";
sha256 = "00g9cbni73x9da05lx7hiffp303mdkj1wpxiavfylr4q4z84yhrz";
sha256 = "190x31s7mjpyp7hr6cgdnvn2s20qj3sqcxywycjm2i9ar429l2ni";
};

format = "other";