Skip to content

libomp 8.0.0 version has dependencies that do no exist on macOS build machines #3722

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

Closed
codemzs opened this issue May 14, 2019 · 1 comment
Closed
Assignees
Labels
bug Something isn't working Build Build related issue P0 Priority of the issue for triage purpose: IMPORTANT, needs to be fixed right away.

Comments

@codemzs
Copy link
Member

codemzs commented May 14, 2019

It seems brew installing latest libomp has dependencies that do not exist on build machines. Investigate what those dependencies are by taking a trace and install them.

Related to #3694

@wschin wschin added bug Something isn't working P0 Priority of the issue for triage purpose: IMPORTANT, needs to be fixed right away. labels May 21, 2019
@najeeb-kazmi najeeb-kazmi added P1 Priority of the issue for triage purpose: Needs to be fixed soon. and removed P0 Priority of the issue for triage purpose: IMPORTANT, needs to be fixed right away. labels May 24, 2019
@antoniovs1029 antoniovs1029 added Build Build related issue P0 Priority of the issue for triage purpose: IMPORTANT, needs to be fixed right away. and removed P1 Priority of the issue for triage purpose: Needs to be fixed soon. labels Jan 9, 2020
@najeeb-kazmi
Copy link
Member

We have taken a dependency on libomp version 7.0.0 rather than installing the latest version.
brew install libomp will install the latest version, which we do not want as it means testing and possibly updating ML.NET to be compatible with the latest version whenever a new version is released.

In homebrew, it is possible to install a specific version brew install [email protected] only if a "tap" is maintained for that formula for the specific version. Since this "tap" is not maintained, the way to install the specific version is to point to the specific commit in the homebrew repository corresponding to the correct version. This is what we have in our CI builds.

brew update && brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/f5b1ac99a7fba27c19cee0bc4f036775c889b359/Formula/libomp.rb && brew link libomp --force

@ghost ghost locked as resolved and limited conversation to collaborators Mar 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working Build Build related issue P0 Priority of the issue for triage purpose: IMPORTANT, needs to be fixed right away.
Projects
None yet
Development

No branches or pull requests

4 participants