
#10728: Add e.g. "-N<=4" in addition to the fixed "-N4" and variable "-N" RTS options -------------------------------------+------------------------------------- Reporter: rrnewton | Owner: simonmar Type: feature request | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.10.2 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #9221, #8224 | Differential Revisions: -------------------------------------+------------------------------------- Comment (by hvr): Another use-case that comes up often is to have `-N<cores-1>`, but I'm not sure what kind of expression syntax to use. For instance, allow simple arithmetic expressions w/ a couple of binary functions such as `max(_,_)`, and a constant `n` denoting the number of cores detected: - `-Nmax(n,4)` - `-Ndiv(n,2)` - `-Nadd(n,-1)` or something other that's cheap/trivial to parse. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10728#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler