Exemplo n.º 1
0
 def __compile(self):
     UtilsUI.print_step_begin("Compiling")
     mne_dir = os.path.join(self.arg_dest, self.REPO_FOLDER, "MNE")
     os.chdir(mne_dir)
     jobs = UtilsUI.ask_for_make_jobs()
     call("make -j" + str(jobs), shell=True)
     UtilsUI.print_step_end("Compiling")
     return True
Exemplo n.º 2
0
 def __compile_install(self):
     UtilsUI.print_step_begin("Compiling & Installing")
     build_dir = os.path.join(self.arg_dest, self.REPO_FOLDER,
                              self.BUILD_FOLDER)
     os.chdir(build_dir)
     jobs = UtilsUI.ask_for_make_jobs()
     call("make -j" + str(jobs), shell=True)
     if UtilsUI.ask_for_execute(
             "Install PCL to system? (requires root/sudo)"):
         call("sudo make install", shell=True)
     UtilsUI.print_step_end("Compiling & Installing")
     return True