Fix a bug that computeHostNumPhysicalCores is fallback to default
unknown when building for Apple Silicon macs.
rdar://80533675
Differential D106012
[Support] Get correct number of physical cores on Apple Silicon steven_wu on Jul 14 2021, 1:26 PM. Authored by
Details Fix a bug that computeHostNumPhysicalCores is fallback to default rdar://80533675
Diff Detail
Unit Tests Event Timeline
Comment Actions This breaks tests on m1 bots: http://45.33.8.238/macm1/13971/step_11.txt Please take a look and revert for now if it takes a while to fix. |
Should this be checking if the target is for macOS? Or does is the functionality below available on all platforms?