Skip to content

Commit

Permalink
[CI] NNPACK build issue workaround (apache#13873)
Browse files Browse the repository at this point in the history
NNPACK build issue workaround

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 authored Jan 31, 2023
1 parent d8833bd commit 5e652c1
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 5e652c1

Please sign in to comment.