Sha256: ad423bc0833f42c25ebb0f87bc9cf61b8288702d14a551ad5f614179afca3a61

Contents?: true

Size: 242 Bytes

Versions: 32

Compression:

Stored size: 242 Bytes

Contents

require 'mkmf'

unless have_const('linux') || RbConfig::CONFIG['arch'].to_s[/linux/]
	abort('Platform is not linux')
end

unless have_header('sched.h') && have_header('ruby.h')
	abort('Missing header')
end

create_makefile 'linux_stat/nproc'

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
linux_stat-2.6.0 ext/nproc/extconf.rb
linux_stat-2.5.3 ext/nproc/extconf.rb
linux_stat-2.5.2 ext/nproc/extconf.rb
linux_stat-2.5.1 ext/nproc/extconf.rb
linux_stat-2.5.0 ext/nproc/extconf.rb
linux_stat-2.4.0 ext/nproc/extconf.rb
linux_stat-2.3.0 ext/nproc/extconf.rb
linux_stat-2.2.3 ext/nproc/extconf.rb
linux_stat-2.2.2 ext/nproc/extconf.rb
linux_stat-2.2.1 ext/nproc/extconf.rb
linux_stat-2.2.0 ext/nproc/extconf.rb
linux_stat-2.1.2 ext/nproc/extconf.rb
linux_stat-2.1.1 ext/nproc/extconf.rb
linux_stat-2.1.0 ext/nproc/extconf.rb
linux_stat-2.0.1 ext/nproc/extconf.rb
linux_stat-1.6.0 ext/nproc/extconf.rb
linux_stat-1.5.1 ext/nproc/extconf.rb
linux_stat-1.4.0 ext/nproc/extconf.rb
linux_stat-1.3.1 ext/nproc/extconf.rb
linux_stat-1.3.0 ext/nproc/extconf.rb