summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2023-05-30 20:51:41 -0400
committerBenji Dial <benji@benjidial.net>2023-05-30 20:51:41 -0400
commit82699138982bf177366c52757e888d7ca3f04b66 (patch)
treea1166df1cc1b3ce88af76f58c834e8b354183b56 /makefile
parentc385d95d49824d496fbab9e3e47255fddbdc8082 (diff)
downloadlib94-82699138982bf177366c52757e888d7ca3f04b66.tar.gz
fix spurious warnings when compiling tabulator
Diffstat (limited to 'makefile')
-rw-r--r--makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/makefile b/makefile
index 48c77f5..9a41ce1 100644
--- a/makefile
+++ b/makefile
@@ -3,7 +3,8 @@ CPP_ARGS = -std=c++20 -O2 -Wall -Wextra -Iinclude -ggdb
GTKMM_CPP_ARGS = $(shell pkg-config --cflags gtkmm-4.0)
GTKMM_LD_ARGS = $(shell pkg-config --libs gtkmm-4.0)
-MPI_CPP_ARGS = $(shell mpic++ --showme:compile)
+# https://github.com/open-mpi/ompi/issues/5157
+MPI_CPP_ARGS = $(shell mpic++ --showme:compile) -DOMPI_SKIP_MPICXX
MPI_LD_ARGS = $(shell mpic++ --showme:link)
default: bin/bench bin/score bin/tabulator-mpi