Unverified Commit d23d7c02 authored by abysssol's avatar abysssol Committed by GitHub
Browse files

Merge pull request #324206 from abysssol/ollama-rocm-libpath

ollama: add necessary `/lib` suffix to fix rocm
parents dbb0ec22 2e750d41
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -126,7 +126,7 @@ let
    # until these llama-cpp binaries can have their runpath patched
    "--suffix LD_LIBRARY_PATH : '${addDriverRunpath.driverLink}/lib'"
  ] ++ lib.optionals enableRocm [
    "--suffix LD_LIBRARY_PATH : '${rocmPath}'"
    "--suffix LD_LIBRARY_PATH : '${rocmPath}/lib'"
    "--set-default HIP_PATH '${rocmPath}'"
  ];
  wrapperArgs = builtins.concatStringsSep " " wrapperOptions;