{"action":"created","issue":{"url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/160","labels_url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/160/comments","events_url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/160/events","html_url":"https://github.com/Sarcasm/irony-mode/pull/160","id":54131052,"number":160,"title":"Made FindLibClang.cmake resiliant to homebrew llvm updates.","user":{"login":"DavidTruby","id":314744,"avatar_url":"https://avatars.githubusercontent.com/u/314744?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidTruby","html_url":"https://github.com/DavidTruby","followers_url":"https://api.github.com/users/DavidTruby/followers","following_url":"https://api.github.com/users/DavidTruby/following{/other_user}","gists_url":"https://api.github.com/users/DavidTruby/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidTruby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidTruby/subscriptions","organizations_url":"https://api.github.com/users/DavidTruby/orgs","repos_url":"https://api.github.com/users/DavidTruby/repos","events_url":"https://api.github.com/users/DavidTruby/events{/privacy}","received_events_url":"https://api.github.com/users/DavidTruby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-13T00:18:21Z","updated_at":"2015-01-14T19:28:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Sarcasm/irony-mode/pulls/160","html_url":"https://github.com/Sarcasm/irony-mode/pull/160","diff_url":"https://github.com/Sarcasm/irony-mode/pull/160.diff","patch_url":"https://github.com/Sarcasm/irony-mode/pull/160.patch"},"body":"A recent homebrew llvm update broke the building of the server (since the llvm version changed to 3.5.0_2). However, I noticed that homebrew provides version independent paths to the llvm includes and libraries, so switching to these should fix not only this update but remove the need to update FindLibClang for similar homebrew llvm updates in the future."},"comment":{"url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/comments/69975598","html_url":"https://github.com/Sarcasm/irony-mode/pull/160#issuecomment-69975598","issue_url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/160","id":69975598,"user":{"login":"DavidTruby","id":314744,"avatar_url":"https://avatars.githubusercontent.com/u/314744?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidTruby","html_url":"https://github.com/DavidTruby","followers_url":"https://api.github.com/users/DavidTruby/followers","following_url":"https://api.github.com/users/DavidTruby/following{/other_user}","gists_url":"https://api.github.com/users/DavidTruby/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidTruby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidTruby/subscriptions","organizations_url":"https://api.github.com/users/DavidTruby/orgs","repos_url":"https://api.github.com/users/DavidTruby/repos","events_url":"https://api.github.com/users/DavidTruby/events{/privacy}","received_events_url":"https://api.github.com/users/DavidTruby/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T19:28:31Z","updated_at":"2015-01-14T19:28:31Z","body":"LLVMConfig.cmake is there, it's in the path /usr/local/Cellar/llvm/3.5.0_2/share/llvm/cmake/LLVMConfig.cmake. \r\n\r\nI think the issue with looking at llvm-config --version is that that reports 3.5.0, but the current package is actually unpacked in 3.5.0_2, so it wouldn't be possible to use that to look for the path it's unpacked at.\r\n\r\nHomebrew also doesn't put llvm-config in the user's path so you still have the issue of having to look for that. I guess it might be possible to look at the paths returned by `brew list llvm`? I have no idea how complicated that will be."}}