Mercurial > repos > bgruening > package_openbabel_2_3
diff tool_dependencies.xml @ 3:785426417f15
Uploaded
author | bgruening |
---|---|
date | Tue, 14 May 2013 04:48:19 -0400 |
parents | 13d2ea9436b3 |
children | dc6a907dd737 |
line wrap: on
line diff
--- a/tool_dependencies.xml Fri Apr 26 10:49:56 2013 -0400 +++ b/tool_dependencies.xml Tue May 14 04:48:19 2013 -0400 @@ -1,12 +1,23 @@ <tool_dependency> + <package name="eigen" version="2.0.17"> + <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_eigen_2_0" owner="bgruening" changeset_revision="09eb05087cd0" prior_installation_required="True" /> + </package> <package name="openbabel" version="2.3.2"> <install version="1.0"> <actions> <action type="download_by_url">http://downloads.sourceforge.net/project/openbabel/openbabel/2.3.2/openbabel-2.3.2.tar.gz</action> + + <!-- populate the environment variables from the dependend repos --> + <action type="set_environment_for_install"> + <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_eigen_2_0" owner="bgruening" changeset_revision="09eb05087cd0"> + <package name="eigen" version="2.0.17" /> + </repository> + </action> + <!-- 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. --> - <action type="shell_command">cmake . -DPYTHON_BINDINGS=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -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> + <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> <action type="shell_command">make</action> <action type="shell_command">make install</action> <action type="set_environment">