Skip to content

MacOS fails to install libomp #21225

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
willsam100 opened this issue Oct 26, 2020 · 5 comments · Fixed by #23907
Closed

MacOS fails to install libomp #21225

willsam100 opened this issue Oct 26, 2020 · 5 comments · Fixed by #23907

Comments

@willsam100
Copy link

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

Error: Calling Installation of libomp from a GitHub commit URL is disabled! Use 'brew extract libomp' to stable tap on GitHub instead.

Homebrew 2.5.7-2-gc8fcd05
Homebrew/homebrew-core (git revision cba702; last commit 2020-10-26)
Homebrew/homebrew-cask (git revision 8de20; last commit 2020-10-26)

MacOS: 10.15.7


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@luisquintanilla
Copy link
Contributor

Hi @willsam100

Thanks for raising this issue. Could you also provide which version of MacOS and Homebrew you're using to run these commands.

@frostythecodeman
Copy link

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

Error: Calling Installation of libomp from a GitHub commit URL is disabled! Use 'brew extract libomp' to stable tap on GitHub instead.

Homebrew 2.5.7-2-gc8fcd05
Homebrew/homebrew-core (git revision cba702; last commit 2020-10-26)
Homebrew/homebrew-cask (git revision 8de20; last commit 2020-10-26)

MacOS: 10.15.7

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Hi @willsam100 , did you ever resolve this issue? I am having the exact problem.

@luisquintanilla
Copy link
Contributor

@frostythecodeman there's an issue open in the ML .NET Repo. Can you please upvote it and provide additional details about your system (OS version, etc)

dotnet/machinelearning#5615

Thanks

@luisquintanilla
Copy link
Contributor

@frostythecodeman ignore my previous comment :) I see you already posted on there.

@ksaur
Copy link
Contributor

ksaur commented Apr 23, 2021

@frostythecodeman , as a work-around, you can do:

wget https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb
brew install ./libomp.rb

See microsoft/hummingbird#500

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants