Loading pkgs/development/rocm-modules/default.nix +2 −0 Original line number Diff line number Diff line Loading @@ -88,6 +88,8 @@ let inherit (llvm) clang; }; rocprof-compute-viewer = self.callPackage ./rocprof-compute-viewer { }; rocprof-trace-decoder = self.callPackage ./rocprof-trace-decoder { }; roctracer = self.callPackage ./roctracer { }; Loading pkgs/development/rocm-modules/rocprof-compute-viewer/default.nix 0 → 100644 +53 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, cmake, ninja, nix-update-script, qt6, }: stdenv.mkDerivation (finalAttrs: { pname = "rocprof-compute-viewer"; version = "0.1.6"; src = fetchFromGitHub { owner = "ROCm"; repo = "rocprof-compute-viewer"; rev = finalAttrs.version; hash = "sha256-hjwqU5TxV4p2EjGy5haQfQqItVtYMI7i/VIfrKZvqhE="; }; nativeBuildInputs = [ cmake ninja qt6.wrapQtAppsHook ]; buildInputs = [ qt6.qtbase ]; # tries to use qt_deploy_runtime_dependencies, but wrapQtAppsHook # handles that instead postPatch = '' substituteInPlace CMakeLists.txt \ --replace-fail 'install(SCRIPT ''${deploy_script})' "" ''; cmakeFlags = [ (lib.cmakeFeature "QT_VERSION_MAJOR" "6") (lib.cmakeBool "RCV_DISABLE_OPENGL" true) ]; passthru.updateScript = nix-update-script { }; meta = { description = "Visualization tool for AMD GPU thread traces from rocprofv3 --att"; homepage = "https://github.com/ROCm/rocprof-compute-viewer"; license = lib.licenses.mit; platforms = lib.platforms.linux; mainProgram = "rocprof-compute-viewer"; }; }) Loading
pkgs/development/rocm-modules/default.nix +2 −0 Original line number Diff line number Diff line Loading @@ -88,6 +88,8 @@ let inherit (llvm) clang; }; rocprof-compute-viewer = self.callPackage ./rocprof-compute-viewer { }; rocprof-trace-decoder = self.callPackage ./rocprof-trace-decoder { }; roctracer = self.callPackage ./roctracer { }; Loading
pkgs/development/rocm-modules/rocprof-compute-viewer/default.nix 0 → 100644 +53 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, cmake, ninja, nix-update-script, qt6, }: stdenv.mkDerivation (finalAttrs: { pname = "rocprof-compute-viewer"; version = "0.1.6"; src = fetchFromGitHub { owner = "ROCm"; repo = "rocprof-compute-viewer"; rev = finalAttrs.version; hash = "sha256-hjwqU5TxV4p2EjGy5haQfQqItVtYMI7i/VIfrKZvqhE="; }; nativeBuildInputs = [ cmake ninja qt6.wrapQtAppsHook ]; buildInputs = [ qt6.qtbase ]; # tries to use qt_deploy_runtime_dependencies, but wrapQtAppsHook # handles that instead postPatch = '' substituteInPlace CMakeLists.txt \ --replace-fail 'install(SCRIPT ''${deploy_script})' "" ''; cmakeFlags = [ (lib.cmakeFeature "QT_VERSION_MAJOR" "6") (lib.cmakeBool "RCV_DISABLE_OPENGL" true) ]; passthru.updateScript = nix-update-script { }; meta = { description = "Visualization tool for AMD GPU thread traces from rocprofv3 --att"; homepage = "https://github.com/ROCm/rocprof-compute-viewer"; license = lib.licenses.mit; platforms = lib.platforms.linux; mainProgram = "rocprof-compute-viewer"; }; })