diff options
author | kmu <kmu@hdfgroup.org> | 2019-11-26 23:24:11 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:24 (GMT) |
commit | 71610c9677f34c7e0aaaf40dedd49fb4671cdd44 (patch) | |
tree | c5d9b78f1246fdd3f7f6c07581102e1f64f9e4a1 /config/gnu-flags | |
parent | 9d8fb46a2c50118ee5162e2437d55bef100da20d (diff) | |
download | hdf5-71610c9677f34c7e0aaaf40dedd49fb4671cdd44.zip hdf5-71610c9677f34c7e0aaaf40dedd49fb4671cdd44.tar.gz hdf5-71610c9677f34c7e0aaaf40dedd49fb4671cdd44.tar.bz2 |
Revert "let hdf5 pick up the right compiler in Intel environment"
This reverts commit 3613ec7296a782c86ea5f0706a5a0cb51602abc9.
Diffstat (limited to 'config/gnu-flags')
-rw-r--r-- | config/gnu-flags | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/config/gnu-flags b/config/gnu-flags index ef6dd25..2758681 100644 --- a/config/gnu-flags +++ b/config/gnu-flags @@ -29,13 +29,10 @@ if test "X-" = "X-$cc_flags_set"; then # icc beginning with version 12 includes a "gcc version compatiblilty" # string, causing the gcc H5_CFLAGS to be erroneously added. The line # "grep -v 'icc version'" causes the discarding of any output - # containing 'icc version'. The line "grep -v 'icc.orig version'" causes - # the discarding of any output containing 'icc.orig version'. - # The cc_version for icc is correctly determined + # containing 'icc version'. The cc_version for icc is correctly determined # and flags added in the intel-flags script. cc_version="`$CC $CFLAGS $H5_CFLAGS -v 2>&1 | grep -v 'PathScale' |\ grep -v 'icc version' |\ - grep -v 'icc.orig version' |\ grep 'gcc version' | sed 's/.*gcc version \([-a-z0-9\.]*\).*/\1/'`" cc_vendor=`echo $cc_version |sed 's/\([a-z]*\).*/\1/'` cc_version=`echo $cc_version |sed 's/[-a-z]//g'` |