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
8e6555e8
Commit
8e6555e8
authored
1 year ago
by
Oriol Tintó
Browse files
Options
Downloads
Patches
Plain Diff
Trying to install dwd-icon-tools in build_icon.sh.
parent
0f0504b8
No related branches found
No related tags found
No related merge requests found
Pipeline
#18929
failed
1 year ago
Stage: everything
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/common/build_icon.sh
+3
-2
3 additions, 2 deletions
templates/common/build_icon.sh
with
3 additions
and
2 deletions
templates/common/build_icon.sh
+
3
−
2
View file @
8e6555e8
...
...
@@ -12,11 +12,9 @@ fi
# Go to the working directory
cd
${
WORKDIR
}
||
exit
.
${
WORKDIR
}
/proj/platforms/common/spack_utils.sh
load_spack
"%spack.init%"
"%spack.root%"
"%spack.url%"
"%spack.branch%"
"%spack.externals%"
"%spack.compiler%"
"%spack.disable_local_config%"
"%spack.user_cache_path%"
"%spack.user_config_path%"
"%spack.upstreams%"
if
[
!
$(
rpm
-qa
|
grep
bzip2
)
]
;
then
spack
install
--reuse
bzip2
spack load
--first
bzip2
...
...
@@ -47,6 +45,9 @@ else
echo
"
\%
icon.build_cmd
\%
is not defined. If you want to compile icon with spack, please provide a spack compile instruction string in your build.yml"
fi
# Build dwd-icon-tools
spack
install
dwd-icon-tools %
"%spack.compiler%"
# Need to get ECCODES DWD definitions:
eccodes_version
=
$(
spack spec
$SPACK_BUILD_ICON
|
grep
eccodes |
grep
-o
"@.*%"
|
grep
-o
"[0-9
\.
]*"
)
...
...
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