[OpenMP] Don't include the device wrappers if -nostdinc is used
OpenMP uses several wrapper hearders to provide the definitions of needed symbols contained in the host. However, some users may use the `-nostdinc` option to override these definitions themselves. The OpenMP wrapper headers are stored in the same location as the clang install. If the user passes `-nostdinc` then this include directory is never looked at by default which means that including these wrappers will always fail. These headers should instead be included manually if they are needed with a `-nostdinc` build. Reviewed By: tra Differential Revision: https://reviews.llvm.org/D125265
Loading
Please sign in to comment