Unverified Commit d966dc6f authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

whisper-cpp: Ensure that backend dir is set (#461562)

parents bde97c44 11a096e9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -133,6 +133,7 @@ effectiveStdenv.mkDerivation (finalAttrs: {
  ++ optionals (effectiveStdenv.hostPlatform.isx86 && !effectiveStdenv.hostPlatform.isStatic) [
    (cmakeBool "GGML_BACKEND_DL" true)
    (cmakeBool "GGML_CPU_ALL_VARIANTS" true)
    (cmakeFeature "GGML_BACKEND_DIR" "${placeholder "out"}/lib")
  ]
  ++ optionals cudaSupport [
    (cmakeFeature "CMAKE_CUDA_ARCHITECTURES" cudaPackages.flags.cmakeCudaArchitecturesString)