Commit f733b641 authored by Diego Caballero's avatar Diego Caballero Committed by Sang Ik Lee

[MLIR] Fix MLIR pre-build paths (#4212)

- Rename 'llvm-projects' to 'llvm-project' to match dir in LLVM repo.
- Remove 'mlir_project' from pre-build path. It shouldn't be mandatory
  to have LLVM repo in that directory for pre-build.
parent a8f4f4a2
......@@ -24,12 +24,12 @@ set(MLIR_LLVM_COMMIT_ID d6295255)
# MLIR environment variables. Some of them are used by LIT tool.
if (NGRAPH_USE_PREBUILT_MLIR)
set(MLIR_PROJECT_ROOT ${MLIR_LLVM_PREBUILT_PATH}/mlir_project)
set(MLIR_PROJECT_ROOT ${MLIR_LLVM_PREBUILT_PATH})
else()
set(MLIR_PROJECT_ROOT ${CMAKE_CURRENT_BINARY_DIR}/mlir_project)
endif()
set(MLIR_LLVM_ROOT ${MLIR_PROJECT_ROOT}/llvm-projects)
set(MLIR_LLVM_ROOT ${MLIR_PROJECT_ROOT}/llvm-project)
set(MLIR_LLVM_SOURCE_DIR ${MLIR_LLVM_ROOT}/llvm)
set(MLIR_SOURCE_DIR ${MLIR_LLVM_ROOT}/mlir)
set(MLIR_LLVM_BUILD_DIR ${MLIR_PROJECT_ROOT}/build)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment