Skip to content

Commit

Permalink
NNPACK build issue workaround
Browse files Browse the repository at this point in the history
There is currently a problem building and installing NNPACK using the
script `ubuntu_install_nnpack.sh`. The build fails to complete with
CMake errors, complaining about missing libraries.

This issue is due to a change in the imported dependency pytorch/cpuinfo
that has moved the default branch name to 'main'.

This patch has been submitted as a workaround to the issue raised at
apache#13871
  • Loading branch information
Liam-Sturge committed Jan 30, 2023
1 parent 61c9742 commit 8476e7f
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 && git checkout 1e005b0c2)
(cd NNPACK && sed -i 's/GIT_TAG master/GIT_TAG main/g' ./cmake/DownloadCpuinfo.cmake && git checkout 1e005b0c2)
(cd NNPACK/pthreadpool && git checkout 13da0b4c)

mkdir -p NNPACK/build
Expand Down

0 comments on commit 8476e7f

Please sign in to comment.