diff options
author | Alex Azarov <alexander.azarov@mapbox.com> | 2024-01-07 09:20:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-07 10:20:50 +0200 |
commit | 72d8407b3696dd1293bd233b6db392be108bc377 (patch) | |
tree | bcda584ab3c97ebc09a652a7fa6b98bc04b8852f /examples/llama.swiftui/llama.cpp.swift | |
parent | d117d4dc5dadb46831036bfa4d6e5e8c86babaf1 (diff) |
llama.swiftui : use llama.cpp as SPM package (#4804)
Diffstat (limited to 'examples/llama.swiftui/llama.cpp.swift')
-rw-r--r-- | examples/llama.swiftui/llama.cpp.swift/LibLlama.swift | 5 | ||||
-rw-r--r-- | examples/llama.swiftui/llama.cpp.swift/bridging-header.h | 5 |
2 files changed, 1 insertions, 9 deletions
diff --git a/examples/llama.swiftui/llama.cpp.swift/LibLlama.swift b/examples/llama.swiftui/llama.cpp.swift/LibLlama.swift index 8696b493..fc79fd34 100644 --- a/examples/llama.swiftui/llama.cpp.swift/LibLlama.swift +++ b/examples/llama.swiftui/llama.cpp.swift/LibLlama.swift @@ -1,8 +1,5 @@ import Foundation - -// To use this in your own project, add llama.cpp as a swift package dependency -// and uncomment this import line. -// import llama +import llama enum LlamaError: Error { case couldNotInitializeContext diff --git a/examples/llama.swiftui/llama.cpp.swift/bridging-header.h b/examples/llama.swiftui/llama.cpp.swift/bridging-header.h deleted file mode 100644 index 6cd72c97..00000000 --- a/examples/llama.swiftui/llama.cpp.swift/bridging-header.h +++ /dev/null @@ -1,5 +0,0 @@ -// -// Use this file to import your target's public headers that you would like to expose to Swift. -// - -#import "llama.h" |