From: crouzet Date: Mon, 15 Jun 2020 13:46:46 +0000 (+0200) Subject: if python is present compile it first X-Git-Tag: 5.6.0~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bc3811ca25e39be70cb0bfd68bd49f81e91fbea9;hp=354d5938464e316ced242632e5b0f8f5640d2cf6;p=tools%2Fsat.git if python is present compile it first --- 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: