Skip to content

Conversation

@kofigumbs
Copy link
Contributor

I believe that the llvm-config executable is typicaclly a link to the specific version, so it should be a no-op for the most part. However, I was having trouble building this on Ubuntu 16.04 since I only have the llvm-config-3.9 executable. This small change fixed it.

I cannot confirm this for macOS though.

Thanks

@CodaFi
Copy link
Member

CodaFi commented Jan 21, 2017

This may fail the Linux build because they are in the opposite situation where they have Clang 3.5.0 installed and a symlink pointing to that version of the tool. We're explicitly ln'ing the freshly installed LLVM Config in place for that reason.

@CodaFi
Copy link
Member

CodaFi commented Jan 21, 2017

Errr, or it may do the opposite and fail the macOS build because brew does The Right Thing ™ with llvm-config 😆

@harlanhaskins
Copy link
Member

I think we can actually do better. We could have the script try llvm-config-3.9 and then llvm-config if that's not found.

@harlanhaskins
Copy link
Member

@CodaFi
Copy link
Member

CodaFi commented Jan 22, 2017

EDIT: Whoa, why did this wind up here?

An example of a diagnostic we should squash at some point

@harlanhaskins
Copy link
Member

@hkgumbs: So yeah, this unfortunately won't work as-is on macOS. Thanks for bringing up the issue though! Would you want to implement the more complete beavior? 😃

@kofigumbs
Copy link
Contributor Author

Thanks for the super quick replies! I'll work on implementing the more complete behavior and re-open this when it's ready

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