Skip to content

Commit

Permalink
unixPB: Remove devtoolset-7 and require Adopt's GCC7.5 (#1166)
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart Addison <sxa@uk.ibm.com>
  • Loading branch information
sxa555 authored Feb 24, 2020
1 parent 238e3c8 commit 6c9c743
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,6 @@
- ansible_distribution_major_version != "8"
tags: build_tools

- name: Install gcc7.3
package: "name={{ item }} state=latest"
with_items: "{{ gcc73_devtoolset_compiler }}"
when:
- ansible_architecture == "x86_64"
- ansible_distribution_major_version != "8"
tags: build_tools

- name: Install additional build tools for CentOS on x86
package: "name={{ item }} state=latest"
with_items: "{{ Additional_Build_Tools_CentOS_x86 }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ gcc48_devtoolset_compiler:
- devtoolset-2-binutils
- devtoolset-2-gcc-c++

gcc73_devtoolset_compiler:
- devtoolset-7-gcc # OpenJ9
- devtoolset-7-binutils # OpenJ9
- devtoolset-7-gcc-c++ # OpenJ9

Additional_Build_Tools_CentOS7:
- libstdc++-static

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
##########
# gcc_73 #
##########
#########
# gcc_7 #
#########


- name: Check if gcc-7 is installed on RHEL/CentOS
shell: /opt/rh/devtoolset-7/root/usr/bin/gcc --version 2>&1 > /dev/null || /usr/local/gcc/bin/gcc-7.3 --version 2>&1 > /dev/null || /usr/local/gcc/bin/gcc-7.4 --version 2>&1 > /dev/null || /usr/bin/gcc-7.3 --version 2>&1 > /dev/null
- name: Check if gcc 7.5 is installed on RHEL/CentOS
shell: /usr/local/gcc/bin/gcc-7.5 --version 2>&1 > /dev/null
ignore_errors: yes
register: gcc7_installed
tags: gcc-7
Expand Down

0 comments on commit 6c9c743

Please sign in to comment.