circleci: Detect core count
authorBen Gamari <bgamari.foss@gmail.com>
Fri, 6 Jul 2018 14:57:55 +0000 (10:57 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 6 Jul 2018 18:08:37 +0000 (14:08 -0400)
commitde95bf40ee0af0e7da4cb6cc4e0ad33694234bb9
tree13ee71ca22f5a3610900ad7ce49f9fa635e2c6b3
parent8c628ad9b9241dcf4ea087ca9efa5f0ca9632aa5
circleci: Detect core count

Test Plan: Try `./validate`, CircleCI build; make sure core count
detection works in both cases.

Reviewers: alpmestan

Reviewed By: alpmestan

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #14470

Differential Revision: https://phabricator.haskell.org/D4897
.circleci/config.yml
mk/detect-cpu-count.sh [new file with mode: 0755]
validate