summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@ovgu.de>2021-10-11 17:54:59 +0200
committerGitHub <noreply@github.com>2021-10-11 17:54:59 +0200
commitd1f327960793ffdf5d83538ed636da0181f906a2 (patch)
tree15fe8fbca478b65ecdd37e3e5fc42e98add57fb5 /etc
parent8f62039d45ec6545d0a226611bdf8998665844d8 (diff)
downloadspack-d1f327960793ffdf5d83538ed636da0181f906a2.tar.gz
spack-d1f327960793ffdf5d83538ed636da0181f906a2.tar.bz2
spack-d1f327960793ffdf5d83538ed636da0181f906a2.tar.xz
spack-d1f327960793ffdf5d83538ed636da0181f906a2.zip
installer: Support showing status information in terminal title (#16259)
Installing packages with a lot of dependencies does not have an easy way of judging the current progress (apart from running `spack spec -I pkg` in another terminal). This change allows Spack to update the terminal's title with status information, including its current progress as well as information about the current and total number of packages.
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/config.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml
index 88a19d3222..3487d33162 100644
--- a/etc/spack/defaults/config.yaml
+++ b/etc/spack/defaults/config.yaml
@@ -134,7 +134,7 @@ config:
# enabling locks.
locks: true
- # The default url fetch method to use.
+ # The default url fetch method to use.
# If set to 'curl', Spack will require curl on the user's system
# If set to 'urllib', Spack will use python built-in libs to fetch
url_fetch_method: urllib
@@ -190,3 +190,8 @@ config:
# Set to 'false' to allow installation on filesystems that doesn't allow setgid bit
# manipulation by unprivileged user (e.g. AFS)
allow_sgid: true
+
+ # Whether to set the terminal title to display status information during
+ # building and installing packages. This gives information about Spack's
+ # current progress as well as the current and total number of packages.
+ terminal_title: false