[med-svn] r17546 - in trunk/packages/raxml/trunk/debian: . bin
Andreas Tille
tille at moszumanska.debian.org
Tue Jul 29 14:20:43 UTC 2014
Author: tille
Date: 2014-07-29 14:20:43 +0000 (Tue, 29 Jul 2014)
New Revision: 17546
Added:
trunk/packages/raxml/trunk/debian/bin/
trunk/packages/raxml/trunk/debian/bin/raxml
Log:
Simple wrapper - need to ask back bug reporter if this is what he had in mind
Added: trunk/packages/raxml/trunk/debian/bin/raxml
===================================================================
--- trunk/packages/raxml/trunk/debian/bin/raxml (rev 0)
+++ trunk/packages/raxml/trunk/debian/bin/raxml 2014-07-29 14:20:43 UTC (rev 17546)
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if grep -q avx /proc/cpuinfo; then
+ echo "Use raxml with AVX support"
+ /usr/bin/raxmlHPC-PTHREADS-AVX "$@"
+elif grep -q sse3 /proc/cpuinfo; then
+ echo "Use raxml with SSE3 support"
+ /usr/bin/raxmlHPC-PTHREADS-SSE3 "$@"
+else
+ echo "Use raxml with PTHREADS support"
+ /usr/bin/raxmlHPC-PTHREADS "$@"
+fi
More information about the debian-med-commit
mailing list