include parakeet in build-xcframework.sh (#3899)

This commit is contained in:
Naitik Shah 2026-06-22 14:06:51 +04:00 committed by GitHub
parent 5ed76e9a07
commit 6edfe6009f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -115,6 +115,7 @@ setup_framework_structure() {
# Copy all required headers (common for all platforms) # Copy all required headers (common for all platforms)
cp include/whisper.h ${header_path} cp include/whisper.h ${header_path}
cp include/parakeet.h ${header_path}
cp ggml/include/ggml.h ${header_path} cp ggml/include/ggml.h ${header_path}
cp ggml/include/ggml-alloc.h ${header_path} cp ggml/include/ggml-alloc.h ${header_path}
cp ggml/include/ggml-backend.h ${header_path} cp ggml/include/ggml-backend.h ${header_path}
@ -127,6 +128,7 @@ setup_framework_structure() {
cat > ${module_path}module.modulemap << EOF cat > ${module_path}module.modulemap << EOF
framework module whisper { framework module whisper {
header "whisper.h" header "whisper.h"
header "parakeet.h"
header "ggml.h" header "ggml.h"
header "ggml-alloc.h" header "ggml-alloc.h"
header "ggml-backend.h" header "ggml-backend.h"
@ -245,6 +247,7 @@ combine_static_libraries() {
local libs=( local libs=(
"${base_dir}/${build_dir}/src/${release_dir}/libwhisper.a" "${base_dir}/${build_dir}/src/${release_dir}/libwhisper.a"
"${base_dir}/${build_dir}/src/${release_dir}/libparakeet.a"
"${base_dir}/${build_dir}/ggml/src/${release_dir}/libggml.a" "${base_dir}/${build_dir}/ggml/src/${release_dir}/libggml.a"
"${base_dir}/${build_dir}/ggml/src/${release_dir}/libggml-base.a" "${base_dir}/${build_dir}/ggml/src/${release_dir}/libggml-base.a"
"${base_dir}/${build_dir}/ggml/src/${release_dir}/libggml-cpu.a" "${base_dir}/${build_dir}/ggml/src/${release_dir}/libggml-cpu.a"