Skip to content

Commit

Permalink
Switch debug build to RelWithDebInfo (#6033)
Browse files Browse the repository at this point in the history
It seems cuML doesn't actually build with the `Debug` build type using the `-g` option. Switching to `RelWithDebInfo` seems to work, and gives us line number information, although some code is optimized out. Seems like a reasonable comprise to help with debugging until we can get the `Debug` working properly.

Authors:
  - Rong Ou (https://github.com/rongou)

Approvers:
  - Dante Gama Dessavre (https://github.com/dantegd)
  - Kyle Edwards (https://github.com/KyleFromNVIDIA)

URL: #6033
  • Loading branch information
rongou authored Aug 26, 2024
1 parent 2398624 commit 973a65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ while true; do
CMAKE_LOG_LEVEL=VERBOSE
;;
-g | --debug )
BUILD_TYPE=Debug
BUILD_TYPE=RelWithDebInfo
;;
-n | --no-install )
INSTALL_TARGET=""
Expand Down

0 comments on commit 973a65f

Please sign in to comment.