Modify build_dependencies.py to skip petsc modules.

This commit is contained in:
Paul Romano 2013-09-21 16:52:48 -04:00
parent c67423342e
commit 0fcde07bc5

View file

@ -11,7 +11,8 @@ for src in glob.iglob('*.F90'):
d = re.findall(r'\n\s*use\s+(\w+)',
open(src, 'r').read())
for name in d:
if name in ['mpi', 'hdf5', 'h5lt']:
if name in ['mpi', 'hdf5', 'h5lt', 'petscsys', 'petscmat', 'petscksp',
'petscsnes', 'petscvec']:
continue
if name.startswith('xml_data_'):
name = name.replace('xml_data_', 'templates/')