Skip to content

Conversation

jameslamb
Copy link
Collaborator

The CLI's main implementation file, src/main.cpp, only needs LightGBM::Linkers methods when compiled for use with MPI (-DUSE_MPI).

This proposes guarding the relevant includes with #ifdef USE_MPI, to make compilation a little faster for non-MPI use cases.

@jameslamb jameslamb merged commit a26302f into master Feb 29, 2024
@jameslamb jameslamb deleted the fix/includes branch February 29, 2024 00:52
Copy link

github-actions bot commented Mar 6, 2025

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 Mar 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants