Skip to content

Commit 14d48be

Browse files
committed
llama : add Metal and Foundation frameworks to the xcframework
This commit adds the Metal and Foundation frameworks to the xcframework module. This is necessary for the xcframework to be able to be used in projects that use Metal or Foundation. I did not notice this with projects where I added the xcframework to the project, but I did notice this when trying out Swift Package Manager with the xcframework (I've not committed the Package.swift file yet as there are still some discussions in progress about this)
1 parent 907eb66 commit 14d48be

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
@@ -71,6 +71,8 @@ framework module llama {
7171
7272
link "c++"
7373
link framework "Accelerate"
74+
link framework "Metal"
75+
link framework "Foundation"
7476
7577
export *
7678
}

0 commit comments

Comments
 (0)