Skip to content

Commit

Permalink
CI: manually specify mpich include path
Browse files Browse the repository at this point in the history
Work around a bug with FindMPI.cmake not detecting the include path for
mpich.
  • Loading branch information
tamiko committed Jan 6, 2023
1 parent 462569d commit 386980b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/utilities/run_clang_tidy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ echo "SRC-DIR=$SRC"

# enable MPI (to get MPI warnings)
# export compile commands (so that run-clang-tidy.py works)
ARGS=("-D" "DEAL_II_WITH_MPI=ON" "-D" "CMAKE_EXPORT_COMPILE_COMMANDS=ON" "-D" "CMAKE_BUILD_TYPE=Debug" "$@")
ARGS=("-DMPI_INCLUDE_DIRS=/usr/include/x86_64-linux-gnu/mpich" "-D" "DEAL_II_WITH_MPI=ON" "-D" "CMAKE_BUILD_TYPE=Debug" "$@")

# for a list of checks, see /.clang-tidy
cat "$SRC/.clang-tidy"
Expand Down

0 comments on commit 386980b

Please sign in to comment.