diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/mfem/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/mfem/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mfem/package.py b/var/spack/repos/builtin/packages/mfem/package.py index 28287c48ee..c03da6b6e7 100644 --- a/var/spack/repos/builtin/packages/mfem/package.py +++ b/var/spack/repos/builtin/packages/mfem/package.py @@ -669,6 +669,12 @@ class Mfem(Package): if install_em: install_tree('data', join_path(prefix_share, 'data')) + def patch(self): + # Remove the byte order mark since it messes with some compilers + filter_file(u'\uFEFF', '', 'fem/gslib.hpp') + filter_file(u'\uFEFF', '', 'fem/gslib.cpp') + filter_file(u'\uFEFF', '', 'linalg/hiop.hpp') + @property def suitesparse_components(self): """Return the SuiteSparse components needed by MFEM.""" |