Skip to content

Commit

Permalink
flake : include llama.h in nix output (ggerganov#3159)
Browse files Browse the repository at this point in the history
  • Loading branch information
AsbjornOlling committed Sep 14, 2023
1 parent 4b8560e commit cf8238e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
postInstall = ''
mv $out/bin/main $out/bin/llama
mv $out/bin/server $out/bin/llama-server
mkdir $out/include
cp ${src}/llama.h $out/include/
'';
cmakeFlags = [ "-DLLAMA_BUILD_SERVER=ON" "-DLLAMA_MPI=ON" "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_SKIP_BUILD_RPATH=ON" ];
in
Expand Down

0 comments on commit cf8238e

Please sign in to comment.