From f97be99f2a193d23435f7a8511a471f2a781cfa5 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Wed, 30 Mar 2022 16:18:37 -0500 Subject: Mixed compilers: drop warning message to debug level (#29748) --- lib/spack/spack/target.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3-60-g2f50