Skip to content

Commit

Permalink
updated build.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KrishnanPrash committed Oct 8, 2024
1 parent dc02efe commit c0aba00
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c0aba00

Please sign in to comment.