Skip to content

Commit

Permalink
pip: Allow --with-cxx-dialect in PETSC_CONFIGURE_OPTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
wence- committed Apr 18, 2019
1 parent b1847ae commit b28ab23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def bootstrap():
raise RuntimeError("Do not use --with-mpi-dir, use the environmental variables MPICC, MPICXX, MPIF90")
if i.startswith('--with-cc'):
raise RuntimeError("Do not use --with-cc, use the environmental variable MPICC")
if i.startswith('--with-cxx') and not i == "--with-cxx=0":
if i.startswith('--with-cxx') and not (i.startswith('--with-cxx-dialect') or i == "--with-cxx=0"):
raise RuntimeError("Do not use --with-cxx, use the environmental variable MPICXX")
if i.startswith('--with-fc') and not i == "--with-fc=0":
raise RuntimeError("Do not use --with-fc, use the environmental variable MPIF90")
Expand Down

0 comments on commit b28ab23

Please sign in to comment.