예제 #1
0
 def build_step(self):
     """Configure TBB build/installation."""
     if self.toolchain.name == DUMMY_TOOLCHAIN_NAME:
         IntelBase.build_step(self)
     else:
         # build with: make compiler={icl, icc, gcc, clang}
         self.cfg.update('buildopts', 'compiler="%s"' % os.getenv('CC'))
         ConfigureMake.build_step(self)
예제 #2
0
 def build_step(self):
     """Configure TBB build/installation."""
     if self.toolchain.name == DUMMY_TOOLCHAIN_NAME:
         IntelBase.build_step(self)
     else:
         # build with: make compiler={icl, icc, gcc, clang}
         self.cfg.update('buildopts', 'compiler="%s"' % os.getenv('CC'))
         ConfigureMake.build_step(self)
예제 #3
0
    def build_step(self):
        """Configure TBB build/installation."""
        if self.toolchain.is_system_toolchain():
            IntelBase.build_step(self)
        else:
            # build with: make compiler={icl, icc, gcc, clang}
            self.cfg.update('buildopts', 'compiler="%s"' % os.getenv('CC'))
            ConfigureMake.build_step(self)

            if self.cfg['with_python']:
                # Uses the Makefile target `python`
                self.cfg.update('buildopts', 'python')
                ConfigureMake.build_step(self)