Skip to content

Commit

Permalink
build_ArmComputeLibrary: better copy algorithm
Browse files Browse the repository at this point in the history
Just iterate over folders that needs to be copied
  • Loading branch information
malfet committed Mar 7, 2024
1 parent 9f4ba0a commit 9329cbe
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions aarch64_linux/aarch64_wheel_ci_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ def build_ArmComputeLibrary() -> None:
"--depth", "1", "--shallow-submodules"])
check_call(["scons", "Werror=1", "-j8", f"build_dir=/{acl_install_dir}/build"] + acl_build_flags,
cwd=acl_checkout_dir)
shutil.copytree(f"{acl_checkout_dir}/arm_compute", acl_install_dir)
shutil.copytree(f"{acl_checkout_dir}/include", acl_install_dir)
shutil.copytree(f"{acl_checkout_dir}/utils", acl_install_dir)
shutil.copytree(f"{acl_checkout_dir}/support", acl_install_dir)
shutil.copytree(f"{acl_checkout_dir}/src", acl_install_dir)
for d in ["arm_compute", "include", "utils", "support", "src"]:
shutil.copytree(f"{acl_checkout_dir}/{d}", f"{acl_install_dir}/{d}")


def complete_wheel(folder: str) -> str:
Expand Down

0 comments on commit 9329cbe

Please sign in to comment.