Skip to content

Commit 18ccb40

Browse files
committed
revert build-xcframework.sh as libcommon.a is not to be used externally
1 parent 7088637 commit 18ccb40

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

build-xcframework.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ setup_framework_structure() {
116116

117117
# Copy all required headers (common for all platforms)
118118
cp include/llama.h ${header_path}
119-
cp include/llama-cpp.h ${header_path}
120119
cp ggml/include/ggml.h ${header_path}
121120
cp ggml/include/ggml-opt.h ${header_path}
122121
cp ggml/include/ggml-alloc.h ${header_path}
@@ -125,8 +124,6 @@ setup_framework_structure() {
125124
cp ggml/include/ggml-cpu.h ${header_path}
126125
cp ggml/include/ggml-blas.h ${header_path}
127126
cp ggml/include/gguf.h ${header_path}
128-
cp common/common.h ${header_path}
129-
cp common/chat.h ${header_path}
130127

131128
# Create module map (common for all platforms)
132129
cat > ${module_path}module.modulemap << EOF
@@ -250,7 +247,6 @@ combine_static_libraries() {
250247

251248
local libs=(
252249
"${base_dir}/${build_dir}/src/${release_dir}/libllama.a"
253-
"${base_dir}/${build_dir}/common/${release_dir}/libcommon.a"
254250
"${base_dir}/${build_dir}/ggml/src/${release_dir}/libggml.a"
255251
"${base_dir}/${build_dir}/ggml/src/${release_dir}/libggml-base.a"
256252
"${base_dir}/${build_dir}/ggml/src/${release_dir}/libggml-cpu.a"

0 commit comments

Comments
 (0)