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

[cmake] [CUDA] ignore CUDA-specific source files in non-CUDA builds (fixes #6267) #6268

Merged
merged 2 commits into from
Jan 12, 2024

Conversation

sabjohnso
Copy link
Contributor

@sabjohnso sabjohnso commented Jan 11, 2024

LightGBM's CMake is not properly filtering the list of sources based on USE_CUDA. This commit fixes the CMake.

This pull request fixes #6267

LightGBM's CMake is not properly filtering the list of sources based
on `USE_CUDA`.  This commit fixes the CMake.
@jameslamb jameslamb added the fix label Jan 11, 2024
@jameslamb jameslamb changed the title [CMAKE][CUDA] Source files are properly filtered for CUDA [cmake] [CUDA] ignore CUDA-specific source files in non-CUDA builds (fixes #6263) Jan 11, 2024
@jameslamb jameslamb changed the title [cmake] [CUDA] ignore CUDA-specific source files in non-CUDA builds (fixes #6263) [cmake] [CUDA] ignore CUDA-specific source files in non-CUDA builds (fixes #6267) Jan 11, 2024
CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
Copy link
Collaborator

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

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

thanks!

@jameslamb jameslamb merged commit 2e3543c into microsoft:master Jan 12, 2024
41 checks passed
@jameslamb
Copy link
Collaborator

Thanks again!

Copy link

This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[cmake] source file globbing is done incorrectly
2 participants