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

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Nov 30 08:10:51 PST 2017


Hahnfeld added a comment.

In https://reviews.llvm.org/D40083#940524, @omalyshe wrote:

> 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!


Yes, I fixed that inconsistency in the previous refactoring. But I'm a bit confused because `LIBOMP_TEST_*` shouldn't work anymore?


https://reviews.llvm.org/D40083





More information about the Openmp-commits mailing list