{"action":"created","issue":{"url":"https://api.github.com/repos/jrprice/Oclgrind/issues/95","repository_url":"https://api.github.com/repos/jrprice/Oclgrind","labels_url":"https://api.github.com/repos/jrprice/Oclgrind/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/jrprice/Oclgrind/issues/95/comments","events_url":"https://api.github.com/repos/jrprice/Oclgrind/issues/95/events","html_url":"https://github.com/jrprice/Oclgrind/issues/95","id":158528259,"number":95,"title":"build issue \" CMake Error at /usr/share/llvm-3.6/cmake/LLVMConfig.cmake:52 (include):    include could not find load file:       /usr/lib/llvm-3.6/share/llvm/cmake/LLVMExports.cmake  Call Stack (most recent call first):    CMakeLists.txt:44 (find_package)\"","user":{"login":"hughperkins","id":123560,"avatar_url":"https://avatars.githubusercontent.com/u/123560?v=3","gravatar_id":"","url":"https://api.github.com/users/hughperkins","html_url":"https://github.com/hughperkins","followers_url":"https://api.github.com/users/hughperkins/followers","following_url":"https://api.github.com/users/hughperkins/following{/other_user}","gists_url":"https://api.github.com/users/hughperkins/gists{/gist_id}","starred_url":"https://api.github.com/users/hughperkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughperkins/subscriptions","organizations_url":"https://api.github.com/users/hughperkins/orgs","repos_url":"https://api.github.com/users/hughperkins/repos","events_url":"https://api.github.com/users/hughperkins/events{/privacy}","received_events_url":"https://api.github.com/users/hughperkins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-04T22:59:05Z","updated_at":"2016-06-04T23:37:22Z","closed_at":null,"body":"Doing any of the following gives the same error:\r\n- on ubuntu 16.04, git clone the repo, apt-get install libclang-3.8-dev, libllvm-3.8-dev, run ccmake ..\r\n- create a docker container with ubuntu 14.04, git clone the repo, apt-get install libclang-3.6-dev, libllvm-3.6-dev, run ccmake\r\n\r\nI tried hacking around with the llvm LLVMConfig.cmake, and stuff, but seemed like going down a rabbit hole.  Presumably there's some simple way to solve this?\r\n"},"comment":{"url":"https://api.github.com/repos/jrprice/Oclgrind/issues/comments/223784313","html_url":"https://github.com/jrprice/Oclgrind/issues/95#issuecomment-223784313","issue_url":"https://api.github.com/repos/jrprice/Oclgrind/issues/95","id":223784313,"user":{"login":"jrprice","id":3430185,"avatar_url":"https://avatars.githubusercontent.com/u/3430185?v=3","gravatar_id":"","url":"https://api.github.com/users/jrprice","html_url":"https://github.com/jrprice","followers_url":"https://api.github.com/users/jrprice/followers","following_url":"https://api.github.com/users/jrprice/following{/other_user}","gists_url":"https://api.github.com/users/jrprice/gists{/gist_id}","starred_url":"https://api.github.com/users/jrprice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrprice/subscriptions","organizations_url":"https://api.github.com/users/jrprice/orgs","repos_url":"https://api.github.com/users/jrprice/repos","events_url":"https://api.github.com/users/jrprice/events{/privacy}","received_events_url":"https://api.github.com/users/jrprice/received_events","type":"User","site_admin":false},"created_at":"2016-06-04T23:37:22Z","updated_at":"2016-06-04T23:37:22Z","body":"This looks familiar, I remember dealing with this for the Debian LLVM 3.7 packages which had the CMake  configuration slightly wrong. I've reproduced this on an Ubuntu 16.04 VM, so I'll if I can produce a fix.\r\n\r\nIn the meantime, I've just tested this against the `3.7` versions of Clang and LLVM in the Ubuntu repositories and it builds fine. You'd need to pass `-DLLVM_DIR=/usr/share/llvm-3.7/cmake` to `cmake`. You'll also need `apt-get install clang-3.7 zlib1g-dev libedit-dev`.\r\n\r\nIn 16.04 you can also just `apt-get install oclgrind`, but the version you get is a little out-of-date (same as the last GitHub release).\r\n\r\nThanks for reporting.\r\n"}}
{"actor":{"display_login":"jrprice"}}