Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid /dev/null for spack@develop #197

Merged
merged 2 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions stackinator/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ def generate(self, recipe):
with (self.path / "Make.user").open("w") as f:
f.write(
make_user_template.render(
develop=self.spack_develop,
build_path=self.path,
store=recipe.mount,
no_bwrap=recipe.no_bwrap,
Expand Down
5 changes: 5 additions & 0 deletions stackinator/templates/Make.user
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ export SPACK_COLOR := always
# config files in ~/.spack. Note that our recommended bwrap setup already puts
# a tmpfs in the home folder, but when bwrap isn't used, this also helps a bit
# with reproducibility.
{% if develop %}
# spack develop after 0.22.1 chokes on /dev/null
export SPACK_USER_CONFIG_PATH := ~
{% else %}
export SPACK_USER_CONFIG_PATH := /dev/null
{% endif %}

# Set up the system config scope that has the system packages we don't want
# build, for example slurm, pmix, etc. Also should have the system compiler.
Expand Down
Loading