From: crouzet Date: Fri, 1 Apr 2022 08:43:00 +0000 (+0200) Subject: sat #29570 : set SAT_prodname__IS_NATIVE variables at build time to help compilations... X-Git-Tag: V9_9_0~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7366f56ee2827c206d480bae8d40c25eb292b89a;p=tools%2Fsat.git sat #29570 : set SAT_prodname__IS_NATIVE variables at build time to help compilations scripts in some particular cases --- diff --git a/src/environment.py b/src/environment.py index 3bf34cb..2deb565 100644 --- a/src/environment.py +++ b/src/environment.py @@ -579,6 +579,10 @@ class SalomeEnviron: if not self.forBuild: if src.product.product_is_compile_time(pi): return + else: + if src.product.product_is_native(pi) : + self.set("SAT_%s_IS_NATIVE"%pi.name, "1") + # skip pip products when pip is activated and installation is done in python #if (src.appli_test_property(self.cfg,"pip", "yes") and