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

Ethan Luis McDonough via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Aug 30 09:36:20 PDT 2023


elmcdonough added a comment.

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.


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