view tool_dependencies.xml @ 2:e1398fc46a27

Uploaded
author bgruening
date Sat, 18 May 2013 04:03:35 -0400
parents 224343b02e0a
children 4e971abe695a
line wrap: on
line source

<tool_dependency>
    <package name="atlas" version="3.10.1">
        <install version="1.0">
            <actions>
                <!-- first action is always downloading -->
                <action type="download_file" target_filename="ATLAS.tar.bz2">http://downloads.sourceforge.net/project/math-atlas/Stable/3.10.1/atlas3.10.1.tar.bz2</action>
                <action type="download_file">http://www.netlib.org/lapack/lapack-3.4.2.tgz</action> 
                <action type="shell_command">
                    mkdir build &amp;&amp;
                    cd build &amp;&amp;
                    mkdir $INSTALL_DIR/atlas/ &amp;&amp;
                    cpufreq-selector -g performance &amp;&amp;
                    ../configure -Fa alg -fPIC --prefix=$INSTALL_DIR/atlas/ --with-netlib-lapack-tarfile=../lapack-3.4.2.tgz</action>
                <action type="shell_command">cd ./build &amp;&amp; make </action>
                <action type="shell_command">cd ./build &amp;&amp; make install</action>

                <action type="set_environment">
                    <environment_variable name="ATLAS_LIB_DIR" action="set_to">$INSTALL_DIR/atlas/lib</environment_variable>
                    <environment_variable name="ATLAS_INCLUDE_DIR" action="set_to">$INSTALL_DIR/atlas/include</environment_variable>
                </action>
            </actions>
        </install>
        <readme>ATLAS_LIB_DIR and ATLAS_INCLUDE_DIR will be set (including libatlas.a)</readme>
    </package>
</tool_dependency>