Mixed compilers: drop warning message to debug level (#29748)

This commit is contained in:
Adam J. Stewart 2022-03-30 16:18:37 -05:00 committed by GitHub
parent 1eb61dd9f3
commit f97be99f2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,6 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import functools
import warnings
import six
@ -134,7 +133,7 @@ def optimization_flags(self, compiler):
msg = ('microarchitecture specific optimizations are not '
'supported yet on mixed compiler toolchains [check'
' {0.name}@{0.version} for further details]')
warnings.warn(msg.format(compiler))
tty.debug(msg.format(compiler))
return ''
# Try to check if the current compiler comes with a version number or