anchor.diff:  , lld
   , llvm
   , mesa
  -, python2
  +, numactl
  +, python3
   , rocclr
   , rocm-comgr
   , rocm-device-libs
  
positive.code:   ];
  
    cmakeFlags = [
      "-DAMDGPU_TARGET_TRIPLE='amdgcn-amd-amdhsa'"
      "-DCLANG_OPTIONS_APPEND=-Wno-bitwise-conditional-parentheses"
      "-DClang_DIR=${clang-unwrapped}/lib/cmake/clang"
      "-DLIBROCclr_STATIC_DIR=${rocclr}/lib/cmake"
      "-DLLVM_DIR=${llvm.out}/lib/cmake/llvm"
      "-DUSE_COMGR_LIBRARY='yes'"
    ];
  
    dontStrip = true;
  
negative.code: 
  stdenv.mkDerivation rec {
    pname = "rocm-opencl-runtime";
    version = "4.5.2";
  
    src = fetchFromGitHub {
      owner = "RadeonOpenCompute";
      repo = "ROCm-OpenCL-Runtime";
      rev = "rocm-${version}";
      hash = "sha256-0OGYF4urlscr8tMkQwo2yATXwN0DjB092KQ+CBEhfIA=";
    };
  
    nativeBuildInputs = [ cmake rocm-cmake ];
  