From f120c92ef1cef1b08e2268f7e5c60e1e2afff559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCdepohl?= <dev@stellardeath.org> Date: Tue, 24 Mar 2020 18:52:57 +0100 Subject: [PATCH] Prefer specific cuda in cuda repositories --- mpcdf_common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mpcdf_common.py b/mpcdf_common.py index fe4fab8..8032d2f 100644 --- a/mpcdf_common.py +++ b/mpcdf_common.py @@ -713,7 +713,8 @@ Macros: for cuda in cudas: for compiler in filter(partial(valid_cuda, cuda), compilers): - repo(cuda + "_" + compiler, (project, compiler), cuda=True, cuda_repository=cuda) + repo(cuda + "_" + compiler, (project, compiler), cuda=True, cuda_repository=cuda, + additional_prefers=("mpcdf_" + cuda,)) for mpi in filter(partial(valid_mpi, compiler), mpis): repo(cuda + "_" + mpi + "_" + compiler, (project, cuda + "_" + compiler), -- GitLab