-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Description
As of these two commits:
3ffc83d
ggml-org/llama.cpp@df334a1
Xcode projects that depend on both whisper.cpp and llama.cpp fail to build with the following error:
duplicate symbol '_ggml_map_custom2_inplace_f32' in:
/Users/rmbutler/Library/Developer/Xcode/DerivedData/Test-enhfbqpszgsyebgummvnergeyfis/Build/Products/Debug-iphoneos/whisper.o
/Users/rmbutler/Library/Developer/Xcode/DerivedData/Test-enhfbqpszgsyebgummvnergeyfis/Build/Products/Debug-iphoneos/llama.o
duplicate symbol '_ggml_backend_buft_supports_backend' in:
/Users/rmbutler/Library/Developer/Xcode/DerivedData/Test-enhfbqpszgsyebgummvnergeyfis/Build/Products/Debug-iphoneos/whisper.o
/Users/rmbutler/Library/Developer/Xcode/DerivedData/Test-enhfbqpszgsyebgummvnergeyfis/Build/Products/Debug-iphoneos/llama.o
...etc
ld: 533 duplicate symbols
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Based on the comments in the accompanying pull requests I see that there is good reason for the commits, so I wonder if there is any alternative solution?
Thanks
Metadata
Metadata
Assignees
Labels
No labels