[GHC] #7941: Running 'make maintainer-clean' doesn't remove all build artefacts

#7941: Running 'make maintainer-clean' doesn't remove all build artefacts -----------------------------+---------------------------------------------- Reporter: jstolarek | Owner: jstolarek Type: task | Status: new Priority: normal | Component: Build System Version: 7.7 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: -----------------------------+---------------------------------------------- Running `make maintainer-clean` in the build tree doesn't remove all build artefacts. I'd like to update Makefiles so that these files are removed. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7941 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7941: Running 'make maintainer-clean' doesn't remove all build artefacts -----------------------------+---------------------------------------------- Reporter: jstolarek | Owner: jstolarek Type: task | Status: patch Priority: normal | Component: Build System Version: 7.7 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: -----------------------------+---------------------------------------------- Changes (by jstolarek): * status: new => patch Comment: I updated the makefiles. There are two patches - one for main GHC repo and the other for testsuite. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7941#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7941: Running 'make maintainer-clean' doesn't remove all build artefacts
-----------------------------+----------------------------------------------
Reporter: jstolarek | Owner: jstolarek
Type: task | Status: patch
Priority: normal | Component: Build System
Version: 7.7 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Blockedby:
Blocking: | Related:
-----------------------------+----------------------------------------------
Comment(by ian@…):
commit 4c49772492f9703403d60dbb7a95bb29b5125fda
{{{
Author: Ian Lynagh

#7941: Running 'make maintainer-clean' doesn't remove all build artefacts
-----------------------------+----------------------------------------------
Reporter: jstolarek | Owner: jstolarek
Type: task | Status: patch
Priority: normal | Component: Build System
Version: 7.7 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Blockedby:
Blocking: | Related:
-----------------------------+----------------------------------------------
Comment(by ian@…):
commit 5483b14c4c6ebcba7025bdea493aacff274b8b31
{{{
Author: Ian Lynagh

#7941: Running 'make maintainer-clean' doesn't remove all build artefacts -------------------------------+-------------------------------------------- Reporter: jstolarek | Owner: jstolarek Type: task | Status: closed Priority: normal | Milestone: Component: Build System | Version: 7.7 Resolution: fixed | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: -------------------------------+-------------------------------------------- Changes (by igloo): * status: patch => closed * difficulty: => Unknown * resolution: => fixed Comment: Thanks, I've added cleaning for the extra files. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7941#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7941: Running 'make maintainer-clean' doesn't remove all build artefacts -------------------------------+-------------------------------------------- Reporter: jstolarek | Owner: Type: task | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.7 Resolution: | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: -------------------------------+-------------------------------------------- Changes (by jstolarek): * owner: jstolarek => * status: closed => new * resolution: fixed => Comment: Thanks! I just checked and it seems that these files are not removed: * `rts/libs.depend` * `rts/package.conf.inplace` * `rts/package.conf.inplace.raw` Also, I think we should update Makefile for testsuite, because right now `make clean` in testsuite doesn't remove some of the build artefacts (including object files, interface files, cabal package cache and others). I'm reopening this ticket because of the testsuite and the three files that I mentioned (I hope that's OK). -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7941#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7941: Running 'make maintainer-clean' doesn't remove all build artefacts -------------------------------+-------------------------------------------- Reporter: jstolarek | Owner: Type: task | Status: closed Priority: normal | Milestone: Component: Build System | Version: 7.7 Resolution: fixed | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: -------------------------------+-------------------------------------------- Changes (by igloo): * status: new => closed * resolution: => fixed Comment: Those 3 files are no longer created/used. The tests should clean up after themselves; it's not the Makefile's job to clean them. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7941#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7941: Running 'make maintainer-clean' doesn't remove all build artefacts -------------------------------+-------------------------------------------- Reporter: jstolarek | Owner: Type: task | Status: closed Priority: normal | Milestone: Component: Build System | Version: 7.7 Resolution: fixed | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: -------------------------------+-------------------------------------------- Comment(by jstolarek): I see. Sorry about the confusion :) -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7941#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (2)
-
GHC
-
GHC