annotate tool_dependencies.xml @ 2:a6b8f46acca7 default tip

Uploaded
author bgruening
date Thu, 23 May 2013 11:39:43 -0400
parents 9f522a6139f7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
11df6383f50a Uploaded
bgruening
parents:
diff changeset
1 <tool_dependency>
11df6383f50a Uploaded
bgruening
parents:
diff changeset
2 <package name="lapack" version="3.4.2">
11df6383f50a Uploaded
bgruening
parents:
diff changeset
3 <install version="1.0">
11df6383f50a Uploaded
bgruening
parents:
diff changeset
4 <actions>
11df6383f50a Uploaded
bgruening
parents:
diff changeset
5 <!-- first action is always downloading -->
11df6383f50a Uploaded
bgruening
parents:
diff changeset
6 <action type="download_by_url">http://www.netlib.org/lapack/lapack-3.4.2.tgz</action>
1
9f522a6139f7 Uploaded
bgruening
parents: 0
diff changeset
7
2
a6b8f46acca7 Uploaded
bgruening
parents: 1
diff changeset
8 <action type="shell_command">sed 's/^OPTS\s.*/OPTS = -O2 -fPIC/g' INSTALL/make.inc.gfortran | sed 's/^NOOPT\s.*/OPTS = -O2 -fPIC/g' > make.inc</action>
0
11df6383f50a Uploaded
bgruening
parents:
diff changeset
9 <action type="shell_command">mkdir build</action>
11df6383f50a Uploaded
bgruening
parents:
diff changeset
10 <action type="shell_command">cd build &amp;&amp; cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack</action>
11df6383f50a Uploaded
bgruening
parents:
diff changeset
11 <action type="shell_command">cd build &amp;&amp; make</action>
11df6383f50a Uploaded
bgruening
parents:
diff changeset
12 <action type="shell_command">cd build &amp;&amp; make install</action>
11df6383f50a Uploaded
bgruening
parents:
diff changeset
13
11df6383f50a Uploaded
bgruening
parents:
diff changeset
14 <action type="set_environment">
11df6383f50a Uploaded
bgruening
parents:
diff changeset
15 <environment_variable name="LAPACK_LIB_DIR" action="set_to">$INSTALL_DIR/lapack/lib</environment_variable>
11df6383f50a Uploaded
bgruening
parents:
diff changeset
16 </action>
11df6383f50a Uploaded
bgruening
parents:
diff changeset
17 </actions>
11df6383f50a Uploaded
bgruening
parents:
diff changeset
18 </install>
11df6383f50a Uploaded
bgruening
parents:
diff changeset
19 <readme>LAPACK requires gcc and gfortran. LAPACK_LIB_DIR will be set (including liblapack.a and libblas.a). </readme>
11df6383f50a Uploaded
bgruening
parents:
diff changeset
20 </package>
11df6383f50a Uploaded
bgruening
parents:
diff changeset
21 </tool_dependency>