[cfe-dev] libiomp, not libgomp as default library linked with -fopenmp

Joerg Sonnenberger joerg at britannica.bec.de
Sat May 2 16:09:29 PDT 2015


On Sat, May 02, 2015 at 11:18:35PM +0300, Andrey Bokhanko wrote:
> 3) Some people believe that libiomp is not a proper name anymore and
> should be changed. I'm not a library expert, so really don't know.
> However, this means that we should flip default library setting ASAP.
> Why? Because now "libiomp5" is a user-visible name (one has to use
> "-fopenmp=libiomp5" to enable OpenMP in clang) and the sooner it will
> become non user-visible, the better. Any objections here?

Switch the library name together with the default value for clang. That
seems like to the way forward. It doesn't break existing users, since
they would still be using -fopenmp=libiomp5 and it doesn't introduce a
surprise for new users after the lib name change.

Joerg



More information about the cfe-dev mailing list