Skip to content

Conversation

necnec
Copy link

@necnec necnec commented Nov 10, 2021

No description provided.

Copy link
Owner

@vaaaaanquish vaaaaanquish left a comment

Choose a reason for hiding this comment

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

Great works:)
I commented on it.

[submodule "lightgbm-sys/lightgbm"]
path = lightgbm-sys/lightgbm
url = https://github.com/vaaaaanquish/LightGBM.git
url = https://github.com/microsoft/LightGBM.git
Copy link
Owner

Choose a reason for hiding this comment

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

@necnec Thx.

I don't think it's a good practice to use microsoft/LightGBM, because many useless files are included in target of build. I removed them in vaaaaanquish/LightGBM.
(commit log: https://github.com/vaaaaanquish/LightGBM/commits/master)

We have 2 way.

  1. Rebase microsoft/LightGBM to vaaaaanquish/LightGBM as vendering.
    • current way
  2. Create a way to exclude useless files from the latest build of microsoft/LightGBM.
    • use exclude/include in cargo.toml (doc)
    • improve build.rs

# lightgbm-rs
LightGBM Rust binding

git clone --recursive https://github.com/aarki/lightgbm-rs.git
Copy link
Owner

Choose a reason for hiding this comment

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

plz

Suggested change
git clone --recursive https://github.com/aarki/lightgbm-rs.git
git clone --recursive https://github.com/vaaaaanquish/lightgbm-rs.git

[build-dependencies]
bindgen = "0.56.0"
cmake = "0.1"
cmake = "=0.1.45"
Copy link
Owner

Choose a reason for hiding this comment

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

@necnec I don't like to specify a minor version to avoid conflicts with other libraries. If you have any inconveniences, please write them in the comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants