From 8055d6f832888732601cafd2dbbf6e6f47b0b0b1 Mon Sep 17 00:00:00 2001 From: "Luo, Yu" Date: Wed, 6 Mar 2024 16:58:25 +0800 Subject: [PATCH] disable OMP for clangtidy --- .github/workflows/scripts/formatScan/clangtidy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripts/formatScan/clangtidy.sh b/.github/workflows/scripts/formatScan/clangtidy.sh index e9dd86470..e776c1ef2 100644 --- a/.github/workflows/scripts/formatScan/clangtidy.sh +++ b/.github/workflows/scripts/formatScan/clangtidy.sh @@ -11,7 +11,7 @@ log_path=${log_dir}/clangtidy.log cd ${REPO_DIR} mkdir build cd build -cmake .. -G Ninja -DNS_USE_CLANG_TIDY=CHECK -DBTLA_ENABLE_OPENMP=OFF +cmake .. -G Ninja -DNS_USE_CLANG_TIDY=CHECK -DBTLA_ENABLE_OPENMP=OFF -DNS_USE_OMP=OFF ninja 2>&1 | tee ${log_path} if [[ ! -f ${log_path} ]] || [[ $(grep -c "warning:" ${log_path}) != 0 ]] || [[ $(grep -c "error" ${log_path}) != 0 ]]; then