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

在maos上启用metal的话似乎必须安装xcode了? #321

Open
mahabuta opened this issue Jun 22, 2024 · 1 comment
Open

在maos上启用metal的话似乎必须安装xcode了? #321

mahabuta opened this issue Jun 22, 2024 · 1 comment

Comments

@mahabuta
Copy link

mahabuta commented Jun 22, 2024

今天更新了一下到0.4版本,但是cmake时候提示
xcrun: error: unable to find utility "metal", not a developer tool or in PATH
make[2]: *** [bin/default.metallib] Error 72
make[1]: *** [third_party/ggml/src/CMakeFiles/ggml-metal.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

根据
gfx-rs/gfx#2309
的讨论,必须安装xcode才能解决,之前的版本是不需要的

@LukeLIN-web
Copy link

I wonder whether I could cp /Applications/Xcode.app/Contents/Developer to /Library/Developer/CommandLineTools , Xcode hack and open every markdown, really bad Xcode.

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

No branches or pull requests

2 participants