Sha256: 480c5575171908de5093518dc46ceda45b5e389102dfdb8e088efa6b2b033f3a

Contents?: true

Size: 1.8 KB

Versions: 46

Compression:

Stored size: 1.8 KB

Contents

define 'cc' do
  name "C compiler"
  website "http://gcc.gnu.org/"
  define_checker do
    PhusionPassenger.require_passenger_lib 'platform_info/compiler'
    check_for_command(PlatformInfo.cc, false)
  end

  on :debian do
    apt_get_install "build-essential"
  end
  on :mandriva do
    urpmi "gcc"
  end
  on :redhat do
    yum_install "gcc"
  end
  on :gentoo do
    emerge "gcc"
  end
  on :macosx do
    install_osx_command_line_tools
  end
end

define 'c++' do
  name "C++ compiler"
  website "http://gcc.gnu.org/"
  define_checker do
    PhusionPassenger.require_passenger_lib 'platform_info/compiler'
    check_for_command(PlatformInfo.cxx, false)
  end

  on :debian do
    apt_get_install "build-essential"
  end
  on :mandriva do
    urpmi "gcc-c++"
  end
  on :redhat do
    yum_install "gcc-c++"
  end
  on :gentoo do
    emerge "gcc"
  end
  on :macosx do
    install_osx_command_line_tools
  end
end

define 'make' do
  name "The 'make' tool"
  define_checker do
    PhusionPassenger.require_passenger_lib 'platform_info/compiler'
    check_for_command(PlatformInfo.make)
  end

  on :debian do
    apt_get_install "build-essential"
  end
  on :mandriva do
    urpmi "make"
  end
  on :redhat do
    yum_install "make"
  end
  on :macosx do
    install_osx_command_line_tools
  end
  on :other_platforms do
    website "http://www.gnu.org/software/make/"
  end
end

define 'gmake' do
  name "GNU make"
  define_checker do
    PhusionPassenger.require_passenger_lib 'platform_info/compiler'
    check_for_command(PlatformInfo.gnu_make)
  end

  on :debian do
    apt_get_install "build-essential"
  end
  on :mandriva do
    urpmi "make"
  end
  on :redhat do
    yum_install "make"
  end
  on :macosx do
    install_osx_command_line_tools
  end
  on :other_platforms do
    website "http://www.gnu.org/software/make/"
  end
end

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
passenger-5.2.0 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.1.12 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.1.11 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.1.10 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.1.9 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.1.8 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.1.7 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.1.6 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.1.5 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.1.4 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.1.3 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.1.2 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.1.1 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.1.0 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.0.30 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.0.29 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/passenger-5.0.28/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.0.28 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.0.27 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb
passenger-5.0.26 src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/compiler_toolchain.rb