comparison tool_dependencies.xml @ 2:e87b2acfb5d2 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_lapack_3_4 commit 8e222c088dac55ffcb28fd892dd8fea991791fda-dirty
author iuc
date Tue, 07 Jun 2016 05:33:36 -0400
parents 5686c79a72d5
children 716579eca632
comparison
equal deleted inserted replaced
1:5686c79a72d5 2:e87b2acfb5d2
1 <?xml version="1.0"?>
1 <tool_dependency> 2 <tool_dependency>
3 <package name="cmake" version="3.2.3">
4 <repository changeset_revision="1aea698a1c63" name="package_cmake_3_2_3" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
5 </package>
2 <package name="lapack" version="3.4.2"> 6 <package name="lapack" version="3.4.2">
3 <install version="1.0"> 7 <install version="1.0">
4 <actions> 8 <actions>
5 <!-- first action is always downloading --> 9 <action sha256sum="60a65daaf16ec315034675942618a2230521ea7adf85eea788ee54841072faf0" type="download_by_url">https://depot.galaxyproject.org/software/lapack/lapack_3.4.2_src_all.tar.gz</action>
6 <action type="download_by_url">http://www.netlib.org/lapack/lapack-3.4.2.tgz</action>
7 10
8 <action type="shell_command">mkdir build</action> 11 <!-- compile both static and shared library -->
9 <action type="shell_command"> 12 <action type="shell_command">
13 mkdir build &amp;&amp;
10 cd build &amp;&amp; 14 cd build &amp;&amp;
11 cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack -DCMAKE_Fortran_FLAGS='-O2 -fPIC' 15 cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack -DCMAKE_Fortran_FLAGS='-O2 -fPIC' &amp;&amp;
12 </action> 16 make &amp;&amp;
13 <action type="shell_command">cd build &amp;&amp; make</action> 17 make install &amp;&amp;
14 <action type="shell_command">cd build &amp;&amp; make install</action> 18 cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack -DBUILD_SHARED_LIBS=ON -DCMAKE_Fortran_FLAGS='-O2 -fPIC' &amp;&amp;
15 19 make &amp;&amp;
20 make install
21 </action>
16 <action type="set_environment"> 22 <action type="set_environment">
17 <environment_variable name="LAPACK_LIB_DIR" action="set_to">$INSTALL_DIR/lapack/lib</environment_variable> 23 <environment_variable action="set_to" name="LAPACK_LIB_DIR">$INSTALL_DIR/lapack/lib</environment_variable>
24 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lapack/lib</environment_variable>
18 </action> 25 </action>
19 </actions> 26 </actions>
20 </install> 27 </install>
21 <readme>LAPACK requires gcc and gfortran. LAPACK_LIB_DIR will be set (including liblapack.a and libblas.a). </readme> 28 <readme>LAPACK requires gcc, gfortran and cmake. LAPACK_LIB_DIR will be set (including liblapack.a and libblas.a). </readme>
22 </package> 29 </package>
23 </tool_dependency> 30 </tool_dependency>