Skip to content

Commit 670f4c3

Browse files
committed
remove spack_version from templates
1 parent 7faa0fb commit 670f4c3

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

stackinator/templates/Make.user

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,7 @@ export SPACK_COLOR := always
3737
# config files in ~/.spack. Note that our recommended bwrap setup already puts
3838
# a tmpfs in the home folder, but when bwrap isn't used, this also helps a bit
3939
# with reproducibility.
40-
{% if spack_version>="0.22" %}
41-
# spack after 0.22.1 chokes on /dev/null
4240
export SPACK_USER_CONFIG_PATH := ~
43-
{% else %}
44-
export SPACK_USER_CONFIG_PATH := /dev/null
45-
{% endif %}
4641

4742
# Set up the system config scope that has the system packages we don't want
4843
# build, for example slurm, pmix, etc. Also should have the system compiler.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
env --ignore-environment PATH=/usr/bin:/bin:{{ build_path }}/spack/bin http_proxy=$http_proxy https_proxy=$https_proxy HOME=$HOME BUILD_ROOT={{ build_path }} STORE={{ mount_path }} SPACK_SYSTEM_CONFIG_PATH={{ build_path }}/config SPACK_USER_CACHE_PATH={{ build_path }}/cache SPACK=spack SPACK_COLOR=always SPACK_USER_CONFIG_PATH={% if spack_version>="0.23" %}~{% else %}/dev/null{% endif %} LC_ALL=en_US.UTF-8 TZ=UTC SOURCE_DATE_EPOCH=315576060 {% if use_bwrap %} {{ build_path }}/bwrap-mutable-root.sh --tmpfs ~ --bind {{ build_path }}/tmp /tmp --bind {{ build_path }}/store {{ mount_path }} {% endif %} bash -noprofile -l
1+
env --ignore-environment PATH=/usr/bin:/bin:{{ build_path }}/spack/bin http_proxy=$http_proxy https_proxy=$https_proxy HOME=$HOME BUILD_ROOT={{ build_path }} STORE={{ mount_path }} SPACK_SYSTEM_CONFIG_PATH={{ build_path }}/config SPACK_USER_CACHE_PATH={{ build_path }}/cache SPACK=spack SPACK_COLOR=always SPACK_USER_CONFIG_PATH=~ LC_ALL=en_US.UTF-8 TZ=UTC SOURCE_DATE_EPOCH=315576060 {% if use_bwrap %} {{ build_path }}/bwrap-mutable-root.sh --tmpfs ~ --bind {{ build_path }}/tmp /tmp --bind {{ build_path }}/store {{ mount_path }} {% endif %} bash -noprofile -l

0 commit comments

Comments
 (0)