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
d33d3969
Commit
d33d3969
authored
Feb 12, 2019
by
Sebastian Ohlmann
Browse files
Add macro compiler_repository to have early access to compiler name
This can be used to disable multibuilds for certain compilers.
parent
e7b235f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
mpcdf_common.py
View file @
d33d3969
...
...
@@ -409,10 +409,12 @@ def mpcdf_setup_repositories(api_url, project, distribution=None, parent=None, p
repo
(
"System"
,
(
"distributions"
,
distribution
))
for
compiler
in
compilers
+
pgis
:
repo
(
compiler
,
(
project
,
"System"
),
compiler
=
True
)
repo
(
compiler
,
(
project
,
"System"
),
compiler
=
True
,
compiler_repository
=
compiler
)
for
mpi
in
filter
(
partial
(
valid_mpi
,
compiler
),
mpis
):
repo
(
mpi
+
"_"
+
compiler
,
(
project
,
compiler
),
mpi
=
True
,
mpi_repository
=
mpi
)
repo
(
mpi
+
"_"
+
compiler
,
(
project
,
compiler
),
mpi
=
True
,
mpi_repository
=
mpi
,
compiler_repository
=
compiler
)
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
.
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