Skip to content

Commit

Permalink
Revert "swift : update Package.swift to use ggml as dependency (#4691)"
Browse files Browse the repository at this point in the history
This reverts commit ece9a45.
  • Loading branch information
ggerganov committed Feb 12, 2024
1 parent 43fe07c commit b8a91c5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,21 @@ let package = Package(
products: [
.library(name: "llama", targets: ["llama"]),
],
dependencies: [
.package(url: "https://github.com/ggerganov/ggml.git", .branch("release"))
],
targets: [
.target(
name: "llama",
dependencies: ["ggml"],
path: ".",
exclude: ["ggml-metal.metal"],
sources: [
"ggml.c",
"llama.cpp",
"ggml-alloc.c",
"ggml-backend.c",
"ggml-quants.c",
"ggml-metal.m",
],
resources: [
.process("ggml-metal.metal")
],
publicHeadersPath: "spm-headers",
cSettings: [
Expand Down

0 comments on commit b8a91c5

Please sign in to comment.