Skip to content

Commit

Permalink
tiflash: Update CMAKE_BUILD_TYPE for static analysis (#1387)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaySon-Huang authored Sep 20, 2022
1 parent 9dd46e4 commit 359afc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jenkins/pipelines/ci/tiflash/tiflash-build-common.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -728,8 +728,8 @@ def staticAnalysis(repo_path, build_dir) {
sh """
NPROC=\$(nproc || grep -c ^processor /proc/cpuinfo || echo '1')
cmake "${repo_path}" \\
-DENABLE_TESTS=0 \\
-DCMAKE_BUILD_TYPE=RELWITHDEBINFO \\
-DENABLE_TESTS=${params.BUILD_TESTS} \\
-DCMAKE_BUILD_TYPE=${params.CMAKE_BUILD_TYPE} \\
-DUSE_CCACHE=OFF \\
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \\
-DRUN_HAVE_STD_REGEX=0 \\
Expand Down

0 comments on commit 359afc0

Please sign in to comment.