mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-10-27 08:21:30 +00:00
build : fix build-ios-device (#16257)
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
This commit is contained in:
@@ -422,6 +422,7 @@ echo "Building for iOS devices..."
|
|||||||
cmake -B build-ios-device -G Xcode \
|
cmake -B build-ios-device -G Xcode \
|
||||||
"${COMMON_CMAKE_ARGS[@]}" \
|
"${COMMON_CMAKE_ARGS[@]}" \
|
||||||
-DCMAKE_OSX_DEPLOYMENT_TARGET=${IOS_MIN_OS_VERSION} \
|
-DCMAKE_OSX_DEPLOYMENT_TARGET=${IOS_MIN_OS_VERSION} \
|
||||||
|
-DCMAKE_SYSTEM_NAME=iOS \
|
||||||
-DCMAKE_OSX_SYSROOT=iphoneos \
|
-DCMAKE_OSX_SYSROOT=iphoneos \
|
||||||
-DCMAKE_OSX_ARCHITECTURES="arm64" \
|
-DCMAKE_OSX_ARCHITECTURES="arm64" \
|
||||||
-DCMAKE_XCODE_ATTRIBUTE_SUPPORTED_PLATFORMS=iphoneos \
|
-DCMAKE_XCODE_ATTRIBUTE_SUPPORTED_PLATFORMS=iphoneos \
|
||||||
|
|||||||
Reference in New Issue
Block a user