]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
sat #29570 : set SAT_prodname__IS_NATIVE variables at build time to help compilations...
authorcrouzet <nicolas.crouzet@cea.fr>
Fri, 1 Apr 2022 08:43:00 +0000 (10:43 +0200)
committercrouzet <nicolas.crouzet@cea.fr>
Fri, 1 Apr 2022 08:43:00 +0000 (10:43 +0200)
src/environment.py

index 3bf34cb5bb10c2b7492b268d07c8e3c10c946fa4..2deb56585d220be220bd744d221315714bfcb235 100644 (file)
@@ -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