Skip to content

Commit

Permalink
Revert "Add support for darwin20"
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromartinez committed Aug 25, 2021
1 parent fdd4dca commit af122dc
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 af122dc

Please sign in to comment.