From 62bfa88c0ffee75dcb7fc0f272ea921cfe183b54 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Sat, 4 May 2024 18:22:15 -0400 Subject: [PATCH] more fixes --- .github/workflows/clang-tidy.yml | 8 ++++---- source/fluxes/GNUmakefile | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index 643bc47..c3c4ae7 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -42,20 +42,20 @@ jobs: - name: Compile convective_grad run: | cd source/convective_grad - make USE_MPI=FALSE USE_CLANG_TIDY=TRUE CLANG_TIDY=clang-tidy-17 CLANG_TIDY_WARN_ERROR=TRUE CLANG_TIDY_IGNORE_SOURCES="${MICROPHYSICS_HOME} ${AMREX_HOME}" -j 4 + make USE_MPI=FALSE USE_CLANG_TIDY=TRUE CLANG_TIDY=clang-tidy-17 CLANG_TIDY_WARN_ERROR=TRUE -j 4 - name: Compile eos_demo run: | cd source/eos_demo - make USE_MPI=FALSE USE_CLANG_TIDY=TRUE CLANG_TIDY=clang-tidy-17 CLANG_TIDY_WARN_ERROR=TRUE CLANG_TIDY_IGNORE_SOURCES="${MICROPHYSICS_HOME} ${AMREX_HOME}" -j 4 + make USE_MPI=FALSE USE_CLANG_TIDY=TRUE CLANG_TIDY=clang-tidy-17 CLANG_TIDY_WARN_ERROR=TRUE -j 4 - name: Compile fluxes run: | cd source/fluxes - make USE_MPI=FALSE USE_CLANG_TIDY=TRUE CLANG_TIDY=clang-tidy-17 CLANG_TIDY_WARN_ERROR=TRUE CLANG_TIDY_IGNORE_SOURCES="${MICROPHYSICS_HOME} ${AMREX_HOME}" -j 4 + make USE_MPI=FALSE USE_CLANG_TIDY=TRUE CLANG_TIDY=clang-tidy-17 CLANG_TIDY_WARN_ERROR=TRUE -j 4 - name: Compile max_enuc run: | cd source/max_enuc - make USE_MPI=FALSE USE_CLANG_TIDY=TRUE CLANG_TIDY=clang-tidy-17 CLANG_TIDY_WARN_ERROR=TRUE CLANG_TIDY_IGNORE_SOURCES="${MICROPHYSICS_HOME} ${AMREX_HOME}" -j 4 + make USE_MPI=FALSE USE_CLANG_TIDY=TRUE CLANG_TIDY=clang-tidy-17 CLANG_TIDY_WARN_ERROR=TRUE -j 4 diff --git a/source/fluxes/GNUmakefile b/source/fluxes/GNUmakefile index 984547f..5e64c9b 100644 --- a/source/fluxes/GNUmakefile +++ b/source/fluxes/GNUmakefile @@ -39,3 +39,6 @@ EXTERN_SEARCH += . .. USE_AMR_CORE = TRUE include $(MICROPHYSICS_HOME)/Make.Microphysics + +CLANG_TIDY_IGNORE_SOURCES += $(MICROPHYSICS_HOME) +CLANG_TIDY_CONFIG_FILE = ../../.clang-tidy