[flang-commits] [flang] [flang] Fix standalone builds against installed MLIR (PR #126387)
Nikita Popov via flang-commits
flang-commits at lists.llvm.org
Sat Feb 15 08:05:26 PST 2025
=?utf-8?q?Michał_Górny?= <mgorny at gentoo.org>,
=?utf-8?q?Michał_Górny?= <mgorny at gentoo.org>,
=?utf-8?q?Michał_Górny?= <mgorny at gentoo.org>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/126387 at github.com>
================
@@ -228,6 +228,11 @@ 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 )
----------------
nikic wrote:
This change is redundant, it has already been fixed by https://github.com/llvm/llvm-project/pull/125842.
https://github.com/llvm/llvm-project/pull/126387
More information about the flang-commits
mailing list