[Openmp-commits] [PATCH] D55725: [OpenMP] Add libs to clang-dedicated directories

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Jan 25 07:47:47 PST 2019


protze.joachim added a comment.

In D55725#1370148 <https://reviews.llvm.org/D55725#1370148>, @jdenny wrote:

> - `libgomp.so`, `libiomp5.so`: My understanding is that these symlinks exist solely for backward compatibility.  This patch currently doesn't affect them (doesn't bother to install them to Clang-dedicated directories).  Any reason to change that?


>From my perspective these names are not for backward compatibility, but to trick GNU and Intel compiler to use the LLVM/OpenMP runtime, when it is found before their own OpenMP runtime. By adding the path of libomp.so to the LIBRARY_PATH, gcc/icc will pick up the LLVM/OpenMP runtime during compilation.

As long as libgomp does not implement OMPT and LLVM has no Fortran frontend, I would welcome the possibility to easily link this runtime into Fortran applications compiled with the GNU compiler.


Repository:
  rOMP OpenMP

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55725/new/

https://reviews.llvm.org/D55725





More information about the Openmp-commits mailing list