[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 <ian@well-typed.com> Date: Sun Jun 9 20:14:40 2013 +0100 Rarrange the distclean list; part of #7941 ghc.mk | 48 +++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 41 insertions(+), 7 deletions(-) }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7941#comment:2> 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 5483b14c4c6ebcba7025bdea493aacff274b8b31 {{{ Author: Ian Lynagh <ian@well-typed.com> Date: Fri Jun 14 13:56:17 2013 +0100 Cleaning fixes, and other build system tweaks; part of #7941 ghc.mk | 15 +++++++++++---- mk/config.mk.in | 1 - rts/ghc.mk | 12 ++++++------ rules/bindist.mk | 2 +- rules/manual-package-config.mk | 11 +++-------- 5 files changed, 21 insertions(+), 20 deletions(-) }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7941#comment:3> 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: 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