[commit: nofib] master: Also fix reverse-compliment and k-nucleotide. (8122aac)

Austin Seipp mad.one at gmail.com
Tue Jun 25 13:55:54 CEST 2013


Repository : ssh://darcs.haskell.org//srv/darcs/nofib

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/8122aaccafc6452a049a245d4c276a337a15e3af

>---------------------------------------------------------------

commit 8122aaccafc6452a049a245d4c276a337a15e3af
Author: Austin Seipp <aseipp at pobox.com>
Date:   Tue Jun 25 06:55:15 2013 -0500

    Also fix reverse-compliment and k-nucleotide.
    
    Signed-off-by: Austin Seipp <aseipp at pobox.com>

>---------------------------------------------------------------

 shootout/k-nucleotide/Makefile       |    4 ++--
 shootout/reverse-complement/Makefile |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/shootout/k-nucleotide/Makefile b/shootout/k-nucleotide/Makefile
index e9b6352..e286212 100644
--- a/shootout/k-nucleotide/Makefile
+++ b/shootout/k-nucleotide/Makefile
@@ -14,8 +14,8 @@ HC_OPTS += -O2 -XBangPatterns -package bytestring
 #------------------------------------------------------------------
 # Create input
 
-fasta-c : ../fasta/fasta-c.o
-	gcc $< -o $@
+fasta-c : ../fasta/fasta-c.c
+	$(CC) -std=gnu99 -march=native -O3 -fomit-frame-pointer $< -o $@
 
 knucleotide-input250000.txt : fasta-c
 	./fasta-c $(FAST_OPTS) > $@
diff --git a/shootout/reverse-complement/Makefile b/shootout/reverse-complement/Makefile
index c532470..03359d8 100644
--- a/shootout/reverse-complement/Makefile
+++ b/shootout/reverse-complement/Makefile
@@ -19,8 +19,8 @@ HC_OPTS += -O2 -XBangPatterns -funfolding-use-threshold=32 -XMagicHash \
 #------------------------------------------------------------------
 # Create input
 
-fasta-c : ../fasta/fasta-c.o
-	gcc $< -o $@
+fasta-c : ../fasta/fasta-c.c
+	$(CC) -std=gnu99 -march=native -O3 -fomit-frame-pointer $< -o $@
 
 revcomp-input250000.txt : fasta-c
 	./fasta-c $(FAST_OPTS) > $@





More information about the ghc-commits mailing list