Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

clang: error: unsupported option '-fopenmp' on bundle install #298

Unanswered
Overload119 asked this question in Q&A
Discussion options

Questions or suggestions

We are using Discussions for questions and suggestions for new features. Issues are only for bug reports.

Describe the bug

Unable to gem install.

clang: error: unsupported option '-fopenmp'

To Reproduce

bundle

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
Mac OSX

Additional context
Add any other context about the problem here.

You must be logged in to vote

Replies: 2 comments

Comment options

The apple provided clang compiler does not support this flag, if you use a newer version it should work:

brew install llvm libomp
You must be logged in to vote
0 replies
Comment options

This sounds like a long-standing issue with imagemagick. It adds -fopenmp to the compile line of anything which links to it, but -fopenmp is a gcc flag, so you can only build downstream projects with gcc.

Though I'm unsure why gem would be trying to build something that links to magick, you'd need to provide more information.

As @sled says, a newer clang would help too.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #297 on April 06, 2021 09:22.

AltStyle によって変換されたページ (->オリジナル) /