[cfe-dev] switching CLANG_DEFAULT_OPENMP_RUNTIME to libomp

David Chisnall David.Chisnall at cl.cam.ac.uk
Tue Jun 23 05:41:08 PDT 2015


On 23 Jun 2015, at 13:02, Jack Howarth <howarth.mailing.lists at gmail.com> wrote:
> 
> Why is is acceptable to force those end-users who want to use the libomp
> support to invoke the compiler with -fopenmp=libomp and yet you seem to
> find it an unacceptable burden for your own users to be forced to invoke the
> compiler with -fopenmp=libgomp. Certainly they are capable of adding that
> to their build flags for themselves.

I completely agree.  Given that -fopenmp=libomp means ‘and please make OpenMP actually work’, there’s no good reason for -fopenmp=libgomp (which means ‘and please emit OpenMP programs that don’t link correctly if libgomp.so is not a symlink to libomp.so’) to be the default.

David





More information about the cfe-dev mailing list