[flang-commits] [flang] 948e97a - [flang] Revert MLIR_MAIN_SRC_DIR override (#127337)

via flang-commits flang-commits at lists.llvm.org
Sat Feb 15 10:36:23 PST 2025


Author: Michał Górny
Date: 2025-02-15T18:36:20Z
New Revision: 948e97a40eba6c176183e8e7aefb994681b593ea

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

LOG: [flang] Revert MLIR_MAIN_SRC_DIR override (#127337)

This change is no longer necessary after #125842. Thanks to @nikic for
letting me know.

Added: 
    

Modified: 
    flang/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/flang/CMakeLists.txt b/flang/CMakeLists.txt
index cca56bfdc88e6..c012b884ae3be 100644
--- a/flang/CMakeLists.txt
+++ b/flang/CMakeLists.txt
@@ -230,11 +230,6 @@ if (FLANG_STANDALONE_BUILD)
     add_custom_target(doxygen ALL)
   endif()
 
-  # Override the value from installed CMake files, as they refer
-  # to the directory used during the original MLIR package build,
-  # which may be no longer available.  Instead, use the current checkout.
-  set(MLIR_MAIN_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../mlir )
-
 else()
   option(FLANG_INCLUDE_TESTS
          "Generate build targets for the Flang unit tests."


        


More information about the flang-commits mailing list