mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Modify build_dependencies.py to skip petsc modules.
This commit is contained in:
parent
c67423342e
commit
0fcde07bc5
1 changed files with 2 additions and 1 deletions
|
|
@ -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/')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue