On Nov 20, 2011, at 2:22 AM, Sean Farley wrote:
It appears that George is still living in the Linux desert and Sean has so pimped out his Mac it is barely running OS X.
Actually, you'd want to pass -D__thread= which is how metis handles it with other compilers. I don't know why llvm is reporting __thread incorrectly.
Apple simply doesn't support __thread.
Any ideas on how to pass it from metis.py??????
This is an annoying fact of the way that metis's makefile passes variables to cmake. We could circumvent the top-level makefile entirely, but that would lock us into a permanent battle with doing the same with every metis release. Or I could just patch the top-level makefile to take a "cflags='-blah'" argument and hope that George accepts the patch. I'm leaning towards the patch. I've implemented both but will see how I feel about it tomorrow before I push any changes.
I think you should "patch the top-level makefile to take a "cflags='-blah'" argument and hope that George accepts the patch." Thanks Barry