-
Notifications
You must be signed in to change notification settings - Fork 915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set build type for all examples #17463
Set build type for all examples #17463
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question about Arrow requiring a Release build, otherwise looks fine.
@@ -15,6 +15,9 @@ project( | |||
|
|||
include(../fetch_dependencies.cmake) | |||
|
|||
include(rapids-cmake) | |||
rapids_cmake_build_type("Release") | |||
|
|||
# The Arrow CMake is currently broken if the build type is not set | |||
set(CMAKE_BUILD_TYPE Release) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll test locally and see. I'm not sure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I guess I filed a fix for this in apache/arrow#43794. I think it made it into Arrow 18, so we can't drop this until we switch to requiring that version (we currently use 16.1). We could upgrade any time we wanted though since the library used for these builds is no longer tied to libcudf itself in any way. I'd be fine with a follow-up PR to upgrade that value and remove this setting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question as Bradley but looks good otherwise.
/merge |
Description
The examples currently have no build type set by default so they wind up with debug code in them.
Checklist