Unverified Commit 6f3f5b64 authored by Madoura's avatar Madoura
Browse files

rocmPackages.roctracer: make roctracer free again

parent 39b6fcc8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -95,8 +95,7 @@ let

    paths = with rocmPackages; [
      rocm-core clr rccl miopen miopengemm rocrand rocblas
      rocsparse hipsparse rocthrust rocprim hipcub
      roctracer # Unfree at the moment due to hsa-amd-aqlprofile hard dependency in rocprofiler
      rocsparse hipsparse rocthrust rocprim hipcub roctracer
      rocfft rocsolver hipfft hipsolver hipblas
      rocminfo rocm-thunk rocm-comgr rocm-device-libs
      rocm-runtime clr.icd hipify
+1 −2
Original line number Diff line number Diff line
@@ -111,8 +111,7 @@ in rec {

  # Needs GCC
  roctracer = callPackage ./roctracer {
    inherit rocmUpdateScript rocm-device-libs rocm-runtime rocprofiler clr;
    inherit (llvm) clang;
    inherit rocmUpdateScript rocm-device-libs rocm-runtime clr;
  };

  # Needs GCC
+2 −4
Original line number Diff line number Diff line
@@ -3,14 +3,13 @@
, fetchFromGitHub
, rocmUpdateScript
, cmake
, clang
, clr
, rocm-device-libs
, rocprofiler
, libxml2
, doxygen
, graphviz
, gcc-unwrapped
, libbacktrace
, rocm-runtime
, python3Packages
, buildDocs ? false # Nothing seems to be generated, so not making the output
@@ -38,7 +37,6 @@ stdenv.mkDerivation (finalAttrs: {

  nativeBuildInputs = [
    cmake
    clang
    clr
  ] ++ lib.optionals buildDocs [
    doxygen
@@ -46,8 +44,8 @@ stdenv.mkDerivation (finalAttrs: {
  ];

  buildInputs = [
    rocprofiler
    libxml2
    libbacktrace
    python3Packages.python
    python3Packages.cppheaderparser
  ];