[flang-commits] [flang] fe89211 - [flang][nfc] Simplify CMake

Andrzej Warzynski via flang-commits flang-commits at lists.llvm.org
Mon Jul 12 10:11:44 PDT 2021


Author: Andrzej Warzynski
Date: 2021-07-12T17:11:33Z
New Revision: fe892114e33b8f98bf3537a0dd6d6798821cb849

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

LOG: [flang][nfc] Simplify CMake

Folds `list(APPEND <list> [<element>...])` into the definition of
`<list>`.

Added: 
    

Modified: 
    flang/test/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/flang/test/CMakeLists.txt b/flang/test/CMakeLists.txt
index 905d491708eb4..738e00cdd1e28 100644
--- a/flang/test/CMakeLists.txt
+++ b/flang/test/CMakeLists.txt
@@ -32,11 +32,9 @@ set(FLANG_TEST_PARAMS
   flang_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py)
 
 set(FLANG_TEST_DEPENDS
-  f18 FileCheck count not module_files fir-opt
+  f18 FileCheck count not module_files fir-opt tco
 )
 
-list(APPEND FLANG_TEST_DEPENDS tco)
-
 if (FLANG_BUILD_NEW_DRIVER)
   list(APPEND FLANG_TEST_DEPENDS flang-new)
 endif()


        


More information about the flang-commits mailing list