Skip to content

Commit

Permalink
Revert the changes for NNPACK build issue
Browse files Browse the repository at this point in the history
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 apache#13871

The issue has been fixed at the source by PR apache#214, so the change to
`ubuntu_install_nnpack.sh` is no longer required:

Maratyszcza/NNPACK#214
  • Loading branch information
Liam-Sturge committed Feb 3, 2023
1 parent 7aecc1a commit 12b611b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/install/ubuntu_install_nnpack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12b611b

Please sign in to comment.