Skip to content
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

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Nov 27, 2024

Description

The examples currently have no build type set by default so they wind up with debug code in them.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@vyasr vyasr added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Nov 27, 2024
@vyasr vyasr self-assigned this Nov 27, 2024
@vyasr vyasr requested a review from a team as a code owner November 27, 2024 16:47
@vyasr vyasr requested review from harrism and mhaseeb123 November 27, 2024 16:47
@github-actions github-actions bot added libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue labels Nov 27, 2024
Copy link
Contributor

@bdice bdice left a 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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still needed?

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

Copy link
Member

@mhaseeb123 mhaseeb123 left a 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.

@vyasr
Copy link
Contributor Author

vyasr commented Nov 27, 2024

/merge

@rapids-bot rapids-bot bot merged commit adaee75 into rapidsai:branch-25.02 Nov 27, 2024
107 checks passed
@vyasr vyasr deleted the fix/example_build_types branch November 27, 2024 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake CMake build issue improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants