changeset 1:e1370f7d5e2f draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_macs2_2_1_0_20151222 commit b4ee2876523956e0f887a6f81c2b53b19368604d
author iuc
date Thu, 11 Feb 2016 13:00:32 -0500
parents ae3cfa214a33
children
files tool_dependencies.xml
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Wed Jan 27 15:21:48 2016 -0500
+++ b/tool_dependencies.xml	Thu Feb 11 13:00:32 2016 -0500
@@ -21,6 +21,10 @@
                 </action>
                 <action type="make_directory">$INSTALL_DIR/lib/python</action>
                 <!-- exporting the CFLAGS and CPPFLAGS are due to http://stackoverflow.com/questions/22313407/clang-error-unknown-argument-mno-fused-madd-python-package-installation-fa -->
+                <!-- Addressing compiler compatibility issues for gcc < 4.6 https://github.com/taoliu/MACS/issues/75 --> 
+                <action type="shell_command">
+                    echo | cc -E - -Ofast; if [ $? -ne 0 ]; then sed -i.bak s/-Ofast/-O3/ setup.py; fi
+                </action>
                 <action type="shell_command">
                     export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp;
                     python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin