Skip to content

Commit

Permalink
flake : allow $out/include to already exist (ggerganov#3175)
Browse files Browse the repository at this point in the history
  • Loading branch information
jneem authored and pkrmf committed Sep 26, 2023
1 parent e127398 commit f845559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
postInstall = ''
mv $out/bin/main $out/bin/llama
mv $out/bin/server $out/bin/llama-server
mkdir $out/include
mkdir -p $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" ];
Expand Down

0 comments on commit f845559

Please sign in to comment.