Exemplo n.º 1
0
 def install_step(self):
     """Custom installation procedure for BamTools."""
     if LooseVersion(self.version) < LooseVersion('2.5.0'):
         self.cfg['files_to_copy'] = ['bin', 'lib', 'include', 'docs', 'LICENSE', 'README']
         MakeCp.install_step(self)
     else:
         CMakeMake.install_step(self)
Exemplo n.º 2
0
    def install_step(self):
        """Install by copying specified files and directories."""
        if self.cfg.get('separate_build_dir', False):
            if self.separate_build_dir:
                self.cfg['start_dir'] = self.separate_build_dir
            else:
                self.cfg['start_dir'] = os.path.join(self.builddir, 'easybuild_obj')

        return MakeCp.install_step(self)
Exemplo n.º 3
0
    def install_step(self):
        """Install ORCA with MakeCp easyblock"""

        if not self.cfg['files_to_copy']:
            # Put installation files in standard locations
            files_to_copy = [
                (['auto*', 'orca*', 'otool*'], 'bin'),
                (['*.pdf'], 'share'),
            ]
            # Version 5 extra files
            if LooseVersion(self.version) >= LooseVersion('5.0.0'):
                compoundmethods = (['ORCACompoundMethods'], 'bin')
                files_to_copy.append(compoundmethods)
            # Shared builds have additional libraries
            libs_to_copy = (['liborca*'], 'lib')
            if all([glob.glob(p) for p in libs_to_copy[0]]):
                files_to_copy.append(libs_to_copy)

            self.cfg['files_to_copy'] = files_to_copy

        MakeCp.install_step(self)
Exemplo n.º 4
0
 def install_step(self):
     files_to_copy = self.cfg.get('files_to_copy', [])
     self.log.info("Starting install_step with files_to_copy: %s" %
                   files_to_copy)
     PythonPackage.install_step(self)
     return MakeCp.install_step(self)
Exemplo n.º 5
0
 def install_step(self):
     MakeCp.install_step(self)