Mercurial > repos > iuc > package_eigen_2_0
diff tool_dependencies.xml @ 0:e3837c66c216 draft
Uploaded
| author | iuc |
|---|---|
| date | Mon, 08 Jul 2013 10:13:47 -0400 |
| parents | |
| children | 4ef14b1a225d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Mon Jul 08 10:13:47 2013 -0400 @@ -0,0 +1,22 @@ +<tool_dependency> + <package name="eigen2" version="2.0.17"> + <install version="1.0"> + <actions> + <action type="download_by_url">http://bitbucket.org/eigen/eigen/get/2.0.17.tar.gz</action> + <action type="make_directory">$INSTALL_DIR/unpacked_source</action> + + <action type="shell_command">cp -r ./eigen-eigen-b23437e61a07/* $INSTALL_DIR/unpacked_source</action> + <action type="shell_command">cd ./eigen-eigen-b23437e61a07 && cmake . -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/eigen2/</action> + <action type="shell_command">cd ./eigen-eigen-b23437e61a07 && make</action> + <action type="shell_command">cd ./eigen-eigen-b23437e61a07 && make install</action> + + <action type="set_environment"> + <environment_variable name="EIGEN2_SOURCE_PATH" action="set_to">$INSTALL_DIR/unpacked_source</environment_variable> + <environment_variable name="EIGEN2_INCLUDE_PATH" action="set_to">$INSTALL_DIR/eigen2/include</environment_variable> + <environment_variable name="EIGEN2_LIB_PATH" action="set_to">$INSTALL_DIR/eigen2/lib</environment_variable> + </action> + </actions> + </install> + <readme>Downloading and compiling the eigen2 library and unpacking it to the EIGEN2_SOURCE_PATH. EIGEN2_INCLUDE_PATH and EIGEN2_LIB_PATH will be available.</readme> + </package> +</tool_dependency>
