comparison tool_dependencies.xml @ 4:dc6a907dd737

Uploaded
author bgruening
date Tue, 14 May 2013 16:28:40 -0400
parents 785426417f15
children efffcee80e03
comparison
equal deleted inserted replaced
3:785426417f15 4:dc6a907dd737
1 <tool_dependency> 1 <tool_dependency>
2 <package name="eigen" version="2.0.17"> 2 <package name="eigen3" version="3.1.3">
3 <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_eigen_2_0" owner="bgruening" changeset_revision="09eb05087cd0" prior_installation_required="True" /> 3 <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_eigen_3_1" owner="bgruening" changeset_revision="b72b882b30b4" prior_installation_required="True" />
4 </package> 4 </package>
5 <package name="openbabel" version="2.3.2"> 5 <package name="openbabel" version="2.3.2">
6 <install version="1.0"> 6 <install version="1.0">
7 <actions> 7 <actions>
8 <action type="download_by_url">http://downloads.sourceforge.net/project/openbabel/openbabel/2.3.2/openbabel-2.3.2.tar.gz</action> 8 <action type="download_by_url">http://downloads.sourceforge.net/project/openbabel/openbabel/2.3.2/openbabel-2.3.2.tar.gz</action>
9 9
10 <!-- populate the environment variables from the dependend repos --> 10 <!-- populate the environment variables from the dependend repos -->
11 <action type="set_environment_for_install"> 11 <action type="set_environment_for_install">
12 <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_eigen_2_0" owner="bgruening" changeset_revision="09eb05087cd0"> 12 <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_eigen_3_1" owner="bgruening" changeset_revision="b72b882b30b4">
13 <package name="eigen" version="2.0.17" /> 13 <package name="eigen3" version="3.1.3" />
14 </repository> 14 </repository>
15 </action> 15 </action>
16 16
17 <!-- 17 <!--
18 Huge hack, to point to the actual python lib path. Cmake gets confused with mixed python versions (2.x and 3.x) and we need to point explicitely to the recent version. 18 Huge hack, to point to the actual python lib path. Cmake gets confused with mixed python versions (2.x and 3.x) and we need to point explicitely to the recent version.
19 --> 19 -->
20 <action type="shell_command">cmake . -DPYTHON_BINDINGS=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DEIGEN2_INCLUDE_DIR=$EIGEN_SOURCE_PATH -DPYTHON_LIBRARY=`python -c 'import sys; print "%s/lib/python%s.%s/config/libpython%s.%s.so" % (sys.exec_prefix, sys.version_info.major, sys.version_info.minor, sys.version_info.major, sys.version_info.minor)'`</action> 20 <action type="shell_command">cmake . -DPYTHON_BINDINGS=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DEIGEN3_INCLUDE_DIR=$EIGEN3_SOURCE_PATH -DPYTHON_LIBRARY=`python -c 'import sys; print "%s/lib/python%s.%s/config/libpython%s.%s.so" % (sys.exec_prefix, sys.version_info.major, sys.version_info.minor, sys.version_info.major, sys.version_info.minor)'`</action>
21 <action type="shell_command">make</action> 21 <action type="shell_command">make</action>
22 <action type="shell_command">make install</action> 22 <action type="shell_command">make install</action>
23 <action type="set_environment"> 23 <action type="set_environment">
24 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable> 24 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
25 <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib</environment_variable> 25 <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib</environment_variable>
30 <environment_variable name="OPENBABEL_LIB_DIR" action="set_to">$INSTALL_DIR/lib</environment_variable> 30 <environment_variable name="OPENBABEL_LIB_DIR" action="set_to">$INSTALL_DIR/lib</environment_variable>
31 <environment_variable name="OPENBABEL_INCLUDE_DIR" action="set_to">$INSTALL_DIR/include</environment_variable> 31 <environment_variable name="OPENBABEL_INCLUDE_DIR" action="set_to">$INSTALL_DIR/include</environment_variable>
32 </action> 32 </action>
33 </actions> 33 </actions>
34 </install> 34 </install>
35 <readme>Compiling OpenBabel requires g++ and CMake 2.4+. Optional but required for a few features is Eigen version 2 or newer and the cairo development libraries. OPENBABEL_INCLUDE_DIR and OPENBABEL_LIB_DIR can be accessed from other tool wrappers.</readme> 35 <readme>Compiling OpenBabel requires g++ and CMake 2.4+. Optional but required for a few features are the cairo development libraries. OPENBABEL_INCLUDE_DIR and OPENBABEL_LIB_DIR can be accessed from other tool wrappers.</readme>
36 </package> 36 </package>
37 </tool_dependency> 37 </tool_dependency>