[Openmp-commits] [PATCH] D40083: [CMake] Detect information about test compiler

Olga Malysheva via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Nov 30 07:56:43 PST 2017


omalyshe added a comment.

In https://reviews.llvm.org/D40083#940432, @Hahnfeld wrote:

> You should still be able to set `OPENMP_TEST_C_COMPILER` and `OPENMP_TEST_CXX_COMPILER` as before.


I failed to specify a test compiler with previous LIBOMP_TEST_* staff because I tried  -DLIBOMP_TEST_**C**_COMPILER=gcc but it actually should have been  -DLIBOMP_TEST_COMPILER=gcc. Somehow the old macro had _<lang>_ part missed ;)
It works for me now and I believe it will work for OPENMP_TEST_* too.
Thank you!


https://reviews.llvm.org/D40083





More information about the Openmp-commits mailing list