Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
autoicon
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
w2w
autoicon
Commits
7078b745
Commit
7078b745
authored
1 year ago
by
Takumi.Matsunobu
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/master' into D2_takumi
parents
035738e9
8c74fdb9
No related branches found
No related tags found
No related merge requests found
Pipeline
#19034
passed
1 year ago
Stage: run_tests
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
platforms/common/spack_utils.sh
+6
-0
6 additions, 0 deletions
platforms/common/spack_utils.sh
templates/common/build_icon.sh
+3
-0
3 additions, 0 deletions
templates/common/build_icon.sh
templates/common/build_python_environment.sh
+4
-0
4 additions, 0 deletions
templates/common/build_python_environment.sh
with
13 additions
and
0 deletions
platforms/common/spack_utils.sh
+
6
−
0
View file @
7078b745
function
_install_spack
()
{
if
[
!
-e
${
SPACK_ROOT
}
]
;
then
if
!
command
-v
git &> /dev/null
then
echo
"git could not be found ... will try to load it form the module system ..."
module load git
||
echo
"could not load git from module system"
fi
echo
"Cloning to
${
SPACK_ROOT
}
"
git clone
--depth
1
${
SPACK_URL
}
-b
${
SPACK_BRANCH
}
${
SPACK_ROOT
}
fi
...
...
This diff is collapsed.
Click to expand it.
templates/common/build_icon.sh
+
3
−
0
View file @
7078b745
...
...
@@ -4,6 +4,9 @@ WORKDIR=%HPCROOTDIR%
ICON_VERSION
=
%ICON.VERSION%
COMPILER
=
%SPACK.COMPILER%
MODULES
=
"%MODULES%"
if
[
!
-z
"
${
MODULES
}
"
]
;
then
module load
${
MODULES
}
;
fi
# If the workdir directory does not exist create it
if
[
!
-d
${
WORKDIR
}
]
;
then
mkdir
-p
${
WORKDIR
}
...
...
This diff is collapsed.
Click to expand it.
templates/common/build_python_environment.sh
+
4
−
0
View file @
7078b745
...
...
@@ -7,6 +7,10 @@ SPACK_BRANCH=%SPACK.BRANCH%
SPACK_COMPILER
=
%SPACK.COMPILER%
PYTHON_VERSION
=
%PYTHON_ENVIRONMENT.PYTHON_VERSION%
MODULES
=
"%MODULES%"
if
[
!
-z
"
${
MODULES
}
"
]
;
then
module load
${
MODULES
}
;
fi
# Go to the working directory
cd
${
WORKDIR
}
...
...
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