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

Building from source requires Xcode (not only Xcode command-line tools) #103

Closed
jbarrow opened this issue Dec 9, 2023 · 2 comments
Closed
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@jbarrow
Copy link
Contributor

jbarrow commented Dec 9, 2023

In case anyone runs into the following error when installing from source:

xcrun: error: unable to find utility "metal", not a developer tool or in PATH

It's solvable with instructions from here: gfx-rs/gfx#2309

I had previously only installed Xcode command-line tools (xcode-select --install), but was running into the above error. Installing full Xcode and running:

sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer

Allowed me to install from source (env CMAKE_BUILD_PARALLEL_LEVEL="" pip install -e .)

@awni
Copy link
Member

awni commented Dec 9, 2023

Maybe we should be more explicit with this in install docs

@awni awni self-assigned this Dec 17, 2023
@awni awni added the documentation Improvements or additions to documentation label Dec 17, 2023
@awni
Copy link
Member

awni commented Dec 17, 2023

Updated the docs and pinned #200

@awni awni closed this as completed Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants