Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
Manage
Activity
Members
Labels
Plan
Issues
30
Issue boards
Milestones
Wiki
Code
Merge requests
32
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
87a7075b
Commit
87a7075b
authored
1 year ago
by
Eric Müller
Browse files
Options
Downloads
Patches
Plain Diff
feat: fetch before install
parent
3b025ab5
No related branches found
No related tags found
1 merge request
!501
feat: fetch before install
Pipeline
#28213
failed with stage
in 45 minutes and 46 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install_spack_env.sh
+6
-0
6 additions, 0 deletions
install_spack_env.sh
with
6 additions
and
0 deletions
install_spack_env.sh
+
6
−
0
View file @
87a7075b
...
@@ -77,6 +77,12 @@ rm $SPACK_ROOT/var/spack/environments/$EBRAINS_SPACK_ENV/spack.lock || echo "No
...
@@ -77,6 +77,12 @@ rm $SPACK_ROOT/var/spack/environments/$EBRAINS_SPACK_ENV/spack.lock || echo "No
# activate environment
# activate environment
spack
env
activate
$EBRAINS_SPACK_ENV
spack
env
activate
$EBRAINS_SPACK_ENV
# fetch all sources
spack concretize
--fresh
--test
root
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
# install the environment, use 2 jobs to reduce the amount of required RAM
spack
install
-y
-j2
--fresh
--test
root
spack
install
-y
-j2
--fresh
--test
root
...
...
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