Mixed compilers: drop warning message to debug level (#29748)
This commit is contained in:
parent
1eb61dd9f3
commit
f97be99f2a
@ -3,7 +3,6 @@
|
|||||||
#
|
#
|
||||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
import functools
|
import functools
|
||||||
import warnings
|
|
||||||
|
|
||||||
import six
|
import six
|
||||||
|
|
||||||
@ -134,7 +133,7 @@ def optimization_flags(self, compiler):
|
|||||||
msg = ('microarchitecture specific optimizations are not '
|
msg = ('microarchitecture specific optimizations are not '
|
||||||
'supported yet on mixed compiler toolchains [check'
|
'supported yet on mixed compiler toolchains [check'
|
||||||
' {0.name}@{0.version} for further details]')
|
' {0.name}@{0.version} for further details]')
|
||||||
warnings.warn(msg.format(compiler))
|
tty.debug(msg.format(compiler))
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
# Try to check if the current compiler comes with a version number or
|
# Try to check if the current compiler comes with a version number or
|
||||||
|
Loading…
Reference in New Issue
Block a user