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
8e2132a1
Commit
8e2132a1
authored
1 year ago
by
Eleni Mathioulaki
Browse files
Options
Downloads
Patches
Plain Diff
make sure compiler isn't installed twice
parent
c2b0b93a
No related branches found
Branches containing commit
No related tags found
1 merge request
!434
create new experimental release
Pipeline
#25346
passed with stage
in 5 minutes and 55 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
install_spack_env.sh
+1
-1
1 addition, 1 deletion
install_spack_env.sh
with
2 additions
and
2 deletions
.gitlab-ci.yml
+
1
−
1
View file @
8e2132a1
...
...
@@ -254,7 +254,7 @@ sync-gitlab-spack-instance:
# install compiler (if not already installed)
-
EBRAINS_SPACK_COMPILER=$(grep 'compiler' $CI_PROJECT_DIR/site-config/$SYSTEMNAME/packages.yaml | awk -F'[][]' '{ print $2 }')
-
spack compiler find
-
spack install $EBRAINS_SPACK_COMPILER
-
spack
compiler list | grep -q $EBRAINS_SPACK_COMPILER || spack
install $EBRAINS_SPACK_COMPILER
-
spack load $EBRAINS_SPACK_COMPILER
-
spack compiler find
-
spack compiler list
...
...
This diff is collapsed.
Click to expand it.
install_spack_env.sh
+
1
−
1
View file @
8e2132a1
...
...
@@ -37,7 +37,7 @@ if [ $SYSTEMNAME == ebrainslab ]
then
EBRAINS_SPACK_COMPILER
=
$(
grep
'compiler'
$EBRAINS_REPO
/site-config/
$SYSTEMNAME
/packages.yaml |
awk
-F
'[][]'
'{ print $2 }'
)
spack compiler find
spack
install
$EBRAINS_SPACK_COMPILER
spack
compiler list |
grep
-q
$EBRAINS_SPACK_COMPILER
||
spack
install
$EBRAINS_SPACK_COMPILER
spack load
$EBRAINS_SPACK_COMPILER
fi
...
...
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