[Openmp-commits] [PATCH] D45220: [OpenMP] Search llvm package to find bc file compiler and linker if not specified by a user

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Apr 7 03:39:43 PDT 2018


Hahnfeld added a comment.

In https://reviews.llvm.org/D45220#1058835, @guansong wrote:

> The patch will allow one to do this
>
> env CC=/bc-capibile-compiler CXX=/bc-capibile-compiler cmake .... -DLIBOMPTARGET_NVPTX_ENABLE_BCLIB=1 the_openmp_dir


That's very much already possible, please have a look at the defaults for `LIBOMPTARGET_NVPTX_CUDA_COMPILER`. This change will magically use a compiler which is not what the user specified. Please read the discussion end of December in https://reviews.llvm.org/D14254.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D45220





More information about the Openmp-commits mailing list