This is an archive of the discontinued LLVM Phabricator instance.

Fixing flang's definition of MLIR_MAIN_SRC_DIR
ClosedPublic

Authored by Renaud-K on Nov 2 2022, 4:08 PM.

Details

Summary

We have set MLIR_MAIN_SRC_DIR and MLIR_INCLUDE_DIR to the same path

While in MLIR they are set as:

set(MLIR_MAIN_SRC_DIR     ${CMAKE_CURRENT_SOURCE_DIR}  )
set(MLIR_MAIN_INCLUDE_DIR ${MLIR_MAIN_SRC_DIR}/include )

Diff Detail