CPATH warning: downgrade to debug message (#10675)
Spack warns users when a dependency package updates CPATH. This warning message is generating bug reports and alarm in cases where there is no problem. For now this downgrades the warning message to the debug level, so it only shows up if something goes wrong for the user and they ask for more information from Spack.
This commit is contained in:
parent
4f5be841d4
commit
98f1c9a291
1 changed files with 3 additions and 3 deletions
|
@ -691,7 +691,7 @@ def setup_package(pkg, dirty):
|
|||
dpkg.setup_dependent_environment(spack_env, run_env, spec)
|
||||
|
||||
if (not dirty) and (not spack_env.is_unset('CPATH')):
|
||||
tty.warn("A dependency has updated CPATH, this may lead pkg-config"
|
||||
tty.debug("A dependency has updated CPATH, this may lead pkg-config"
|
||||
" to assume that the package is part of the system"
|
||||
" includes and omit it when invoked with '--cflags'.")
|
||||
|
||||
|
|
Loading…
Reference in a new issue