Skip to content

Commit

Permalink
silence excessive output from Open-MPI mpi.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Hammond, Jeff R committed Nov 17, 2019
1 parent c94e849 commit 5f2cb78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion travis/build-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ case "$MPI_IMPL" in
mpicc --showme:command
# see https://github.com/open-mpi/ompi/issues/2956
export TMPDIR=/tmp
# suppress excessive output
OMPI_NO_WARN="-Wno-unknown-attributes"
;;
esac

# Configure and build
./autogen.sh
./configure CC=mpicc CFLAGS="-std=c99" --disable-static --prefix=/tmp
./configure CC=mpicc CFLAGS="-std=c99 $OMPI_NO_WARN" --disable-static --prefix=/tmp
make V=1
make V=1 install

Expand Down

0 comments on commit 5f2cb78

Please sign in to comment.