annotate tool_dependencies.xml @ 0:98a7d116c15f draft

initial upload
author iuc
date Sun, 11 Aug 2013 06:27:58 -0400
parents
children 5686c79a72d5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
98a7d116c15f initial upload
iuc
parents:
diff changeset
1 <tool_dependency>
98a7d116c15f initial upload
iuc
parents:
diff changeset
2 <package name="lapack" version="3.4.2">
98a7d116c15f initial upload
iuc
parents:
diff changeset
3 <install version="1.0">
98a7d116c15f initial upload
iuc
parents:
diff changeset
4 <actions>
98a7d116c15f initial upload
iuc
parents:
diff changeset
5 <!-- first action is always downloading -->
98a7d116c15f initial upload
iuc
parents:
diff changeset
6 <action type="download_by_url">http://www.netlib.org/lapack/lapack-3.4.2.tgz</action>
98a7d116c15f initial upload
iuc
parents:
diff changeset
7
98a7d116c15f initial upload
iuc
parents:
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>
98a7d116c15f initial upload
iuc
parents:
diff changeset
9 <action type="shell_command">mkdir build</action>
98a7d116c15f initial upload
iuc
parents:
diff changeset
10 <action type="shell_command">cd build &amp;&amp; cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack</action>
98a7d116c15f initial upload
iuc
parents:
diff changeset
11 <action type="shell_command">cd build &amp;&amp; make</action>
98a7d116c15f initial upload
iuc
parents:
diff changeset
12 <action type="shell_command">cd build &amp;&amp; make install</action>
98a7d116c15f initial upload
iuc
parents:
diff changeset
13
98a7d116c15f initial upload
iuc
parents:
diff changeset
14 <action type="set_environment">
98a7d116c15f initial upload
iuc
parents:
diff changeset
15 <environment_variable name="LAPACK_LIB_DIR" action="set_to">$INSTALL_DIR/lapack/lib</environment_variable>
98a7d116c15f initial upload
iuc
parents:
diff changeset
16 </action>
98a7d116c15f initial upload
iuc
parents:
diff changeset
17 </actions>
98a7d116c15f initial upload
iuc
parents:
diff changeset
18 </install>
98a7d116c15f initial upload
iuc
parents:
diff changeset
19 <readme>LAPACK requires gcc and gfortran. LAPACK_LIB_DIR will be set (including liblapack.a and libblas.a). </readme>
98a7d116c15f initial upload
iuc
parents:
diff changeset
20 </package>
98a7d116c15f initial upload
iuc
parents:
diff changeset
21 </tool_dependency>