[Openmp-commits] [PATCH] D159161: [openmp] Tighten flang detection in offloading test

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Aug 31 18:58:25 PDT 2023


jdoerfert added a comment.

In D159161#4628813 <https://reviews.llvm.org/D159161#4628813>, @elmcdonough wrote:

> In D159161#4628422 <https://reviews.llvm.org/D159161#4628422>, @jdoerfert wrote:
>
>> didn't the docs say something about specifying a flang compiler via cmake? Is that still a thing?
>
> If you're building out of tree, you can specify where flang by setting `OPENMP_TEST_Fortran_COMPILER` manually.  The first version of this patch attempted to check if flang was present by reading the `LLVM_ENABLE_PROJECTS` value, but that didn't work as intended.  That value was always blank when the tests were being built.

But will this not overwrite that flag and render it useless? I am confused.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D159161/new/

https://reviews.llvm.org/D159161



More information about the Openmp-commits mailing list