Skip to content

Commit 03d36cd

Browse files
committed
llama : add gguf.h to xcframework build
1 parent db04712 commit 03d36cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build-xcframework.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ setup_framework_structure() {
6161
cp ggml/include/ggml-metal.h ${build_dir}/framework/${framework_name}.framework/Headers/
6262
cp ggml/include/ggml-cpu.h ${build_dir}/framework/${framework_name}.framework/Headers/
6363
cp ggml/include/ggml-blas.h ${build_dir}/framework/${framework_name}.framework/Headers/
64+
cp ggml/include/gguf.h ${build_dir}/framework/${framework_name}.framework/Headers/
6465

6566
# Create module map
6667
cat > ${build_dir}/framework/${framework_name}.framework/Modules/module.modulemap << EOF
@@ -72,6 +73,7 @@ framework module llama {
7273
header "ggml-metal.h"
7374
header "ggml-cpu.h"
7475
header "ggml-blas.h"
76+
header "gguf.h"
7577
7678
link "c++"
7779
link framework "Accelerate"

0 commit comments

Comments
 (0)