From bc3811ca25e39be70cb0bfd68bd49f81e91fbea9 Mon Sep 17 00:00:00 2001 From: crouzet Date: Mon, 15 Jun 2020 15:46:46 +0200 Subject: [PATCH] if python is present compile it first --- commands/compile.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/commands/compile.py b/commands/compile.py index 90b5858..b4a1a2b 100644 --- a/commands/compile.py +++ b/commands/compile.py @@ -706,6 +706,12 @@ def run(args, runner, logger): # Use the sorted list of all products to sort the list of products we have to compile sorted_product_list=[] + # python has no dependencies. it is sometimes required by compile time products. + #it's simplier to always compile python first! + if "Python" in sorted_nodes: + sorted_product_list.append("Python") + sorted_nodes.remove("Python") + # first loop on compile time products, we need to compile them before! for n in sorted_nodes: if n in products_list: -- 2.39.2