Skip to content

Commit

Permalink
Merge pull request #301 from pedromartinez/revert-299-patch-1
Browse files Browse the repository at this point in the history
Revert "Add support for darwin20"
  • Loading branch information
grosser committed Aug 25, 2021
2 parents fdd4dca + af122dc commit e100693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parallel/processor_count.rb
Expand Up @@ -12,7 +12,7 @@ def processor_count
def physical_processor_count
@physical_processor_count ||= begin
ppc = case RbConfig::CONFIG["target_os"]
when /darwin[12]/,
when /darwin1/
IO.popen("/usr/sbin/sysctl -n hw.physicalcpu").read.to_i
when /linux/
cores = {} # unique physical ID / core ID combinations
Expand Down

0 comments on commit e100693

Please sign in to comment.