Skip to content

xcf : use check for visionos build version #3021

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 9, 2025

Conversation

danbev
Copy link
Collaborator

@danbev danbev commented Apr 9, 2025

This commit adds a check for the visionos build version used with vtool in build-xcframework.sh. The script now checks the Xcode version and determines whether to use "xros" or "visionos" for the build version.

This commit also uses xcrun for the vtool so that the version of vtool in xcode command line tools is used instead of the one in the system path.

Refs: #2994 (comment)

This commit adds a check for the visionos build version used with vtool
in build-xcframework.sh. The script now checks the Xcode version and
determines whether to use "xros" or "visionos" for the build version.

This commit also uses xcrun for the vtool so that the version of vtool
in xcode command line tools is used instead of the one in the system
path.

Refs: ggml-org#2994 (comment)
@danbev
Copy link
Collaborator Author

danbev commented Apr 9, 2025

@itsthisjustin @n374 I'm still using xcode version 16.2 which I think is why I did not run into this. Would one of you be able to try this out and see if this works for you?

@n374
Copy link

n374 commented Apr 9, 2025

@itsthisjustin @n374 I'm still using xcode version 16.2 which I think is why I did not run into this. Would one of you be able to try this out and see if this works for you?

Test with xcode 16.3, compiled successfully by ./build-xcframework.sh

@danbev
Copy link
Collaborator Author

danbev commented Apr 9, 2025

@n374 Thanks for testing this!

@danbev danbev merged commit cf79413 into ggml-org:master Apr 9, 2025
98 of 99 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants