Skip to content

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

Merged
jameslamb merged 2 commits into
lightgbm-org:masterfrom
sabjohnso:fix_source_globbing
Jan 12, 2024
Merged

jameslamb merged 2 commits into
lightgbm-org:masterfrom
sabjohnso:fix_source_globbing

Conversation

@sabjohnso

@sabjohnso sabjohnso commented Jan 11, 2024 •

Copy link
Copy Markdown
Contributor

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
Comment thread CMakeLists.txt Resolved
Comment thread CMakeLists.txt Resolved

@jameslamb jameslamb left a comment

Copy link
Copy Markdown
Member

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 lightgbm-org:master Jan 12, 2024
@jameslamb

Copy link
Copy Markdown
Member

Thanks again!

@github-actions

Copy link
Copy Markdown
Contributor

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