Skip to content

'make distclean' does not work in nofib

I noticed that make distclean and make maintainer-clean don't work for nofib because distclean and maintainer-clean targets are not defined in the nofib-analyse/Makefile. This seems easy to fix - it's enough to change clean: to clean distclean maintainer-clean: in the mentioned Makefile.

After this fix is applied it turns out that the cleaning commands leave some garbage in the nofib tree:

  • output files from cachegrind are not removed. This can be fixed by adding cachegrind.out* on line 250 in mk/ghc-paths.mk
  • these files are not deleted:
real/maillist/addresses.tex
shootout/fasta/fasta-c
shootout/fasta/fasta.stdout
shootout/k-nucleotide/fasta-c
shootout/k-nucleotide/knucleotide-input2500000.txt
shootout/reverse-complement/fasta-c
shootout/reverse-complement/revcomp-c
shootout/reverse-complement/revcomp-input2500000.txt
shootout/reverse-complement/reverse-complement.stdout

I'm not sure on the best way of fixing the second issue so I'm not attaching my own patch.

Trac metadata
Trac field Value
Version 7.7
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component NoFib benchmark suite
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information