mpi: (reopens #2437) revert changeset ffd079a4b2e4
The option -Wno-literal-suffix is not available on clang. Bug 2437 has outline of alternative conf.check solution to be pursued instead.
This commit is contained in:
@@ -24,10 +24,6 @@ def configure(conf):
|
||||
for libpath in conf.env.LIBPATH_MPI:
|
||||
if 'mpi' in libpath:
|
||||
conf.env.append_value('LINKFLAGS_MPI', '-Wl,-rpath,'+libpath)
|
||||
# Bug #2437, using OpenMPI 1.6.5 (possibly later versions)
|
||||
# if upstream OpenMPI bug clears at some point, this
|
||||
# can be removed
|
||||
conf.env.append_value('CXXFLAGS', '-Wno-literal-suffix')
|
||||
conf.report_optional_feature("mpi", "MPI Support", True, '')
|
||||
else:
|
||||
conf.report_optional_feature("mpi", "MPI Support", False, 'mpic++ not found')
|
||||
|
||||
Reference in New Issue
Block a user