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

[CI] Use libomp 13.0.0 to test XGBoost on MacOS #7618

Closed
wants to merge 3 commits into from

Conversation

hcho3
Copy link
Collaborator

@hcho3 hcho3 commented Jan 29, 2022

Closes #7039

TODOs

  • In the installation doc, add a warning: "If you are using Conda in MacOS, do not use pip install xgboost; this may lead to random crashes. Install XGBoost using Conda for best results."

@@ -17,10 +17,7 @@ jobs:
- name: Install osx system dependencies
if: matrix.os == 'macos-10.15'
run: |
# Use libomp 11.1.0: https://github.com/dmlc/xgboost/issues/7039
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/679923b4eb48a8dc7ecc1f05d06063cd79b3fc00/Formula/libomp.rb -O $(find $(brew --repository) -name libomp.rb)
brew install ninja libomp
Copy link
Member

Choose a reason for hiding this comment

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

If we are using conda, do we still need brew install libomp?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't think we can assume everything is using Conda.

@hcho3
Copy link
Collaborator Author

hcho3 commented Jan 30, 2022

Let me update the docs too.

@hcho3
Copy link
Collaborator Author

hcho3 commented Jan 30, 2022

I want to avoid #7039 (comment)

@hcho3
Copy link
Collaborator Author

hcho3 commented Jan 30, 2022

Closing in favor of #7621

@hcho3 hcho3 closed this Jan 30, 2022
@hcho3 hcho3 deleted the use_libomp13 branch January 30, 2022 15:44
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.

Segmentation fault on MacOS with libomp 12.0.0
2 participants