Skip to content

Commit

Permalink
Try fewer procs
Browse files Browse the repository at this point in the history
  • Loading branch information
marchdf committed Dec 12, 2023
1 parent 9f6257d commit 0392c85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,8 @@ jobs:
cmake -B${{runner.workspace}}/build-clang-tidy \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DCMAKE_CXX_COMPILER:STRING=clang++-15 \
-DCMAKE_C_COMPILER:STRING=clang-15 \
-DCMAKE_CXX_COMPILER:STRING=clang++ \
-DCMAKE_C_COMPILER:STRING=clang \
-DPELEC_ENABLE_MPI:BOOL=OFF \
-DPELEC_ENABLE_FCOMPARE_FOR_TESTS:BOOL=OFF \
-DPELEC_ENABLE_MASA:BOOL=OFF \
Expand All @@ -594,7 +594,7 @@ jobs:
working-directory: ${{runner.workspace}}/build-clang-tidy
run: |
#set -eu -o pipefail
cmake --build . --parallel ${{env.NPROCS}} 2>&1 | tee -a clang-tidy-full-report.txt
cmake --build . --parallel 2 2>&1 | tee -a clang-tidy-full-report.txt
egrep "warning:|error:" clang-tidy-full-report.txt \
| egrep -v "Submodules/amrex|Submodules/sundials" \
| egrep -v "ld: warning:" | sort | uniq \
Expand Down
2 changes: 1 addition & 1 deletion CMake/PeleCUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ endfunction(target_link_libraries_system)

macro(init_code_checks)
if(PELEC_ENABLE_CLANG_TIDY)
find_program(CLANG_TIDY_EXE NAMES "clang-tidy-15")
find_program(CLANG_TIDY_EXE NAMES "clang-tidy")
if(CLANG_TIDY_EXE)
message(STATUS "clang-tidy found: ${CLANG_TIDY_EXE}")
else()
Expand Down

0 comments on commit 0392c85

Please sign in to comment.