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

This commit is contained in:
Jo
2026-01-12 09:51:50 +00:00
committed by GitHub
+1
View File
@@ -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)