[GHC] #7966: 'make distclean' does not work in nofib
GHC
ghc-devs at haskell.org
Thu Jun 6 14:25:19 CEST 2013
#7966: 'make distclean' does not work in nofib
-----------------------------+----------------------------------------------
Reporter: jstolarek | Owner:
Type: bug | Status: new
Priority: normal | Component: NoFib benchmark suite
Version: 7.7 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Other | Blockedby:
Blocking: | Related:
-----------------------------+----------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7966>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list