fuhaizhou edited a comment on issue #11868:
URL: 
https://github.com/apache/incubator-mxnet/issues/11868#issuecomment-713290003


   got the same error here, still no solutions so far?
   this is the build script for MXNet 1.7 on docker:
   ```
   # Install MAXNET
   WORKDIR /
   RUN git clone --recursive https://github.com/apache/incubator-mxnet mxnet && 
\
       cd mxnet && \
       git checkout tags/1.7.0 -b 1.7.0 && \
       git submodule update --init --recursive || true
   
   ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/NNPACK/lib
   
   WORKDIR /mxnet
   RUN cp make/staticbuild/linux_cpu.mk config.mk && \
       echo "ADD_LDFLAGS = -L/NNPACK/lib/ -lnnpack -lpthreadpool" >> config.mk 
&& \
       echo "ADD_CFLAGS = -I/NNPACK/include/ 
-I/NNPACK/third-party/pthreadpool/include/ -I/opt/intel/mkl/include" >> 
config.mk  && \
       echo "USE_NNPACK=1" >> config.mk  && \
       echo "USE_BLAS=mkl" >> config.mk 
       # echo "USE_OPENCV=1" >> make/config.mk 
   
   RUN make DMLCCORE
   RUN make $PWD/3rdparty/tvm/nnvm/lib/libnnvm.a
   RUN make PSLITE
   RUN make mkldnn
   
   WORKDIR /mxnet
   # RUN rm -rf build && \
   #     mkdir -p build && \
   #     cd build && \
   #     cmake -D USE_CUDA=OFF .. && \
   #     cmake --build . --parallel ${nproc}
   RUN make
   ```


----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to