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
logger.write("licence file found for product %s : %s\n" % (pi.name, licence_file_name), 5)
self.set("LICENCE_FILE", licence_file_name)
- # these infos may be needed for the environment of some products
- if "debug" in pi and pi.debug == "yes":
- self.set("SAT_DEBUG", "1")
- if "verbose" in pi and pi.verbose == "yes":
- self.set("SAT_VERBOSE", "1")
-
if src.product.product_is_cpp(pi):
# set a specific environment for cpp modules
self.set_salome_minimal_product_env(pi, logger)
:return: The path to the generated file
:rtype: str
"""
+ additional_env["sat_dist"]=self.config.VARS.dist
if not self.silent:
self.logger.write(_("Create environment file %s\n") %
src.printcolors.printcLabel(filename), 3)