{"action":"created","issue":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2080","repository_url":"https://api.github.com/repos/RobotLocomotion/drake","labels_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2080/labels{/name}","comments_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2080/comments","events_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2080/events","html_url":"https://github.com/RobotLocomotion/drake/issues/2080","id":148097491,"number":2080,"title":"Add USE_MATLAB build option, to force-disable matlab","user":{"login":"jwnimmer-tri","id":17596505,"avatar_url":"https://avatars.githubusercontent.com/u/17596505?v=3","gravatar_id":"","url":"https://api.github.com/users/jwnimmer-tri","html_url":"https://github.com/jwnimmer-tri","followers_url":"https://api.github.com/users/jwnimmer-tri/followers","following_url":"https://api.github.com/users/jwnimmer-tri/following{/other_user}","gists_url":"https://api.github.com/users/jwnimmer-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/jwnimmer-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwnimmer-tri/subscriptions","organizations_url":"https://api.github.com/users/jwnimmer-tri/orgs","repos_url":"https://api.github.com/users/jwnimmer-tri/repos","events_url":"https://api.github.com/users/jwnimmer-tri/events{/privacy}","received_events_url":"https://api.github.com/users/jwnimmer-tri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"david-german-tri","id":17437069,"avatar_url":"https://avatars.githubusercontent.com/u/17437069?v=3","gravatar_id":"","url":"https://api.github.com/users/david-german-tri","html_url":"https://github.com/david-german-tri","followers_url":"https://api.github.com/users/david-german-tri/followers","following_url":"https://api.github.com/users/david-german-tri/following{/other_user}","gists_url":"https://api.github.com/users/david-german-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/david-german-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-german-tri/subscriptions","organizations_url":"https://api.github.com/users/david-german-tri/orgs","repos_url":"https://api.github.com/users/david-german-tri/repos","events_url":"https://api.github.com/users/david-german-tri/events{/privacy}","received_events_url":"https://api.github.com/users/david-german-tri/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-04-13T15:26:23Z","updated_at":"2016-04-13T23:40:05Z","closed_at":null,"body":"Per the discussion in #1860, starting at [this comment](https://github.com/RobotLocomotion/drake/issues/1860#issuecomment-204397872).\r\n\r\nAs with other optional prerequisites of Drake, we should have the ability to run a build and test while excluding matlab from the picture, even if it happens to be installed on the system.\r\n"},"comment":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/comments/209691355","html_url":"https://github.com/RobotLocomotion/drake/issues/2080#issuecomment-209691355","issue_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2080","id":209691355,"user":{"login":"jwnimmer-tri","id":17596505,"avatar_url":"https://avatars.githubusercontent.com/u/17596505?v=3","gravatar_id":"","url":"https://api.github.com/users/jwnimmer-tri","html_url":"https://github.com/jwnimmer-tri","followers_url":"https://api.github.com/users/jwnimmer-tri/followers","following_url":"https://api.github.com/users/jwnimmer-tri/following{/other_user}","gists_url":"https://api.github.com/users/jwnimmer-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/jwnimmer-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwnimmer-tri/subscriptions","organizations_url":"https://api.github.com/users/jwnimmer-tri/orgs","repos_url":"https://api.github.com/users/jwnimmer-tri/repos","events_url":"https://api.github.com/users/jwnimmer-tri/events{/privacy}","received_events_url":"https://api.github.com/users/jwnimmer-tri/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T23:40:05Z","updated_at":"2016-04-13T23:40:05Z","body":"Ideally, I'd like to be able to reproduce all of the #1923 supported Ubuntu configurations locally -- or perhaps more realistically, to at least within the measurement error of CI.\r\n\r\nAt the moment, drake/drake code has vastly different compile times, test outcomes, and possible failure modes in the with-matlab and without-matlab variants, which is my main interest in this ticket.\r\n\r\nTTBOMK, the Ubuntu CI variants of with-matlab and without-matlab don't seem to differ in how LCM behaves (or really anything in the superbuild in general), so I'm fine with leaving LCM's matlab sensing alone.  Certainly I'm fine with just adding a matlab knob to drake/drake for now, and getting LCM in a second pass if it ever becomes a problem.\r\n\r\nI'll also note that USE_MATLAB seemed to be the consensus on the other thread for the best way to make a build behave as if matlab wasn't installed.  If there's some other easier or better way (environment variables, schroot, treating unlicensed matlab as if matlab were missing, ...), I'm game for any recipe that is reliable."}}