Skip to content

Commit

Permalink
Revert cmake change
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilosevic committed Aug 14, 2024
1 parent 95b3ea7 commit 1c051ab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions env/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,11 @@ add_custom_target(python-venv
TTFORGE_VENV_DIR=${TTFORGE_VENV_DIR}
bash ${CMAKE_CURRENT_SOURCE_DIR}/create_venv.sh)

set(TT_MLIR_ROOT_DIR ${CMAKE_SOURCE_DIR}/third_party/tt-mlir)
add_custom_target(build_tt_mlir_env ALL
COMMAND ${CMAKE_COMMAND} -E env
TTMLIR_TOOLCHAIN_DIR=${TTMLIR_TOOLCHAIN_DIR} # Export TTMLIR_TOOLCHAIN_DIR to use
TTMLIR_VENV_DIR=${TTMLIR_VENV_DIR} # Export TTMLIR_VENV_DIR to use
bash ${CMAKE_SOURCE_DIR}/third_party/build_mlir_env.sh
WORKING_DIRECTORY ${TT_MLIR_ROOT_DIR}
bash ${CMAKE_CURRENT_SOURCE_DIR}/../third_party/build_mlir_env.sh
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../third_party/tt-mlir
USES_TERMINAL
)

0 comments on commit 1c051ab

Please sign in to comment.