[flang-commits] [flang] [flang] Put ISO_Fortran_binding.h where it can be easily used (PR #68756)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Thu Oct 12 09:55:07 PDT 2023


================
@@ -64,6 +64,7 @@ set(FLANG_TEST_DEPENDS
   FortranRuntime
   Fortran_main
   FortranDecimal
+  clang
----------------
vzakhari wrote:

`REQUIRES: clang` only affects whether the LIT test is run or not.  The `clang` keyword, in this case, has to be present in `config.available_features` for the test to run.  Since we do not add `clang` into the available features list, the test will just not run.  Even if we did enabled `clang` as a LIT feature, we still have to guarantee that the `clang` target (that builds the actual `clang` executable) is built before the test runs - this can only be done by setting proper dependency in CMake files.

If building the whole `clang` under `check-flang` is not acceptable, we need another solution.

https://github.com/llvm/llvm-project/pull/68756


More information about the flang-commits mailing list