Skip to content

Commit 5e652c1

Browse files
authored
[CI] NNPACK build issue workaround (#13873)
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 #13871
1 parent d8833bd commit 5e652c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/install/ubuntu_install_nnpack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ git clone https://github.com/Maratyszcza/NNPACK NNPACK
2626
git clone https://github.com/Maratyszcza/pthreadpool NNPACK/pthreadpool
2727

2828
# Use specific versioning tag.
29-
(cd NNPACK && git checkout 1e005b0c2)
29+
(cd NNPACK && sed -i 's/GIT_TAG master/GIT_TAG main/g' ./cmake/DownloadCpuinfo.cmake && git checkout 1e005b0c2)
3030
(cd NNPACK/pthreadpool && git checkout 13da0b4c)
3131

3232
mkdir -p NNPACK/build

0 commit comments

Comments
 (0)