Commit 4d01fc54 authored by Ihar Hrachyshka's avatar Ihar Hrachyshka
Browse files

llama-cpp: remove git build dependency

`git` is used in upstream build system to determine the package version
from git history depth. We are not running from a git checkout, so `git`
is useless. (We handle version calculation during `src` preparation.)

Moreover, having `git` in the build scope results in versions captured
in `cmake` files as `unknown` / `dirty`.
parent e049d2c1
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -36,7 +36,6 @@
  vulkan-headers,
  vulkan-loader,
  ninja,
  git,
}:

let
@@ -92,7 +91,6 @@ effectiveStdenv.mkDerivation (finalAttrs: {
    cmake
    ninja
    pkg-config
    git
  ]
  ++ optionals cudaSupport [
    cudaPackages.cuda_nvcc