File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,14 @@ let additionalSettings: [CSetting] = []
2727#endif
2828
2929let package = Package (
30- name: " whispercpp " ,
31- defaultLocalization: " en " ,
30+ name: " whisper " ,
3231 platforms: platforms,
3332 products: [
34- . library( name: " whispercpp " , targets: [ " whispercpp " ] ) ,
33+ . library( name: " whisper " , targets: [ " whisper " ] ) ,
3534 ] ,
3635 targets: [
3736 . target(
38- name: " whispercpp " ,
37+ name: " whisper " ,
3938 path: " . " ,
4039 exclude: exclude + [
4140 " bindings " ,
@@ -55,14 +54,13 @@ let package = Package(
5554 " ggml.c " ,
5655 " whisper.cpp " ,
5756 " ggml-alloc.c " ,
58- // "ggml-backend.c",
59- // "k_quants .c",
57+ " ggml-backend.c " ,
58+ " ggml-quants .c"
6059 ] + additionalSources,
6160 resources: resources,
6261 publicHeadersPath: " spm-headers " ,
6362 cSettings: [
6463 . unsafeFlags( [ " -Wno-shorten-64-to-32 " , " -O3 " , " -DNDEBUG " ] ) ,
65- // .define("GGML_USE_K_QUANTS"),
6664 . define( " GGML_USE_ACCELERATE " )
6765 // NOTE: NEW_LAPACK will required iOS version 16.4+
6866 // We should consider add this in the future when we drop support for iOS 14
Original file line number Diff line number Diff line change 1+ ../ggml .h
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ ../whisper .h
You can’t perform that action at this time.
0 commit comments