Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
disable OMP for clangtidy
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyu-intel committed Mar 6, 2024
1 parent c6aa107 commit 8055d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/formatScan/clangtidy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8055d6f

Please sign in to comment.