From a1343e3857c8f85afc6b0fd9075ec8ab0b5db0c9 Mon Sep 17 00:00:00 2001 From: Ashutosh Parkhi Date: Thu, 9 Feb 2023 17:03:18 +0000 Subject: [PATCH] [CI] Fix for NNPack error due to misalignment with pthreadpool library Recently NNPack SHA was modified to align with CPUInfo, which is a dependent package. Pthreadpool is another dependent library that needs SHA update to work in tandem with NNPack. Change-Id: Ifef45bd47ef160bac104cf96653da14d4c357a69 --- docker/install/ubuntu_install_nnpack.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/install/ubuntu_install_nnpack.sh b/docker/install/ubuntu_install_nnpack.sh index d2fb035c51e8..aac79a743694 100755 --- a/docker/install/ubuntu_install_nnpack.sh +++ b/docker/install/ubuntu_install_nnpack.sh @@ -27,9 +27,11 @@ git clone https://github.com/Maratyszcza/pthreadpool NNPACK/pthreadpool # Use specific versioning tag. (cd NNPACK && git checkout 70a77f485) -(cd NNPACK/pthreadpool && git checkout 13da0b4c) +(cd NNPACK/pthreadpool && git checkout 43edadc) mkdir -p NNPACK/build cd NNPACK/build -cmake -DCMAKE_INSTALL_PREFIX:PATH=. -DNNPACK_INFERENCE_ONLY=OFF -DNNPACK_CONVOLUTION_ONLY=OFF -DNNPACK_BUILD_TESTS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DPTHREADPOOL_SOURCE_DIR=pthreadpool .. && make -j2 && make install +cmake -DCMAKE_INSTALL_PREFIX:PATH=. -DNNPACK_INFERENCE_ONLY=OFF -DNNPACK_CONVOLUTION_ONLY=OFF -DNNPACK_BUILD_TESTS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DPTHREADPOOL_SOURCE_DIR=pthreadpool .. +make -j2 +make install cd -