changeset 0:a66c1f4d3c68 draft

initial upload
author iuc
date Sun, 11 Aug 2013 06:30:41 -0400
parents
children 24d860ee7f16
files tool_dependencies.xml
diffstat 1 files changed, 22 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Sun Aug 11 06:30:41 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 &amp;&amp; cmake . -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/eigen2/</action>
+                <action type="shell_command">cd ./eigen-eigen-b23437e61a07 &amp;&amp; make</action>
+                <action type="shell_command">cd ./eigen-eigen-b23437e61a07 &amp;&amp; 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>