From: Serge Rehbinder Date: Tue, 20 Sep 2016 10:15:20 +0000 (+0200) Subject: compilation : show something for native products X-Git-Tag: 5.0.0a1~114 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9de7d158bf55fc42cf4883077a4026428d77b08c;p=tools%2Fsat.git compilation : show something for native products --- diff --git a/commands/compile.py b/commands/compile.py index ab4e674..dc54ce6 100644 --- a/commands/compile.py +++ b/commands/compile.py @@ -80,7 +80,6 @@ def get_products_list(options, cfg, logger): products_infos = src.product.get_products_infos(products, cfg) products_infos = [pi for pi in products_infos if not( - src.product.product_is_native(pi[1]) or src.product.product_is_fixed(pi[1]))] return products_infos @@ -290,13 +289,19 @@ def compile_all_products(sat, config, options, products_infos, logger): logger.write("\n", 4, False) logger.flush() - # Do nothing if he product is not compilable + # Do nothing if the product is not compilable if ("properties" in p_info and "compilation" in p_info.properties and p_info.properties.compilation == "no"): log_step(logger, header, "ignored") logger.write("\n", 3, False) continue + # Do nothing if the product is native + if src.product.product_is_native(p_info): + log_step(logger, header, "native") + logger.write("\n", 3, False) + continue + # Clean the build and the install directories # if the corresponding options was called if options.clean_all: