mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
Merge pull request #323900 from abysssol/ollama-rocm-libpath
ollama: add `rocmPath` to `LD_LIBRARY_PATH` in wrapper
This commit is contained in:
commit
d70aec8605
@ -126,6 +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}'"
|
||||
"--set-default HIP_PATH '${rocmPath}'"
|
||||
];
|
||||
wrapperArgs = builtins.concatStringsSep " " wrapperOptions;
|
||||
|
Loading…
Reference in New Issue
Block a user