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

Allow custom XGBoost versions in XGBOOST_BUILD_VERSION #2

Open
wants to merge 1 commit into
base: package-refactor
Choose a base branch
from

Conversation

PrabodhaSrimal
Copy link

Currently XGBoost.jl allow building either "master" or known stable tags (v0.6, v0.8) of XGBoost git repository. This change removes that restriction and make it possible to build with any git tag, branch or commitsh.

This is required to workaround some of XGBoost.jl package build issues occurred due to some refactoring done in XGBoost git repository

With this change we can build XGBoost.jl with last known good git commit of XGBoost.

16:10:10 INFO: Changing directory to /home/roames/.julia/declarative/79d280142be79f672a1b604f9c10050d/v0.6/XGBoost/deps/src/xgboost
16:10:10 Already on 'master'
16:10:10 Your branch is up to date with 'origin/master'.
16:10:10 INFO: Changing directory to /home/roames/.julia/declarative/79d280142be79f672a1b604f9c10050d/v0.6/XGBoost/deps/src/xgboost
16:10:10 bash: build.sh: No such file or directory
16:10:10 ======================[ ERROR: XGBoost ]===================
16:10:10
16:10:10 LoadError: failed process: Process(bash build.sh, ProcessExited(127)) [127]
16:10:10 while loading /home/roames/.julia/declarative/79d280142be79f672a1b604f9c10050d/v0.6/XGBoost/deps/build.jl, in expression starting on line 36
16:10:10
16:10:10 ================================================

Copy link

@yilun yilun left a comment

Choose a reason for hiding this comment

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

good job

@PrabodhaSrimal PrabodhaSrimal force-pushed the fix-xgboost-build-failure branch 2 times, most recently from 51f8b65 to ba994bc Compare April 17, 2019 05:38
Currently XGBoost.jl allow building either "master" or known stable
tags of XGBoost git repository. This change removes that restriction
and make it possible to build any tagged version, branch or git
commitsh. This is required to workaround some of XGBoost.jl package
build issues.
@PrabodhaSrimal PrabodhaSrimal force-pushed the fix-xgboost-build-failure branch from ba994bc to 42461d1 Compare April 17, 2019 07:22
Copy link

@msbahal msbahal left a comment

Choose a reason for hiding this comment

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

Nice!

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