Skip to content

should default CC=clang on mac #231

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
cartazio opened this issue Jun 10, 2013 · 3 comments
Closed

should default CC=clang on mac #231

cartazio opened this issue Jun 10, 2013 · 3 comments
Milestone

Comments

@cartazio
Copy link

The system assembly on Mac doesn't understand AVX instructions, which is probably an ongoing source of confusion when people try to build open blas on a mac,

the work around is using CC=clang, because the clang assembler goes via llvm.

this problem is dealt with when using mac homebrew to install on a mac, but would be a good idea to make clang the default for doing assembling on mac (and compiling too i suppose)

@xianyi
Copy link
Collaborator

xianyi commented Jun 13, 2013

Hi @cartazio ,

I fixed it on develop branch. Please try it :)

Xianyi

@cartazio
Copy link
Author

thanks! Testing it now and it's built to completion. (for those who used mac brew to install it, this probably didn't matter, but some folks prefer other build approaches).

I'm likely to be writing a haskell Blas / Lapack binding shortly that (for now) will only support OpenBlas (to keep things simple), so I hope you don't mind any associated uptick in tickets etc from me or other haskellers soon.

@xianyi
Copy link
Collaborator

xianyi commented Jun 14, 2013

@cartazio, please don't hesitate to file the bug.

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

No branches or pull requests

2 participants