Remove verbosity in core calculation
This commit is contained in:
parent
fc6188d777
commit
4ef213af3d
4
Rakefile
4
Rakefile
@ -120,10 +120,6 @@ def run(cmd)
|
|||||||
end
|
end
|
||||||
|
|
||||||
def number_of_cores
|
def number_of_cores
|
||||||
puts "======================================================"
|
|
||||||
puts "Calculating number of cores"
|
|
||||||
puts "======================================================"
|
|
||||||
|
|
||||||
if RUBY_PLATFORM.downcase.include?("darwin")
|
if RUBY_PLATFORM.downcase.include?("darwin")
|
||||||
cores = run %{ sysctl -n hw.ncpu }
|
cores = run %{ sysctl -n hw.ncpu }
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user