{"action":"created","issue":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2849","repository_url":"https://api.github.com/repos/RobotLocomotion/drake","labels_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2849/labels{/name}","comments_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2849/comments","events_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2849/events","html_url":"https://github.com/RobotLocomotion/drake/issues/2849","id":166571323,"number":2849,"title":"can we system install swig instead of including it as an external?","user":{"login":"RussTedrake","id":6442292,"avatar_url":"https://avatars.githubusercontent.com/u/6442292?v=3","gravatar_id":"","url":"https://api.github.com/users/RussTedrake","html_url":"https://github.com/RussTedrake","followers_url":"https://api.github.com/users/RussTedrake/followers","following_url":"https://api.github.com/users/RussTedrake/following{/other_user}","gists_url":"https://api.github.com/users/RussTedrake/gists{/gist_id}","starred_url":"https://api.github.com/users/RussTedrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RussTedrake/subscriptions","organizations_url":"https://api.github.com/users/RussTedrake/orgs","repos_url":"https://api.github.com/users/RussTedrake/repos","events_url":"https://api.github.com/users/RussTedrake/events{/privacy}","received_events_url":"https://api.github.com/users/RussTedrake/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RobotLocomotion/drake/labels/priority:%20low","name":"priority: low","color":"e99695"},{"url":"https://api.github.com/repos/RobotLocomotion/drake/labels/team:%20kitware","name":"team: kitware","color":"0052cc"},{"url":"https://api.github.com/repos/RobotLocomotion/drake/labels/type:%20installation%20and%20distribution","name":"type: installation and distribution","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"mwoehlke-kitware","id":6474409,"avatar_url":"https://avatars.githubusercontent.com/u/6474409?v=3","gravatar_id":"","url":"https://api.github.com/users/mwoehlke-kitware","html_url":"https://github.com/mwoehlke-kitware","followers_url":"https://api.github.com/users/mwoehlke-kitware/followers","following_url":"https://api.github.com/users/mwoehlke-kitware/following{/other_user}","gists_url":"https://api.github.com/users/mwoehlke-kitware/gists{/gist_id}","starred_url":"https://api.github.com/users/mwoehlke-kitware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwoehlke-kitware/subscriptions","organizations_url":"https://api.github.com/users/mwoehlke-kitware/orgs","repos_url":"https://api.github.com/users/mwoehlke-kitware/repos","events_url":"https://api.github.com/users/mwoehlke-kitware/events{/privacy}","received_events_url":"https://api.github.com/users/mwoehlke-kitware/received_events","type":"User","site_admin":false},"assignees":[{"login":"mwoehlke-kitware","id":6474409,"avatar_url":"https://avatars.githubusercontent.com/u/6474409?v=3","gravatar_id":"","url":"https://api.github.com/users/mwoehlke-kitware","html_url":"https://github.com/mwoehlke-kitware","followers_url":"https://api.github.com/users/mwoehlke-kitware/followers","following_url":"https://api.github.com/users/mwoehlke-kitware/following{/other_user}","gists_url":"https://api.github.com/users/mwoehlke-kitware/gists{/gist_id}","starred_url":"https://api.github.com/users/mwoehlke-kitware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwoehlke-kitware/subscriptions","organizations_url":"https://api.github.com/users/mwoehlke-kitware/orgs","repos_url":"https://api.github.com/users/mwoehlke-kitware/repos","events_url":"https://api.github.com/users/mwoehlke-kitware/events{/privacy}","received_events_url":"https://api.github.com/users/mwoehlke-kitware/received_events","type":"User","site_admin":false}],"milestone":null,"comments":14,"created_at":"2016-07-20T12:39:38Z","updated_at":"2016-07-21T18:26:32Z","closed_at":"2016-07-20T14:44:18Z","body":"We are currently building 3.0.9 from source.  For me (using make on mac), it is far and away the most painful part of the build process -- simply watching the printouts for the installation checks takes a non-negligible portion of my build time.\r\n\r\na few things have changed since we made the original decision:\r\n 1) our list of officially supported platforms http://drake.mit.edu/developers.html#id6 has compressed and been upgraded\r\n 2) homebrew, etc, is bottling newer versions (I see 3.0.10 bottled on my mac)\r\ni'm wondering if we can revisit the decision and just apt-get install / brew install swig instead of building it from source?\r\n\r\n@rdeits -- can you remind us on the initial pain point that forced you to include it as an external originally?\r\n"},"comment":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/comments/234341132","html_url":"https://github.com/RobotLocomotion/drake/issues/2849#issuecomment-234341132","issue_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/2849","id":234341132,"user":{"login":"rdeits","id":591886,"avatar_url":"https://avatars.githubusercontent.com/u/591886?v=3","gravatar_id":"","url":"https://api.github.com/users/rdeits","html_url":"https://github.com/rdeits","followers_url":"https://api.github.com/users/rdeits/followers","following_url":"https://api.github.com/users/rdeits/following{/other_user}","gists_url":"https://api.github.com/users/rdeits/gists{/gist_id}","starred_url":"https://api.github.com/users/rdeits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdeits/subscriptions","organizations_url":"https://api.github.com/users/rdeits/orgs","repos_url":"https://api.github.com/users/rdeits/repos","events_url":"https://api.github.com/users/rdeits/events{/privacy}","received_events_url":"https://api.github.com/users/rdeits/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T18:26:32Z","updated_at":"2016-07-21T18:26:32Z","body":"@sherm1 yes, that has definitely been the plan, and was exactly why I picked `swig_matlab`. But I'm also willing to revisit the issue if it's making our lives much harder. \r\n\r\n`swig_matlab`produces a mex file for each swig module (`.i` file), and matlab `.m` files that call into that mex library for the wrapped functions and classes. It's similar to the way swig-python produces C extensions and thin `.py` wrappers. \r\n\r\nI don't believe I ever tried interfacing matlab to swig-java, but I agree that it would be possible. My experience has been that matlab <-> java performance was poor (specifically, converting java Strings to matlab char arrays was hilariously slow), so `swig_matlab`'s direct mex interface seemed like a better option. "}}
{"actor":{"display_login":"rdeits"}}