diff tool_dependencies.xml @ 2:a6b8f46acca7 default tip

Uploaded
author bgruening
date Thu, 23 May 2013 11:39:43 -0400
parents 9f522a6139f7
children
line wrap: on
line diff
--- a/tool_dependencies.xml	Thu May 23 10:52:54 2013 -0400
+++ b/tool_dependencies.xml	Thu May 23 11:39:43 2013 -0400
@@ -5,9 +5,7 @@
                 <!-- 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 '.tmp' 's/^OPTS\s.*/OPTS     = -O2 -fPIC/g' make.inc</action>
-                <action type="shell_command">sed -i '.tmp' 's/^NOOPT\s.*/OPTS     = -O2 -fPIC/g' make.inc</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; make</action>