changeset 1:73854db866e7 draft

Uploaded
author bgruening
date Tue, 15 Oct 2013 12:37:19 -0400
parents 60957bd68fe2
children c62da294b82e
files tool_dependencies.xml
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Mon Jul 08 10:17:18 2013 -0400
+++ b/tool_dependencies.xml	Tue Oct 15 12:37:19 2013 -0400
@@ -5,9 +5,11 @@
                 <!-- 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">sed 's/^OPTS\s.*/OPTS     = -O2 -fPIC/g' INSTALL/make.inc.gfortran  | sed  's/^NOOPT\s.*/OPTS     = -O2 -fPIC/g'  > make.inc</action>
                 <action type="shell_command">mkdir build</action>
-                <action type="shell_command">cd build &amp;&amp; cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack</action>
+                <action type="shell_command">
+                    cd build &amp;&amp;
+                    cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/lapack -DCMAKE_Fortran_FLAGS='-O2 -fPIC'
+                </action>
                 <action type="shell_command">cd build &amp;&amp; make</action>
                 <action type="shell_command">cd build &amp;&amp; make install</action>