Skip to content
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

Fixed Makefile for MacOS ARM 64 Go bindings #1530

Merged
merged 4 commits into from Nov 22, 2023

Conversation

gleicon
Copy link
Contributor

@gleicon gleicon commented Nov 20, 2023

Fixed Makefile for MacOS ARM 64 based on #1344 + proper ggml-metal env var setting.
Originally it couldn't find includes and the GGML-Metal files as referenced in the issue above and in the main issue for Go bindings #312. Hope that helps.

@ggerganov
Copy link
Owner

Looks like this change fixes it for MacOS, but it breaks it for non-MacOS

@gleicon
Copy link
Contributor Author

gleicon commented Nov 22, 2023

Fixing it, long time I don't build for linux like this and haven't noticed that -framework works only for MacOS on LLVM.

@gleicon
Copy link
Contributor Author

gleicon commented Nov 22, 2023

Done, can you help run the workflows ?

bindings/go/Makefile Outdated Show resolved Hide resolved
Copy link
Owner

@ggerganov ggerganov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will wait for CI to pass and merge

@ggerganov ggerganov merged commit 180e062 into ggerganov:master Nov 22, 2023
37 checks passed
@gleicon
Copy link
Contributor Author

gleicon commented Nov 22, 2023 via email

landtanin pushed a commit to landtanin/whisper.cpp that referenced this pull request Dec 16, 2023
* Fixed Makefile for MacOS ARM 64 based on ggerganov#1344 + proper ggml-metal env var setting

* conditional to fix broken non-macos compilation

* spaces -> tab

* make : fix whitespaces

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
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.

Undefined symbols for architecture arm64: "_MTLCopyAllDevices"
2 participants