From 1dfa5554bb384c1c84bc1ccfda10bcea5b23f382 Mon Sep 17 00:00:00 2001 From: Sunita Nadampalli Date: Sat, 11 Feb 2023 18:59:27 -0600 Subject: [PATCH] [aarch64] cherrypick ACL patches for pytorch2.0 --- build_aarch64_wheel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/build_aarch64_wheel.py b/build_aarch64_wheel.py index ccb622e01..21d5b8f69 100755 --- a/build_aarch64_wheel.py +++ b/build_aarch64_wheel.py @@ -228,6 +228,7 @@ def build_ArmComputeLibrary(host: RemoteHost, git_clone_flags: str = "") -> None print('Building Arm Compute Library') host.run_cmd("mkdir $HOME/acl") host.run_cmd(f"git clone https://github.com/ARM-software/ComputeLibrary.git -b v22.11 {git_clone_flags}") + host.run_cmd(f"pushd ComputeLibrary; git fetch https://review.mlplatform.org/ml/ComputeLibrary && git cherry-pick --no-commit d2475c721e; git fetch https://review.mlplatform.org/ml/ComputeLibrary refs/changes/68/9068/4 && git cherry-pick --no-commit FETCH_HEAD; popd") host.run_cmd(f"pushd ComputeLibrary; export acl_install_dir=$HOME/acl; scons Werror=1 -j8 debug=0 neon=1 opencl=0 os=linux openmp=1 cppthreads=0 arch=armv8.2-a multi_isa=1 build=native build_dir=$acl_install_dir/build; cp -r arm_compute $acl_install_dir; cp -r include $acl_install_dir; cp -r utils $acl_install_dir; cp -r support $acl_install_dir; popd")