From bdf46aa443e6e7de2b2c6e11919dac3392a2817c Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 30 Jan 2024 12:31:16 -0800 Subject: [PATCH] explicitly added the basic files for llama.cpp --- llama-cpp-sys-2/Cargo.toml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/llama-cpp-sys-2/Cargo.toml b/llama-cpp-sys-2/Cargo.toml index f8c7d16e..628034bb 100644 --- a/llama-cpp-sys-2/Cargo.toml +++ b/llama-cpp-sys-2/Cargo.toml @@ -7,6 +7,30 @@ license = "MIT OR Apache-2.0" repository = "https://github.com/utilityai/llama-cpp-rs" links = "llama" +include = [ + "/src", + "llama-cpp-sys-2/ggml.c", + "llama-cpp-sys-2/ggml.h", + "llama-cpp-sys-2/ggml-alloc.c", + "llama-cpp-sys-2/ggml-alloc.h", + "llama-cpp-sys-2/ggml-backend.c", + "llama-cpp-sys-2/ggml-backend.h", + "llama-cpp-sys-2/ggml-backend-impl.h", + "llama-cpp-sys-2/ggml-cuda.cu", + "llama-cpp-sys-2/ggml-cuda.h", + "llama-cpp-sys-2/ggml-impl.h", + "llama-cpp-sys-2/ggml-metal.m", + "llama-cpp-sys-2/ggml-metal.metal", + "llama-cpp-sys-2/ggml-mpi.c", + "llama-cpp-sys-2/ggml-mpi.h", + "llama-cpp-sys-2/ggml-opencl.cpp", + "llama-cpp-sys-2/ggml-opencl.h", + "llama-cpp-sys-2/ggml-quants.c", + "llama-cpp-sys-2/ggml-quants.h", + "llama-cpp-sys-2/llama.cpp", + "llama-cpp-sys-2/llama.h", +] + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies]