Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Formula/bazel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class Bazel < Formula

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?


def install
ENV["EMBED_LABEL"] = "#{version}-homebrew"
Expand Down