def METHOD_NAME(self):
    """Custom sanity check for ELSI."""
    libs = ['elsi', 'fortjson', 'MatrixSwitch', 'OMM']
    if self.internal_ntpoly:
        libs.append('NTPoly')
    modules = [lib.lower() for lib in libs if lib != 'OMM']
    modules.extend(['omm_ops', 'omm_params', 'omm_rand'])
    if self.cfg['build_internal_pexsi']:
        modules.append('elsi_pexsi')
        libs.extend(['pexsi', 'ptscotch', 'ptscotcherr', 'ptscotchparmetis',
                     'scotch', 'scotcherr', 'scotchmetis', 'superlu_dist'])
    if self.enable_sips:
        modules.append('elsi_sips')
        libs.append('sips')
    # follow self.lib_ext set by CMakeMake (based on build_shared_libs), fall back to .a (static libs by default)
    lib_ext = self.lib_ext or 'a'
    module_paths = [os.path.join('include', '%s.mod' % mod) for mod in modules]
    lib_paths = [os.path.join('lib', 'lib%s.%s' % (lib, lib_ext)) for lib in libs]
    custom_paths = {
        'files': module_paths + lib_paths,
        'dirs': [],
    }
    super(EB_ELSI, self).METHOD_NAME(custom_paths=custom_paths)