rgp: 1.9 -> 1.10

This commit is contained in:
Sebastian Neubauer 2021-04-22 18:56:11 +02:00
parent e39242130f
commit 2819d5ea23

View File

@ -19,15 +19,15 @@
}: }:
let let
buildNum = "2020-11-19-376"; buildNum = "2021-03-31-696";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "rgp"; pname = "rgp";
version = "1.9"; version = "1.10";
src = fetchurl { src = fetchurl {
url = "https://gpuopen.com/download/radeon-developer-tool-suite/RadeonDeveloperToolSuite-${buildNum}.tgz"; url = "https://gpuopen.com/download/radeon-developer-tool-suite/RadeonDeveloperToolSuite-${buildNum}.tgz";
sha256 = "f71ibuMerd0SmXKSDjaTj7xtyy1dWzkZ5s0PlGtQ1+k="; sha256 = "1GUV75KpYbeq7KkE86QqTfGnf/t3VEgviaAsbg/LWJI=";
}; };
nativeBuildInputs = [ makeWrapper autoPatchelfHook ]; nativeBuildInputs = [ makeWrapper autoPatchelfHook ];
@ -59,6 +59,9 @@ stdenv.mkDerivation rec {
mkdir -p $out/opt/rgp $out/bin mkdir -p $out/opt/rgp $out/bin
cp -r . $out/opt/rgp/ cp -r . $out/opt/rgp/
chmod +x $out/opt/rgp/scripts/*
patchShebangs $out/opt/rgp/scripts
for prog in RadeonDeveloperPanel RadeonDeveloperService RadeonDeveloperServiceCLI RadeonGPUAnalyzer RadeonGPUProfiler rga rtda; do for prog in RadeonDeveloperPanel RadeonDeveloperService RadeonDeveloperServiceCLI RadeonGPUAnalyzer RadeonGPUProfiler rga rtda; do
# makeWrapper is needed so that executables are started from the opt # makeWrapper is needed so that executables are started from the opt
# directory, where qt.conf and other tools are # directory, where qt.conf and other tools are