comparison tool_dependencies.xml @ 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
comparison
equal deleted inserted replaced
3:b5caa0c1be7b 4:ad6c1415507a
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <tool_dependency> 2 <tool_dependency>
3 <package name="cmake" version="3.2.3"> 3 <package name="cmake" version="3.2.3">
4 <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" /> 4 <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
5 </package> 5 </package>
6
7 <package name="lapack" version="3.4.2"> 6 <package name="lapack" version="3.4.2">
8 <install version="1.0"> 7 <install version="1.0">
9 <actions> 8 <actions>
10 <action sha256sum="60a65daaf16ec315034675942618a2230521ea7adf85eea788ee54841072faf0" type="download_by_url">http://www.netlib.org/lapack/lapack-3.4.2.tgz</action> 9 <action sha256sum="60a65daaf16ec315034675942618a2230521ea7adf85eea788ee54841072faf0" type="download_by_url">https://depot.galaxyproject.org/software/lapack/lapack_3.4.2_src_all.tar.gz</action>
11 10
12 <action type="set_environment_for_install"> 11 <action type="set_environment_for_install">
13 <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu"> 12 <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
14 <package name="cmake" version="3.2.3" /> 13 <package name="cmake" version="3.2.3" />
15 </repository> 14 </repository>
16 </action> 15 </action>
17 16
17 <!-- compile both static and shared library -->
18 <action type="shell_command"> 18 <action type="shell_command">
19 mkdir build &amp;&amp; 19 mkdir build &amp;&amp;
20 cd build &amp;&amp; 20 cd build &amp;&amp;
21 cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack -DCMAKE_Fortran_FLAGS='-O2 -fPIC' &amp;&amp; 21 cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack -DCMAKE_Fortran_FLAGS='-O2 -fPIC' &amp;&amp;
22 22 make &amp;&amp;
23 make install &amp;&amp;
24 cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack -DBUILD_SHARED_LIBS=ON -DCMAKE_Fortran_FLAGS='-O2 -fPIC' &amp;&amp;
23 make &amp;&amp; 25 make &amp;&amp;
24 make install 26 make install
25 </action> 27 </action>
26
27 <action type="set_environment"> 28 <action type="set_environment">
28 <environment_variable action="set_to" name="LAPACK_LIB_DIR">$INSTALL_DIR/lapack/lib</environment_variable> 29 <environment_variable action="set_to" name="LAPACK_LIB_DIR">$INSTALL_DIR/lapack/lib</environment_variable>
30 <environment_variable action="prepend_to" name="LIBRARY_PATH">$INSTALL_DIR/lapack/lib</environment_variable>
31 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lapack/lib</environment_variable>
29 </action> 32 </action>
30 </actions> 33 </actions>
31 </install> 34 </install>
32 <readme>LAPACK requires gcc, gfortran and cmake. LAPACK_LIB_DIR will be set (including liblapack.a and libblas.a). </readme> 35 <readme>LAPACK requires gcc, gfortran and cmake. LAPACK_LIB_DIR will be set (including liblapack.a and libblas.a). </readme>
33 </package> 36 </package>