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

Guansong Zhang via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Apr 5 12:57:45 PDT 2018

guansong added a comment.

That is fine. I don't think this conflicts with what you said?

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

i.e. without adding explicitly what compiler and linker to use for the bc file, as long as you enable the BCLIB and it can find a compiler.

If your installed compiler is happend to be bc file capibile, then with out setting CC and CXX, you will also be able to build the bc file.

  rOMP OpenMP


More information about the Openmp-commits mailing list