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

Detect if xcode-select was executed properly #984

Open
mrexodia opened this issue Oct 27, 2022 · 4 comments
Open

Detect if xcode-select was executed properly #984

mrexodia opened this issue Oct 27, 2022 · 4 comments
Assignees

Comments

@mrexodia
Copy link
Contributor

On my machine I had xcode installed, but still had the command line tools selected. This causes the build to fail when configuring LLVM. If it is a requirement to have xcode installed and selected it would be good to detect that up front and inform the user how to fix the problem.

Vanilla LLVM is building for me without issues with just the command line tool though, so not sure why there is an error in your port.

@ekilmer
Copy link
Collaborator

ekilmer commented Oct 27, 2022

Hmmm. Do you have any of the error messages? I haven't heard of anyone else running into this.

There was some recent weirdness in the past months with an XCode update that was causing command-line tool issues, but if you are able to build vanilla LLVM, then I'm not sure how the vcpkg port is much different.

@ekilmer
Copy link
Collaborator

ekilmer commented Oct 27, 2022

Also, do you know how to check whether xcode-select was executed properly?

@mrexodia
Copy link
Contributor Author

I’ll try to reproduce it later, would have to unselect xcode somehow to try…

@ekilmer
Copy link
Collaborator

ekilmer commented Oct 27, 2022

No worries. Homebrew does some detection somehow, so I might look there.

@ekilmer ekilmer self-assigned this Oct 27, 2022
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