mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
Reduce non-verbose output
This commit is contained in:
parent
a85da213f3
commit
9bec092fd1
1 changed files with 6 additions and 2 deletions
|
|
@ -643,7 +643,7 @@ if [[ ! -d "${SPACK_BUILD_PATH}" ]]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
spack find -c
|
||||
((VERBOSE > 0)) && spack find -c
|
||||
|
||||
# Create spack makefile for all dependencies
|
||||
if ! spack -e "${CP2K_ENV}" env depfile -o spack_makefile; then
|
||||
|
|
@ -702,7 +702,11 @@ else
|
|||
fi
|
||||
|
||||
# Activate spack environment
|
||||
eval "$(spack env activate --sh ${CP2K_ENV})"
|
||||
if ((VERBOSE > 0)); then
|
||||
eval "$(spack env activate --sh ${CP2K_ENV})"
|
||||
else
|
||||
eval "$(spack env activate --sh ${CP2K_ENV} &> /dev/null)"
|
||||
fi
|
||||
|
||||
spack env status
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue