summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/target.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/spack/spack/target.py b/lib/spack/spack/target.py
index e4e8217a36..c7a166b9f8 100644
--- a/lib/spack/spack/target.py
+++ b/lib/spack/spack/target.py
@@ -3,7 +3,6 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import functools
-import warnings
import six
@@ -134,7 +133,7 @@ class Target(object):
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