[GHC] #14470: CircleCI: Detect number of processors

GHC ghc-devs at haskell.org
Thu Nov 16 00:23:08 UTC 2017


#14470: CircleCI: Detect number of processors
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:  bgamari
               Type:  task           |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Continuous     |           Version:  8.2.1
  Integration                        |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Currently we hard-code the thread count to 8, which is what the machines
 which jobs from the `ghc/ghc` repository run on. However, such machines
 are not available to owners of `ghc` forks (unless they specifically
 request a resource limit bump from CircleCI).

 We should automatically detect the CPU count to ensure that CI on smaller
 instances will not fail due to oversubscription.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14470>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list