From 716b218d2f683948f861ba662351c9997ea90da7 Mon Sep 17 00:00:00 2001 From: Stella Laurenzo Date: Thu, 2 Nov 2023 17:24:43 -0700 Subject: [PATCH] Update path to build_libtorch.sh --- projects/pt1/python/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/pt1/python/CMakeLists.txt b/projects/pt1/python/CMakeLists.txt index 157b5f912..dd2864013 100644 --- a/projects/pt1/python/CMakeLists.txt +++ b/projects/pt1/python/CMakeLists.txt @@ -29,7 +29,7 @@ if (NOT TORCH_MLIR_USE_INSTALLED_PYTORCH) set(ENV{CMAKE_C_COMPILER_LAUNCHER} ${CMAKE_C_COMPILER_LAUNCHER}) set(ENV{CMAKE_CXX_COMPILER_LAUNCHER} ${CMAKE_CXX_COMPILER_LAUNCHER}) execute_process( - COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../build_tools/build_libtorch.sh + COMMAND ${TORCH_MLIR_SOURCE_DIR}/build_tools/build_libtorch.sh RESULT_VARIABLE _result ) if(_result)