[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 08:18:25 PST 2017
omalyshe added a comment.
In https://reviews.llvm.org/D40083#940557, @Hahnfeld wrote:
> 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?
I only confirm that the old LIBOMP_TEST* works if I use the correct macro name :).
I didn't check the new OPENP_TEST_* staff.
https://reviews.llvm.org/D40083
More information about the Openmp-commits
mailing list