From 9d941fcd884be3c9978486b3e231a94881a7b5ac Mon Sep 17 00:00:00 2001 From: xwx1135370 Date: Tue, 24 Jun 2025 10:34:00 +0800 Subject: [PATCH] [BUILD][package][Windows]Remove redundant Python libraries from the bin directory issue:https://gitee.com/openharmony/third_party_llvm-project/issues/ICHB5K?from=project-issue Signed-off-by: xwx1135370 --- llvm-build/build.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/llvm-build/build.py b/llvm-build/build.py index f95a288491fd..6626cd23d76d 100755 --- a/llvm-build/build.py +++ b/llvm-build/build.py @@ -2459,16 +2459,12 @@ class LlvmPackage(BuildUtils): '..', 'third_party', 'mingw-w64', 'mingw-w64-python', self.build_config.LLDB_PY_VERSION) py_dll_path = os.path.join(py_root, py_dll_name) - py_lib_path = os.path.join(py_root, 'lib') else: py_root = mingw_python_dir py_dll_path = os.path.join(py_root, 'bin', py_dll_name) - py_lib_path = os.path.join(py_root, 'lib', py_version) bin_root = os.path.join(install_dir, 'bin') shutil.copyfile(py_dll_path, os.path.join(bin_root, py_dll_name)) - self.merge_tree(py_lib_path, - os.path.join(bin_root, 'python', 'lib', py_version)) def copy_python_to_host(self, python_dir, install_dir): self.check_copy_tree(python_dir, os.path.join(install_dir, self.build_config.LLDB_PYTHON)) -- Gitee