Loading pkgs/by-name/ll/llama-cpp/package.nix +6 −1 Original line number Diff line number Diff line Loading @@ -127,7 +127,9 @@ effectiveStdenv.mkDerivation (finalAttrs: { cmakeFlags = [ # -march=native is non-deterministic; override with platform-specific flags if needed (cmakeBool "GGML_NATIVE" false) (cmakeBool "LLAMA_BUILD_EXAMPLES" false) (cmakeBool "LLAMA_BUILD_SERVER" true) (cmakeBool "LLAMA_BUILD_TESTS" (finalAttrs.finalPackage.doCheck or false)) (cmakeBool "LLAMA_CURL" true) (cmakeBool "BUILD_SHARED_LIBS" true) (cmakeBool "GGML_BLAS" blasSupport) Loading @@ -154,7 +156,7 @@ effectiveStdenv.mkDerivation (finalAttrs: { ++ optionals rpcSupport [ # This is done so we can move rpc-server out of bin because llama.cpp doesn't # install rpc-server in their install target. "-DCMAKE_SKIP_BUILD_RPATH=ON" (cmakeBool "CMAKE_SKIP_BUILD_RPATH" true) ]; # upstream plans on adding targets at the cmakelevel, remove those Loading @@ -168,6 +170,9 @@ effectiveStdenv.mkDerivation (finalAttrs: { '' + optionalString rpcSupport "cp bin/rpc-server $out/bin/llama-rpc-server"; # the tests are failing as of 2025-08 doCheck = false; passthru.updateScript = nix-update-script { attrPath = "llama-cpp"; extraArgs = [ Loading Loading
pkgs/by-name/ll/llama-cpp/package.nix +6 −1 Original line number Diff line number Diff line Loading @@ -127,7 +127,9 @@ effectiveStdenv.mkDerivation (finalAttrs: { cmakeFlags = [ # -march=native is non-deterministic; override with platform-specific flags if needed (cmakeBool "GGML_NATIVE" false) (cmakeBool "LLAMA_BUILD_EXAMPLES" false) (cmakeBool "LLAMA_BUILD_SERVER" true) (cmakeBool "LLAMA_BUILD_TESTS" (finalAttrs.finalPackage.doCheck or false)) (cmakeBool "LLAMA_CURL" true) (cmakeBool "BUILD_SHARED_LIBS" true) (cmakeBool "GGML_BLAS" blasSupport) Loading @@ -154,7 +156,7 @@ effectiveStdenv.mkDerivation (finalAttrs: { ++ optionals rpcSupport [ # This is done so we can move rpc-server out of bin because llama.cpp doesn't # install rpc-server in their install target. "-DCMAKE_SKIP_BUILD_RPATH=ON" (cmakeBool "CMAKE_SKIP_BUILD_RPATH" true) ]; # upstream plans on adding targets at the cmakelevel, remove those Loading @@ -168,6 +170,9 @@ effectiveStdenv.mkDerivation (finalAttrs: { '' + optionalString rpcSupport "cp bin/rpc-server $out/bin/llama-rpc-server"; # the tests are failing as of 2025-08 doCheck = false; passthru.updateScript = nix-update-script { attrPath = "llama-cpp"; extraArgs = [ Loading