Liam-Sturge opened a new issue, #13871:
URL: https://github.com/apache/tvm/issues/13871

   Unable to install NNPACK during execution of the script 
[ubuntu_install_nnpack.sh](https://github.com/apache/tvm/blob/main/docker/install/ubuntu_install_nnpack.sh)
 due to CMake build error.
   
   The cause of this issue is due to a recent change in the external dependency 
[pytorch/cpuinfo](https://github.com/pytorch/cpuinfo), which renamed the 
default branch to main. The NNPACK dependency has not been updated to point to 
the new branch in 
[DownloadCpuinfo.cmake](https://github.com/Maratyszcza/NNPACK/blob/master/cmake/DownloadCpuinfo.cmake).
   
   Issue has been raised for NNPACK 
[here](https://github.com/Maratyszcza/NNPACK/issues/213).
   
   ### Expected behavior
   
   Cmake should successfully build NNPACK and install it on the Docker image.
   
   ### Actual behavior
   
   build fails with the following error:
   ```
   CMake Error: The following variables are used in this project, but they are 
set to NOTFOUND.
   Please set them or make sure they are set and tested correctly in the CMake 
files:
   NNPACK_CLOG_CONTRIB_LIB
       linked by target "tvm_runtime" in directory /workspace
       linked by target "tvm" in directory /workspace
   NNPACK_CONTRIB_LIB
       linked by target "tvm_runtime" in directory /workspace
       linked by target "tvm" in directory /workspace
   NNPACK_CPUINFO_CONTRIB_LIB
       linked by target "tvm_runtime" in directory /workspace
       linked by target "tvm" in directory /workspace
   NNPACK_PTHREAD_CONTRIB_LIB
       linked by target "tvm_runtime" in directory /workspace
       linked by target "tvm" in directory /workspace
   ```
   
   ### Steps to reproduce
   
   This issue can be replicated in a local environment when using 
[ubuntu_install_nnpack.sh](https://github.com/apache/tvm/blob/main/docker/install/ubuntu_install_nnpack.sh)
 to check out and build the latest version of NNPACK in a Docker container.
   
   ### Triage
   
   Please refer to the list of label tags 
[here](https://github.com/apache/tvm/wiki/Issue-Triage-Labels) to find the 
relevant tags and add them below in a bullet format (example below).
   
   * needs-triage
   * dev:ci
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to