From c0aba00dcc39e27a3bab7dc179370930cfa1302f Mon Sep 17 00:00:00 2001 From: Krishnan Prashanth Date: Tue, 8 Oct 2024 12:46:20 -0700 Subject: [PATCH] updated build.py --- build.py | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/build.py b/build.py index 14301f843d..42b4157748 100755 --- a/build.py +++ b/build.py @@ -1852,10 +1852,24 @@ def core_build( # [FIXME] Placing the tritonserver and tritonfrontend wheel files in 'python' for now, # should be uploaded to pip registry to be able to install directly cmake_script.mkdir(os.path.join(install_dir, "python")) - cmake_script.cp( - os.path.join(repo_install_dir, "python", "triton*.whl"), - os.path.join(install_dir, "python"), - ) + _from = os.path.join(repo_install_dir, "python", "triton*.whl") + _to = os.path.join(install_dir, "python") + cmake_script.cmd("echo ===============RYAN================") + cmake_script.cmd("find / -name triton*.whl") + + # print(f"[RYAN] Copying {_from=}, {_to=}") + cmake_script.cmd(f"echo [RYAN] ==== {_from=} to {_to=} ====") + cmake_script.cmd(f"echo ================ BEFORE ================") + cmake_script.cmd(f"echo Looking at from:") + cmake_script.cmd(f"ls {_from}") + cmake_script.cmd(f"echo Looking at to:") + cmake_script.cmd(f"ls {_to}") + cmake_script.cp(_from, _to) + cmake_script.cmd(f"echo ================ AFTER ================") + cmake_script.cmd(f"echo Looking at from:") + cmake_script.cmd(f"ls {_from}") + cmake_script.cmd(f"echo Looking at to:") + cmake_script.cmd(f"ls {_to}") cmake_script.mkdir(os.path.join(install_dir, "include", "triton")) cmake_script.cpdir(