Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
Manage
Activity
Members
Labels
Plan
Issues
38
Issue boards
Milestones
Wiki
Code
Merge requests
30
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBRAINS RI
Tech Hub
Platform
EBRAINS Software Distribution
ebrains-spack-builds
Commits
931d9641
Commit
931d9641
authored
1 year ago
by
Eleni Mathioulaki
Browse files
Options
Downloads
Patches
Plain Diff
fix: check if env is complete before fetching
spack fetch --missing fails when there are no missing packages
parent
01c24df8
No related branches found
No related tags found
No related merge requests found
Pipeline
#28293
passed with stage
in 1 hour, 27 minutes, and 9 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install_spack_env.sh
+1
-1
1 addition, 1 deletion
install_spack_env.sh
with
1 addition
and
1 deletion
install_spack_env.sh
+
1
−
1
View file @
931d9641
...
...
@@ -80,7 +80,7 @@ spack env activate $EBRAINS_SPACK_ENV
# fetch all sources
spack concretize
--fresh
--test
root
spack fetch
--dependencies
--missing
spack-python
-c
"exit(not len(spack.environment.active_environment().uninstalled_specs()))"
&&
spack fetch
--dependencies
--missing
rm
$SPACK_ROOT
/var/spack/environments/
$EBRAINS_SPACK_ENV
/spack.lock
# install the environment, use 2 jobs to reduce the amount of required RAM
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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