From 52eaf314f8fb2cf920452b4c940478b0ae13e7c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 14 Mar 2017 14:14:02 +0100 Subject: [PATCH] ubuntu: bump gcc to 4.9 on 12.04 The latest version of 4.8 available for 12.04 is 4.8.4. It is not able to build V8 from version 5.7 and does not satisfy the requirements to build Node.js. Refs: https://github.com/nodejs/node/pull/11840 Refs: https://github.com/nodejs/v8/issues/5 --- ansible/roles/baselayout/vars/main.yml | 7 +++++++ setup/ubuntu12.04/ansible-vars.yaml | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ansible/roles/baselayout/vars/main.yml b/ansible/roles/baselayout/vars/main.yml index b9053a180..07a028103 100644 --- a/ansible/roles/baselayout/vars/main.yml +++ b/ansible/roles/baselayout/vars/main.yml @@ -104,5 +104,12 @@ packages: { 'g++', 'gcc', 'git', + ], + + ubuntu12: [ + 'ccache', + 'g++-4.9', + 'gcc-4.9', + 'git' ] } diff --git a/setup/ubuntu12.04/ansible-vars.yaml b/setup/ubuntu12.04/ansible-vars.yaml index 994393cf1..c95dd0f6f 100644 --- a/setup/ubuntu12.04/ansible-vars.yaml +++ b/setup/ubuntu12.04/ansible-vars.yaml @@ -9,7 +9,7 @@ packages: - automake - libtool - curl - - gcc-4.8 - - g++-4.8 + - gcc-4.9 + - g++-4.9 - ccache - subversion