Skip to content
GitLab
Menu
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
5c341da6
Commit
5c341da6
authored
Jan 11, 2019
by
Lorenz Huedepohl
Browse files
Fix: copy also MCPDF:pgi_modules attribute
parent
7832f271
Pipeline
#67036
passed with stage
in 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
mpcdf_common.py
View file @
5c341da6
...
...
@@ -299,7 +299,7 @@ def mpcdf_enable_repositories(api_url, project, package, verbose=False, filter_r
def
mpcdf_setup_repositories
(
api_url
,
project
,
distribution
=
None
,
parent
=
None
,
packages
=
None
,
dry_run
=
False
,
filter_repos
=
None
,
only_project
=
False
):
if
parent
:
for
attribute
in
[
"compiler_modules"
,
"default_compiler"
,
"mpi_modules"
,
"default_mpi"
,
"cuda_modules"
,
"default_cuda"
]:
for
attribute
in
[
"compiler_modules"
,
"default_compiler"
,
"mpi_modules"
,
"default_mpi"
,
"cuda_modules"
,
"default_cuda"
,
"pgi_modules"
]:
print
(
"Copying attribute 'MPCDF:{0}' from parent project"
.
format
(
attribute
))
set_attribute
(
api_url
,
project
,
None
,
get_attribute
(
api_url
,
parent
,
None
,
"MPCDF:"
+
attribute
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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