From 43f77f95f58d27c841b12e9ac80bd3a499d68df6 Mon Sep 17 00:00:00 2001 From: Wei-Yu Date: Thu, 25 Sep 2025 01:10:37 -0700 Subject: [PATCH 1/2] docs: Fix incorrect python package path in development.md --- docs/development.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/development.md b/docs/development.md index f1e72966f84d..360dff8f9df8 100644 --- a/docs/development.md +++ b/docs/development.md @@ -197,7 +197,7 @@ TIP: add multiple target options to stack build phases #### Linux and macOS ```shell -export PYTHONPATH=`pwd`/build/tools/torch-mlir/python_packages/torch_mlir:`pwd`/test/python/fx_importer +export PYTHONPATH=`pwd`/build/python_packages/torch_mlir:`pwd`/test/python/fx_importer ``` #### Windows PowerShell From f82e59b232be59b295cdda8d3aaaab2ab70b18a3 Mon Sep 17 00:00:00 2001 From: Wei-Yu Date: Thu, 25 Sep 2025 19:41:59 -0700 Subject: [PATCH 2/2] Fix python_package path in write_env_file.sh --- build_tools/write_env_file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_tools/write_env_file.sh b/build_tools/write_env_file.sh index 05179c56a07c..8f3c9a59357f 100755 --- a/build_tools/write_env_file.sh +++ b/build_tools/write_env_file.sh @@ -13,7 +13,7 @@ portable_realpath() { td="$(portable_realpath "$(dirname "$0")"/..)" build_dir="$(portable_realpath "${TORCH_MLIR_BUILD_DIR:-$td/build}")" -python_packages_dir="$build_dir/tools/torch-mlir/python_packages" +python_packages_dir="$build_dir/python_packages" write_env_file() { echo "Updating $build_dir/.env file"