From: <firedrake-bounces@imperial.ac.uk> on behalf of Matthew Knepley <knepley@gmail.com> Reply-To: firedrake <firedrake@imperial.ac.uk> Date: Tuesday, 6 November 2018 at 08:44 To: firedrake <firedrake@imperial.ac.uk> Subject: Re: [firedrake] Installation with my own PETSc repository On Tue, Nov 6, 2018 at 3:38 AM Lawrence Mitchell <wencel@gmail.com<mailto:wencel@gmail.com>> wrote: On 6 Nov 2018, at 08:27, Matthew Knepley <knepley@gmail.com<mailto:knepley@gmail.com>> wrote: sidx_api.cc:45<http://sidx_api.cc:45>:8: error: thread-local storage is unsupported for the current target static __thread struct Hmm. The internet suggests that various Xcode versions removed (and then later reinstated) thread local storage in apple's clang. Eg here: https://stackoverflow.com/questions/28094794/why-does-apple-clang-disallow-c... Seems like Xcode 8 and newer do support it. But you have a very old Xcode? Yep, the old good Xcode is an old Xcode :) Can we make __thread a #define which is checked by configure? In principle, yes. Though this means we get further into maintaining a libspatialindex fork. Do we really need this? Thanks, Matt Lawrence _______________________________________________ firedrake mailing list firedrake@imperial.ac.uk<mailto:firedrake@imperial.ac.uk> https://mailman.ic.ac.uk/mailman/listinfo/firedrake -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener https://www.cse.buffalo.edu/~knepley/<http://www.cse.buffalo.edu/~knepley/>