From 12b611b2e8ec18bf9a669eb4cdf096419adfc544 Mon Sep 17 00:00:00 2001 From: Liam Sturge Date: Fri, 3 Feb 2023 15:58:28 +0000 Subject: [PATCH] Revert the changes for NNPACK build issue 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, 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..e4a37f56f7eb 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 1e005b0c2) (cd NNPACK/pthreadpool && git checkout 13da0b4c) mkdir -p NNPACK/build