Skip to content

Fix version cargo#34

Open
necnec wants to merge 7 commits into
vaaaaanquish:mainfrom
aarki:fix_version-cargo
Open

Fix version cargo#34
necnec wants to merge 7 commits into
vaaaaanquish:mainfrom
aarki:fix_version-cargo

Conversation

@necnec

@necnec necnec commented Nov 10, 2021

Copy link
Copy Markdown

No description provided.

@vaaaaanquish vaaaaanquish left a comment

Copy link
Copy Markdown
Owner

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.

Comment thread .gitmodules
[submodule "lightgbm-sys/lightgbm"]
path = lightgbm-sys/lightgbm
url = https://github.com/vaaaaanquish/LightGBM.git
url = https://github.com/microsoft/LightGBM.git

Copy link
Copy Markdown
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

Comment thread README.md
# lightgbm-rs
LightGBM Rust binding

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

Copy link
Copy Markdown
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

Comment thread lightgbm-sys/Cargo.toml
[build-dependencies]
bindgen = "0.56.0"
cmake = "0.1"
cmake = "=0.1.45"

Copy link
Copy Markdown
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