Skip to content

Commit 6df0e53

Browse files
committed
suppress icc long double message
improve configury to check whether icc is handling no long double. This prevents seeing 100s of messages like this: icc: command line warning #10148: option '-Wno-long-double' not supported A similar patch will be needed for pmix. Signed-off-by: Howard Pritchard <hppritcha@gmail.com>
1 parent 9a0f661 commit 6df0e53

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

config/opal_setup_cc.m4

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ dnl Copyright (c) 2012-2017 Los Alamos National Security, LLC. All rights
1616
dnl reserved.
1717
dnl Copyright (c) 2015-2019 Research Organization for Information Science
1818
dnl and Technology (RIST). All rights reserved.
19+
dnl Copyright (c) 2020 Triad National Security, LLC. All rights
20+
dnl reserved.
21+
dnl
1922
dnl $COPYRIGHT$
2023
dnl
2124
dnl Additional copyrights may follow
@@ -328,7 +331,7 @@ AC_DEFUN([OPAL_SETUP_CC],[
328331
opal_cv_cc_wno_long_double="yes"
329332
if test -s conftest.err ; then
330333
dnl Yes, it should be "ignor", in order to catch ignoring and ignore
331-
for i in unknown invalid ignor unrecognized ; do
334+
for i in unknown invalid ignor unrecognized 'not supported'; do
332335
$GREP -iq $i conftest.err
333336
if test "$?" = "0" ; then
334337
opal_cv_cc_wno_long_double="no"

config/opal_setup_cxx.m4

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ dnl Copyright (c) 2007-2009 Sun Microsystems, Inc. All rights reserved.
1616
dnl Copyright (c) 2008-2013 Cisco Systems, Inc. All rights reserved.
1717
dnl Copyright (c) 2015-2016 Research Organization for Information Science
1818
dnl and Technology (RIST). All rights reserved.
19+
dnl Copyright (c) 2020 Triad National Security, LLC. All rights
20+
dnl reserved.
21+
dnl
1922
dnl $COPYRIGHT$
2023
dnl
2124
dnl Additional copyrights may follow
@@ -145,7 +148,7 @@ AC_DEFUN([_OPAL_SETUP_CXX_COMPILER_BACKEND],[
145148
opal_cv_cxx_wno_long_double="yes"
146149
if test -s conftest.err ; then
147150
dnl Yes, it should be "ignor", in order to catch ignoring and ignore
148-
for i in unknown invalid ignor unrecognized ; do
151+
for i in unknown invalid ignor unrecognized 'not supported'; do
149152
$GREP -iq $i conftest.err
150153
if test "$?" = "0" ; then
151154
opal_cv_cxx_wno_long_double="no"

0 commit comments

Comments
 (0)