Skip to content

Commit

Permalink
mvapich2: ignore certain warnings with gnu14
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Reber <areber@redhat.com>
  • Loading branch information
adrianreber committed Sep 13, 2024
1 parent b24b2f2 commit 18b911e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/mpi-families/mvapich2/SPECS/mvapich2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ across multiple networks.
# Rerun configure with FFLAGS=-fallow-argument-mismatch
# This seems to fix the build.
export FFLAGS=-fallow-argument-mismatch
%if "%{compiler_family}" == "gnu14"
export CFLAGS="${CFLAGS} -Wno-incompatible-pointer-types"
%endif
%endif
%if "%{compiler_family}" == "intel"
export CFLAGS="${CFLAGS} -Wno-incompatible-function-pointer-types"
Expand Down

0 comments on commit 18b911e

Please sign in to comment.