Installs GCC. Please see COMPATIBILITY.md for more information about GCC versions that are tested and supported by cookbook versions.
- CentOS 6
- RHEL 6
- Ubuntu 12.04, 12.10, 13.04, 13.10, 14.04
These attributes are under the node['gcc']
namespace.
Attribute | Description | Type | Default |
---|---|---|---|
install_type | Installation type for GCC ("package" or "source") | String | package |
recipe[gcc]
Installs GCCrecipe[gcc::cpp]
Installs GCC C++recipe[gcc::tru_devtools_repo]
Installs tru devtools reporecipe[gcc::ubuntu_toolchain_repo]
Installs Ubuntu toolchain repo
- Add
recipe[gcc]
to your node's run list
- Add
recipe[gcc::cpp11]
to your node's run list
Here's how you can quickly get testing or developing against the cookbook thanks to Vagrant and Berkshelf.
vagrant plugin install vagrant-berkshelf
vagrant plugin install vagrant-cachier
vagrant plugin install vagrant-omnibus
git clone git://github.com/bflad/chef-gcc.git
cd chef-gcc
vagrant up BOX # BOX being centos5, centos6, debian7, fedora18, fedora19, fedora20, freebsd9, ubuntu1204, ubuntu1210, ubuntu1304, or ubuntu1310
You can then SSH into the running VM using the vagrant ssh BOX
command.
The VM can easily be stopped and deleted with the vagrant destroy
command. Please see the official Vagrant documentation for a more in depth explanation of available commands.
Please see documentation in: TESTING.md
Please use standard Github issues/pull requests and if possible, in combination with testing on the Vagrant boxes or Test Kitchen suite.
- Brian Flad (bflad417@gmail.com)