[Openmp-commits] [PATCH] D148778: [flang][openmp] Fortran offloading test

Slava Zakharin via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu May 4 21:39:59 PDT 2023


vzakhari added inline comments.


================
Comment at: openmp/libomptarget/test/lit.cfg:97
+  config.available_features.add('flang')
+  tools.append(ToolSubst('%flang', command=FindTool('flang-new'), unresolved='fatal'))
+
----------------
I think you have to make sure that `check-libomptarget` CMake target has a dependency on whatever target produces `flang-new` tool.  Alternatively, you may follow the same logic that is used for `clang` with `config.test_*_compiler` properties, but then it does not really matter if Flang is in `LLVM_ENABLE_PROJECTS`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148778



More information about the Openmp-commits mailing list