[flang-commits] [flang] c571113 - [flang] Fix cycle of build dependencies (#108132)

via flang-commits flang-commits at lists.llvm.org
Tue Sep 10 19:00:36 PDT 2024


Author: Peter Klausler
Date: 2024-09-10T19:00:32-07:00
New Revision: c5711130be758ca82216abb81c6b870a830e8f82

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

LOG: [flang] Fix cycle of build dependencies (#108132)

While trying to fix one build problem, I made things worse. This should
clear things up.

Added: 
    

Modified: 
    flang/tools/f18/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/flang/tools/f18/CMakeLists.txt b/flang/tools/f18/CMakeLists.txt
index 4670362f7a103c..9d7b8633958cb7 100644
--- a/flang/tools/f18/CMakeLists.txt
+++ b/flang/tools/f18/CMakeLists.txt
@@ -80,7 +80,7 @@ if (NOT CMAKE_CROSSCOMPILING)
         set(depends ${depends} ${FLANG_INTRINSIC_MODULES_DIR}/__fortran_ieee_exceptions.mod)
       endif()
     endif()
-    if(NOT ${filename} STREQUAL "__fortran_type_info")
+    if(NOT ${filename} STREQUAL "__fortran_type_info" AND NOT ${filename} STREQUAL "__fortran_builtins")
       set(depends ${depends} ${FLANG_INTRINSIC_MODULES_DIR}/__fortran_type_info.mod)
     endif()
 


        


More information about the flang-commits mailing list