Mercurial > repos > iuc > package_lapack_3_4
changeset 4:ad6c1415507a draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_lapack_3_4 commit 4e829bc62e1328b12abf9d43112967296dcfed7a
author | iuc |
---|---|
date | Thu, 16 Jun 2016 12:15:43 -0400 |
parents | b5caa0c1be7b |
children | |
files | tool_dependencies.xml |
diffstat | 1 files changed, 8 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/tool_dependencies.xml Tue Dec 22 19:21:11 2015 -0500 +++ b/tool_dependencies.xml Thu Jun 16 12:15:43 2016 -0400 @@ -3,29 +3,32 @@ <package name="cmake" version="3.2.3"> <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" /> </package> - <package name="lapack" version="3.4.2"> <install version="1.0"> <actions> - <action sha256sum="60a65daaf16ec315034675942618a2230521ea7adf85eea788ee54841072faf0" type="download_by_url">http://www.netlib.org/lapack/lapack-3.4.2.tgz</action> - + <action sha256sum="60a65daaf16ec315034675942618a2230521ea7adf85eea788ee54841072faf0" type="download_by_url">https://depot.galaxyproject.org/software/lapack/lapack_3.4.2_src_all.tar.gz</action> + <action type="set_environment_for_install"> <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu"> <package name="cmake" version="3.2.3" /> </repository> </action> + <!-- compile both static and shared library --> <action type="shell_command"> mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack -DCMAKE_Fortran_FLAGS='-O2 -fPIC' && - + make && + make install && + cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack -DBUILD_SHARED_LIBS=ON -DCMAKE_Fortran_FLAGS='-O2 -fPIC' && make && make install </action> - <action type="set_environment"> <environment_variable action="set_to" name="LAPACK_LIB_DIR">$INSTALL_DIR/lapack/lib</environment_variable> + <environment_variable action="prepend_to" name="LIBRARY_PATH">$INSTALL_DIR/lapack/lib</environment_variable> + <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lapack/lib</environment_variable> </action> </actions> </install>