Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpcdf
obs
osc-plugins
Commits
bcfe384a
Commit
bcfe384a
authored
Oct 28, 2021
by
Lorenz Hüdepohl
Browse files
Remove version suffix (_5_0, etc.) from openmpi flavor
This makes it easier in the spec files, e.g. in conditionals
parent
c1ae3fff
Changes
1
Hide whitespace changes
Inline
Side-by-side
mpcdf_common.py
View file @
bcfe384a
...
...
@@ -810,9 +810,10 @@ Macros:
dependencies
=
((
project
,
compiler
),)
if
not
parent
:
dependencies
=
openmpi_flavor_dependencies
(
of
,
distribution
)
+
dependencies
flavor_kind
=
re
.
sub
(
"(_[0-9]+)*$"
,
""
,
of
)
repo
(
mpi
+
"_"
+
compiler
+
"_"
+
of
,
dependencies
,
mpi
=
True
,
mpi_repository
=
mpi
,
mpi_module
=
mpi_module
(
mpi
),
openmpi_flavor
=
o
f
)
openmpi_flavor
=
f
lavor_kind
)
for
cuda
in
cudas
:
for
compiler
in
filter
(
partial
(
valid_cuda
,
cuda
),
compilers
):
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment