[flang-commits] [flang] ed6c452 - Add missing dependencies on the flang test target

Mehdi Amini via flang-commits flang-commits at lists.llvm.org
Mon Apr 13 11:23:12 PDT 2020


Author: Mehdi Amini
Date: 2020-04-13T18:23:01Z
New Revision: ed6c452edc8121e18ec977a4ac93ab43d95fe78d

URL: https://github.com/llvm/llvm-project/commit/ed6c452edc8121e18ec977a4ac93ab43d95fe78d
DIFF: https://github.com/llvm/llvm-project/commit/ed6c452edc8121e18ec977a4ac93ab43d95fe78d.diff

LOG: Add missing dependencies on the flang test target

Without this, the LLVM utilities (FileCheck) aren't built when running
`ninja check-flang` and it fails with:

llvm-project/llvm/utils/lit/lit/llvm/subst.py:134: fatal: Did not find FileCheck in...

Also the modules aren't built without depending on `module_files`, which
makes multiple tests failing.

Differential Revision: https://reviews.llvm.org/D78036

Added: 
    

Modified: 
    flang/test/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/flang/test/CMakeLists.txt b/flang/test/CMakeLists.txt
index 3e22d9f18c82..993d0d4994b7 100644
--- a/flang/test/CMakeLists.txt
+++ b/flang/test/CMakeLists.txt
@@ -18,7 +18,7 @@ set(FLANG_TEST_PARAMS
   flang_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py)
 
 set(FLANG_TEST_DEPENDS
-  f18
+  f18 FileCheck count not module_files
 )
 
 if (LINK_WITH_FIR)


        


More information about the flang-commits mailing list