-
Notifications
You must be signed in to change notification settings - Fork 2.4k
gcc 7.2.0 version is not detected correctly on Ubuntu 16.04 #5778
Copy link
Copy link
Closed
Labels
Description
spack compiler find does not pick the GCC7.2.0 version correctly:
- compiler:
environment: {}
extra_rpaths: []
flags: {}
modules: []
operating_system: ubuntu16.04
paths:
cc: /usr/bin/gcc-7
cxx: /usr/bin/g++-7
f77: null
fc: null
spec: gcc@7
target: x86_64
however
$ gcc-7 --version
gcc-7 (Ubuntu 7.2.0-1ubuntu1~16.04) 7.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Spack picked up gcc 5 and 6 perfectly fine though:
- compiler:
environment: {}
extra_rpaths: []
flags: {}
modules: []
operating_system: ubuntu16.04
paths:
cc: /usr/bin/gcc-6
cxx: /usr/bin/g++-6
f77: /usr/bin/gfortran-6
fc: /usr/bin/gfortran-6
spec: [email protected]
target: x86_64
- compiler:
environment: {}
extra_rpaths: []
flags: {}
modules: []
operating_system: ubuntu16.04
paths:
cc: /usr/bin/gcc-5
cxx: /usr/bin/g++-5
f77: /usr/bin/gfortran-5
fc: /usr/bin/gfortran-5
spec: [email protected]
target: x86_64g
Reactions are currently unavailable