Skip to content

Commit

Permalink
do_cmake: Warn user about slow debug performance only for not set
Browse files Browse the repository at this point in the history
Signed-off-by: Junyoung, Sung <junyoung.sung@navercorp.com>
  • Loading branch information
Junyoung, Sung committed Oct 24, 2019
1 parent 8b56c45 commit 87ada5f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion do_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,15 @@ erasure code dir = lib
EOF

echo done.
cat <<EOF

if [[ ! $ARGS =~ "-DCMAKE_BUILD_TYPE" ]]; then
cat <<EOF
****
WARNING: do_cmake.sh now creates debug builds by default. Performance
may be severely affected. Please use -DCMAKE_BUILD_TYPE=RelWithDebInfo
if a performance sensitive build is required.
****
EOF
fi

0 comments on commit 87ada5f

Please sign in to comment.