Skip to content

IMP install openmp with bazel#3

Open
pdvyas wants to merge 1 commit intomasterfrom
imp-add-openmp
Open

IMP install openmp with bazel#3
pdvyas wants to merge 1 commit intomasterfrom
imp-add-openmp

Conversation

@pdvyas
Copy link
Copy Markdown
Contributor

@pdvyas pdvyas commented Aug 14, 2019

A certain package in our codebase needs this.

A certain package in our codebase needs this.

depends_on :java => "1.8"
depends_on :macos => :yosemite
depends_on "libomp"
Copy link
Copy Markdown

@srstrickland srstrickland Aug 14, 2019

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

@qfliu qfliu Aug 14, 2019

Choose a reason for hiding this comment

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

When I run the test, it is throwing exception 'Library not loaded: /usr/local/opt/libomp/lib/libomp.dylib'. After manually installing it using brew and followed step here https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html#macos, it worked. Not sure if we just brew install, it works or not. Maybe libgomp installs libomp? Or is there actually other part of lightgbm that depends on libgomp which the test cases do not trigger?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Might be libgomp on ubuntu but libomp on osx?

@pdvyas
Copy link
Copy Markdown
Contributor Author

pdvyas commented Dec 30, 2025

i have no memory of this

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.

5 participants