From 60fcb0dedeb1d05eb6a93cccbf76c2d4a42d7231 Mon Sep 17 00:00:00 2001 From: Liam Sturge <50229489+Liam-Sturge@users.noreply.github.com> Date: Tue, 7 Feb 2023 00:16:50 +0000 Subject: [PATCH] Revert the changes for NNPACK build issue (#13913) This patch undoes the change that was put in place to prevent the build and installation of NNPACK from failing due to a renaming of the default branch to main by the NNPACK external dependency cpuinfo. See https://github.com/apache/tvm/issues/13871 The issue has been fixed at the source by PR #214 which is now merged in to NNPACK, so the change to `ubuntu_install_nnpack.sh` is no longer required: https://github.com/Maratyszcza/NNPACK/pull/214 --- docker/install/ubuntu_install_nnpack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/install/ubuntu_install_nnpack.sh b/docker/install/ubuntu_install_nnpack.sh index 91d153aef840..d2fb035c51e8 100755 --- a/docker/install/ubuntu_install_nnpack.sh +++ b/docker/install/ubuntu_install_nnpack.sh @@ -26,7 +26,7 @@ git clone https://github.com/Maratyszcza/NNPACK NNPACK git clone https://github.com/Maratyszcza/pthreadpool NNPACK/pthreadpool # Use specific versioning tag. -(cd NNPACK && sed -i 's/GIT_TAG master/GIT_TAG main/g' ./cmake/DownloadCpuinfo.cmake && git checkout 1e005b0c2) +(cd NNPACK && git checkout 70a77f485) (cd NNPACK/pthreadpool && git checkout 13da0b4c) mkdir -p NNPACK/build