Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
d25c7ddd
Unverified
Commit
d25c7ddd
authored
4 years ago
by
Paul
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
spack containerize: added --fail-fast argument to containerize install. (#17533)
parent
48a9ad36
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
share/spack/templates/container/Dockerfile
+1
-1
1 addition, 1 deletion
share/spack/templates/container/Dockerfile
share/spack/templates/container/singularity.def
+1
-1
1 addition, 1 deletion
share/spack/templates/container/singularity.def
with
2 additions
and
2 deletions
share/spack/templates/container/Dockerfile
+
1
−
1
View file @
d25c7ddd
...
...
@@ -7,7 +7,7 @@ RUN mkdir {{ paths.environment }} \
{{
manifest
}}
>
{{
paths.environment
}}
/spack.yaml
# Install the software, remove unecessary deps
RUN
cd
{{
paths.environment
}}
&&
spack
env
activate
.
&&
spack
install
&&
spack gc
-y
RUN
cd
{{
paths.environment
}}
&&
spack
env
activate
.
&&
spack
install
--fail-fast
&&
spack gc
-y
{% if strip %}
# Strip all the binaries
...
...
This diff is collapsed.
Click to expand it.
share/spack/templates/container/singularity.def
+
1
−
1
View file @
d25c7ddd
...
...
@@ -12,7 +12,7 @@ EOF
# Install all the required software
. /opt/spack/share/spack/setup-env.sh
spack env activate .
spack install
spack install
--fail-fast
spack gc -y
spack env deactivate
spack env activate --sh -d . >> {{ paths.environment }}/environment_modifications.sh
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment