summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Brunini <vebruni@sandia.gov>2024-01-11 21:05:56 -0800
committerGitHub <noreply@github.com>2024-01-11 22:05:56 -0700
commit2c6be31bde3774f0c5c3411cd9201c8a29acaba2 (patch)
treec0d8119cf57614dbc30e16b559c054ac0e7194ad
parent563c481bc09b2d4e471f4f3328bd337147908336 (diff)
downloadspack-2c6be31bde3774f0c5c3411cd9201c8a29acaba2.tar.gz
spack-2c6be31bde3774f0c5c3411cd9201c8a29acaba2.tar.bz2
spack-2c6be31bde3774f0c5c3411cd9201c8a29acaba2.tar.xz
spack-2c6be31bde3774f0c5c3411cd9201c8a29acaba2.zip
modules: Truncate configure options comment in tcl modules to 8192 ch… (#42054)
-rw-r--r--share/spack/templates/modules/modulefile.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/templates/modules/modulefile.tcl b/share/spack/templates/modules/modulefile.tcl
index d1593b8828..b162e3f62e 100644
--- a/share/spack/templates/modules/modulefile.tcl
+++ b/share/spack/templates/modules/modulefile.tcl
@@ -4,7 +4,7 @@
## {{ spec.short_spec }}
##
{% if configure_options %}
-## Configure options: {{ configure_options }}
+## Configure options: {{ configure_options | wordwrap(8192 - 23, True, "\n## ", 0) }}
##
{% endif %}