Mercurial > repos > bgruening > package_lapack_3_4
view tool_dependencies.xml @ 0:11df6383f50a
Uploaded
author | bgruening |
---|---|
date | Fri, 17 May 2013 14:49:45 -0400 |
parents | |
children | 9f522a6139f7 |
line wrap: on
line source
<tool_dependency> <package name="lapack" version="3.4.2"> <install version="1.0"> <actions> <!-- first action is always downloading --> <action type="download_by_url">http://www.netlib.org/lapack/lapack-3.4.2.tgz</action> <action type="shell_command">cp INSTALL/make.inc.gfortran make.inc</action> <action type="shell_command">sed -i 's/^OPTS\s.*/OPTS = -O2 -fPIC/g' make.inc</action> <action type="shell_command">sed -i 's/^NOOPT\s.*/OPTS = -O2 -fPIC/g' make.inc</action> <action type="shell_command">mkdir build</action> <action type="shell_command">cd build && cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack</action> <action type="shell_command">cd build && make</action> <action type="shell_command">cd build && make install</action> <action type="set_environment"> <environment_variable name="LAPACK_LIB_DIR" action="set_to">$INSTALL_DIR/lapack/lib</environment_variable> </action> </actions> </install> <readme>LAPACK requires gcc and gfortran. LAPACK_LIB_DIR will be set (including liblapack.a and libblas.a). </readme> </package> </tool_dependency>