[PATCH] D30015: [OpenMP] Add arch-specific directory to search path

Pirama Arumuga Nainar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 15 23:27:39 PST 2017


pirama added a comment.

In https://reviews.llvm.org/D30015#678243, @Hahnfeld wrote:

> Why is this only for OpenMP? I imagine this should be done for **all** runtime libraries


The other runtime libraries have the arch included in the library's name and the driver links the correct file.  cbergstrom preferred to look in an arch-specific directory rather (http://lists.llvm.org/pipermail/openmp-dev/2017-February/001659.html).  It makes sense for OpenMP because other toolchains may assume the standard library name (libomp.so).


https://reviews.llvm.org/D30015





More information about the cfe-commits mailing list