mirror of
https://github.com/mii443/AzooKeyKanaKanjiConverter.git
synced 2025-08-22 15:05:26 +00:00
change for llama.cpp
This commit is contained in:
@ -14,25 +14,6 @@ let swiftSettings: [SwiftSetting] = [
|
||||
.enableUpcomingFeature("ImportObjcForwardDeclarations")
|
||||
]
|
||||
|
||||
var dependencies: [Package.Dependency] = [
|
||||
// Dependencies declare other packages that this package depends on.
|
||||
// .package(url: /* package url */, from: "1.0.0"),
|
||||
.package(url: "https://github.com/apple/swift-algorithms", from: "1.0.0"),
|
||||
.package(url: "https://github.com/apple/swift-collections", from: "1.0.0"),
|
||||
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMajor(from: "1.0.0")),
|
||||
]
|
||||
|
||||
#if os(Windows)
|
||||
dependencies.append(
|
||||
.package(url: "https://github.com/fkunn1326/llama.cpp", branch: "d66c275")
|
||||
)
|
||||
#else
|
||||
dependencies.append(
|
||||
.package(url: "https://github.com/ensan-hcl/llama.cpp", branch: "9f41923")
|
||||
)
|
||||
#endif
|
||||
|
||||
|
||||
let package = Package(
|
||||
name: "AzooKeyKanakanjiConverter",
|
||||
platforms: [.iOS(.v14), .macOS(.v12)],
|
||||
@ -53,7 +34,15 @@ let package = Package(
|
||||
targets: ["KanaKanjiConverterModule"]
|
||||
),
|
||||
],
|
||||
dependencies: dependencies,
|
||||
dependencies: [
|
||||
// Dependencies declare other packages that this package depends on.
|
||||
// .package(url: /* package url */, from: "1.0.0"),
|
||||
.package(url: "https://github.com/apple/swift-algorithms", from: "1.0.0"),
|
||||
.package(url: "https://github.com/apple/swift-collections", from: "1.0.0"),
|
||||
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMajor(from: "1.0.0")),
|
||||
// local package
|
||||
.package(url: "https://github.com/fkunn1326/llama.cpp", branch: "b07d7f8"),
|
||||
],
|
||||
targets: [
|
||||
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
|
||||
// Targets can depend on other targets in this package, and on products in packages this package depends on.
|
||||
|
Reference in New Issue
Block a user