def run(self, args=[]): cmd = ["make"] cmd.extend(args) self.log.debug("Make run '%s' in '%s' with env '%s'" % (cmd, self.cwd_dir, self.env)) process = Process(cmd) process.run(not self.verbose, extra_env=self.env, cwd=self.cwd_dir)
def run(self): cmd = [os.path.join(self.src_dir, "configure")] cmd.extend(self.args) self.log.debug("Configure run '%s' in '%s' with env '%s'" % (cmd, self.cwd_dir, self.env)) process = Process(cmd) process.run(not self.verbose, extra_env=self.env, cwd=self.cwd_dir)
def run(self): cmd = ["cmake"] cmd.extend(self.args) cmd.append(real_path(self.src_dir)) self.log.debug("CMake run '%s' in '%s' with env '%s'" % (cmd, self.cwd_dir, self.env)) process = Process(cmd) process.run(not self.verbose, extra_env=self.env, cwd=self.cwd_dir)
def run(self): cmd = [self.cmd] for arg in self.args: new_arg = arg.split() cmd.extend(new_arg) self.log.debug("Running command '%s' in '%s' with env %s" % (cmd, self.cwd_dir, self.env)) process = Process(cmd) process.run(not self.verbose, extra_env=self.env, cwd=self.cwd_dir)