Skip to content

Commit

Permalink
do_cmake: Warn user about slow debug performance by default.
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Nelson <mnelson@redhat.com>
  • Loading branch information
Mark Nelson committed Dec 12, 2018
1 parent 1ceef08 commit d433522
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions do_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,11 @@ erasure code dir = lib
EOF

echo done.
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

0 comments on commit d433522

Please sign in to comment.