Closed jnooree closed 4 years ago
A PR to fix the problem would be gladly appreciated. Maybe a fix would be to enforce that we use clang in order to build rdkit on mac.
It would be great contributing to this wonderful package, but unfortunately, I'm not that familiar with ruby. Also gcc
was able to build this without errors, so enforcing clang
seems not necessary.
You tried the brew recipe on Linux Ubuntu?! Not on a Mac?
Yes I did, as the linuxbrew project was merged into the homebrew. Maybe the build success was just a great luck!
Can you send the command you tried on linux to install rdkit via brew? If I fix the recipe, I want to be able to test.
Oh, I was too late 😅 sorry. It was just the same as mentioned in the readme file. The only change I made is in the original comment.
@jnooree thanks for the feedback and details of your proposed fix
Thanks for the fast fix!
When I try this formula as is, I've got this error:
https://github.com/rdkit/homebrew-rdkit/blob/d9abeeaaa0ac10e482a9f7d7eb9a1d230e53fbfc/Formula/rdkit.rb#L32
And after changing the related line into
build was successful. This might be related to the compiler. In my environment, homebrew used
gcc
, so the formula must check whether the compiler isgcc
orclang
.