Commit d33d3969 authored by Sebastian Ohlmann's avatar 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
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment