{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/43335","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/43335/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/43335/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/43335/events","html_url":"https://github.com/Homebrew/homebrew/issues/43335","id":103577139,"number":43335,"title":"ocaml will never be detected by llvm during configuration","user":{"login":"aw1621107","id":566572,"avatar_url":"https://avatars.githubusercontent.com/u/566572?v=3","gravatar_id":"","url":"https://api.github.com/users/aw1621107","html_url":"https://github.com/aw1621107","followers_url":"https://api.github.com/users/aw1621107/followers","following_url":"https://api.github.com/users/aw1621107/following{/other_user}","gists_url":"https://api.github.com/users/aw1621107/gists{/gist_id}","starred_url":"https://api.github.com/users/aw1621107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aw1621107/subscriptions","organizations_url":"https://api.github.com/users/aw1621107/orgs","repos_url":"https://api.github.com/users/aw1621107/repos","events_url":"https://api.github.com/users/aw1621107/events{/privacy}","received_events_url":"https://api.github.com/users/aw1621107/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/homebrew/labels/ocaml","name":"ocaml","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-08-27T19:23:18Z","updated_at":"2015-12-22T23:21:00Z","closed_at":"2015-12-18T14:41:19Z","body":"OS X 10.11, XCode + CLT 7.0.0\r\n\r\nFirst two gists are for `brew install llvm --with-clang --with-lld --with-lldb --HEAD [--env=std]`,\r\nthird is for plain `brew install llvm`\r\n\r\n[Gist with --env=std](https://gist.github.com/aw1621107/255a653b4f317e707444)\r\n[Gist without](https://gist.github.com/aw1621107/4dfb3da6abbd125e6edc)\r\n[Plain install](https://gist.github.com/aw1621107/53fe98ea2b6960cc06e0)\r\n\r\nEdit: First two links go to two copies of the same thing...\r\n\r\nShort of it is that llvm will not be configured with ocaml bindings whether ocaml is \r\ninstalled or not.  Seems the $PATH used during configure/build doesn't include a \r\npath to the ocaml folders` (`~/.opam/<version>/bin or /usr/local/Cellar/ocaml/<version>/bin on my machine), even if the user's $PATH includes it.\r\n\r\nI tried looking around for ways to fix this in the ruby file, but I didn't see anything \r\nabout setting build variables/adding to superenv in the docs (or at least anything I\r\nunderstood). I probably just missed it, though..."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/166760564","html_url":"https://github.com/Homebrew/homebrew/issues/43335#issuecomment-166760564","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/43335","id":166760564,"user":{"login":"RandomDSdevel","id":7728575,"avatar_url":"https://avatars.githubusercontent.com/u/7728575?v=3","gravatar_id":"","url":"https://api.github.com/users/RandomDSdevel","html_url":"https://github.com/RandomDSdevel","followers_url":"https://api.github.com/users/RandomDSdevel/followers","following_url":"https://api.github.com/users/RandomDSdevel/following{/other_user}","gists_url":"https://api.github.com/users/RandomDSdevel/gists{/gist_id}","starred_url":"https://api.github.com/users/RandomDSdevel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandomDSdevel/subscriptions","organizations_url":"https://api.github.com/users/RandomDSdevel/orgs","repos_url":"https://api.github.com/users/RandomDSdevel/repos","events_url":"https://api.github.com/users/RandomDSdevel/events{/privacy}","received_events_url":"https://api.github.com/users/RandomDSdevel/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T23:21:00Z","updated_at":"2015-12-22T23:21:00Z","body":"@aw1621107:  OK, master issue created as #47269, and I'll post a link to whatever discussion ends up being had about the implementation of a `--with-docs` option once it pops up.  "}}