[GHC] #10223: Cleanup `mk/build.mk.sample`

#10223: Cleanup `mk/build.mk.sample` -------------------------------------+------------------------------------- Reporter: thomie | Owner: thomie Type: task | Status: new Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.10.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10223 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10223: Cleanup `mk/build.mk.sample` -------------------------------------+------------------------------------- Reporter: thomie | Owner: thomie Type: task | Status: new Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by goldfire): I vote to remove `-Rghc-timing` from this file. Note that it has to be removed from this file, and also somewhere(?) else. I currently put `GhcHcOpts =` in my `build.mk`s to make sure this output is squashed. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10223#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10223: Cleanup `mk/build.mk.sample` -------------------------------------+------------------------------------- Reporter: thomie | Owner: thomie Type: task | Status: new Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by thomie): Phab:D783 filters out `-Rghc-timing` for `V=0` builds. I didn't make any changes to the default `V=1` build, as `-Rghc-timing` has been part of that default since at least the beginning of the century, some people might depend on it, and it could be useful for bug reports. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10223#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10223: Cleanup `mk/build.mk.sample`
-------------------------------------+-------------------------------------
Reporter: thomie | Owner: thomie
Type: task | Status: new
Priority: normal | Milestone: 7.12.1
Component: Compiler | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Thomas Miedema

#10223: Cleanup `mk/build.mk.sample`
-------------------------------------+-------------------------------------
Reporter: thomie | Owner: thomie
Type: task | Status: new
Priority: normal | Milestone: 7.12.1
Component: Compiler | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Thomas Miedema

#10223: Cleanup `mk/build.mk.sample`
-------------------------------------+-------------------------------------
Reporter: thomie | Owner: thomie
Type: task | Status: new
Priority: normal | Milestone: 7.12.1
Component: Compiler | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Thomas Miedema

#10223: Cleanup `mk/build.mk.sample`
-------------------------------------+-------------------------------------
Reporter: thomie | Owner: thomie
Type: task | Status: new
Priority: normal | Milestone: 7.12.1
Component: Compiler | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Thomas Miedema

#10223: Cleanup `mk/build.mk.sample` -------------------------------------+------------------------------------- Reporter: thomie | Owner: thomie Type: task | Status: new Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Description changed by thomie: Old description: New description: The goal is to make build.mk.sample easier to understand for GHC developers. There are currently 13 BuildFlavours available to us. It should be clear what the differences between them are, and if those differences are put there on purpose or it they are bugs. There is a certain amount of cargo culting going on in build.mk.sample, with settings just left alone for years because nobody dares touching them (-H64m -fasm) (or nobody cares). Quiz question: what is the difference between the quick and the devel2 build is. We should try to keep the changes backward-compatible, because there are blog posts etc out there that refer to the existing BuildFlavours. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10223#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10223: Cleanup `mk/build.mk.sample`
-------------------------------------+-------------------------------------
Reporter: thomie | Owner: thomie
Type: task | Status: new
Priority: normal | Milestone: 7.12.1
Component: Compiler | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Thomas Miedema

#10223: Cleanup `mk/build.mk.sample`
-------------------------------------+-------------------------------------
Reporter: thomie | Owner: thomie
Type: task | Status: new
Priority: normal | Milestone: 7.12.1
Component: Compiler | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Thomas Miedema

#10223: Cleanup `mk/build.mk.sample`
-------------------------------------+-------------------------------------
Reporter: thomie | Owner: thomie
Type: task | Status: new
Priority: normal | Milestone: 7.12.1
Component: Compiler | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Thomas Miedema

#10223: Cleanup `mk/build.mk.sample` -------------------------------------+------------------------------------- Reporter: thomie | Owner: thomie Type: task | Status: new Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by thomie): Todo: * figure out the `-H64m` story. See https://mail.haskell.org/pipermail /glasgow-haskell-users/2015-May/025917.html. I found this bit of wisdom by Simon Marlow, https://mail.haskell.org/pipermail/ghc-devs/2014-March/004344.html:
Just wondering: that '-H64m' is from some old times (pre 2007?). GHC seems to eat way more RAM nowadays. Is this bit relevant at all?
It still speeds up compilation a bit, but a larger -H value might be more appropriate > for today's machines.
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10223#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10223: Cleanup `mk/build.mk.sample` -------------------------------------+------------------------------------- Reporter: thomie | Owner: thomie Type: task | Status: closed Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10223#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC