Skip to content

🐂 Ansible role to install GNU C/C++ Compilers

License

Notifications You must be signed in to change notification settings

dockpack/base_gcc

Repository files navigation

Galaxy

base_gcc is an ansible-role that installs Gnu compiler tools

Requirements

RHEL-like system (RHEL6 RHEL8), or Ubuntu

Role Variables

DTSVER: the major release of the developer toolset of choice on RedHat systems, corresponds somehow with the GCC version. Old versions of DTS require you to host repositories for obsolete versions.

DTSVER: 11
cplusplus_devtoolset: "devtoolset-{{ DTSVER }}"
  • Corporate feature: toggles desired state compilers_present: present

  • Software collections offer latest versions of programming languages collections_enabled: true

  • approved/test release of software collections' devtoolset cplusplus_devtoolset: devtoolset-7

  • Change these defaults for optional packages. cplusplusrpms `cplusplusapts

Dependencies

https://www.softwarecollections.org/en/docs/

Example Usage

Refer to a complete build server https://github.com/bbaassssiiee/buildserver

License

MIT

Author Information

Bas Meijer @bbaassssiiee