Skip to content

Commit

Permalink
Merge pull request RobotLocomotion#4944 from rdeits/update-iris
Browse files Browse the repository at this point in the history
update IRIS version to remove swig, mex, and pods dependencies
  • Loading branch information
jamiesnape authored Jan 30, 2017
2 parents 64a29ae + c5b37e8 commit 3399001
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,13 @@ drake_add_external(iris PUBLIC CMAKE MATLAB PYTHON
-DBUILD_TESTING=OFF
-DIRIS_WITH_CDD=ON
-DIRIS_WITH_EIGEN=OFF
-DIRIS_WITH_MATLAB=${Matlab_FOUND}
-DIRIS_WITH_MOSEK=OFF
-DSWIG_EXECUTABLE=${CMAKE_INSTALL_PREFIX}/bin/swig
DEPENDS eigen mosek swig_matlab)
-DIRIS_WITH_PYBIND11=OFF
-DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE}
-DPYTHON_INCLUDE_DIR=${PYTHON_INCLUDE_DIR}
-DPYTHON_LIBRARY=${PYTHON_LIBRARY}
DEPENDS eigen mosek pybind11)

# lcm
drake_add_external(lcm PUBLIC CMAKE PYTHON
Expand Down
2 changes: 1 addition & 1 deletion cmake/options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ macro(drake_setup_options)
"Convex/integer optimization solver\; free for academics")

drake_optional_external(IRIS OFF
DEPENDS "WITH_MOSEK\;WITH_SWIG_MATLAB"
DEPENDS "WITH_MOSEK"
"fast approximate convex segmentation")

drake_optional_external(MESHCONVERTERS OFF
Expand Down
3 changes: 0 additions & 3 deletions drake/matlab/util/checkDependency.m
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,6 @@

case 'iris'
conf.iris_enabled = logical(exist('+iris/inflate_region.m','file'));
if (~conf.iris_enabled)
conf.iris_enabled = pod_pkg_config('iris');
end
if ~conf.iris_enabled && nargout<1
disp(' ');
disp(' iris (Iterative Regional Inflation by SDP) is disabled. To enable it, install the IRIS matlab package from here: https://github.com/rdeits/iris-distro and re-run addpath_drake.');
Expand Down
2 changes: 1 addition & 1 deletion externals/iris
Submodule iris updated 199 files

0 comments on commit 3399001

Please sign in to comment.