mjsML commented on issue #17238: Error building on ubuntu 18.04 on x64 with 
intel XEP, CUDA10.0, NCCL and TensorRT
URL: 
https://github.com/apache/incubator-mxnet/issues/17238#issuecomment-571690599
 
 
   Sorry I wasn't clear. I didn't use the entire script ... I used the script 
steps below, because I got another error while building it and that fixed the 
error:
   ```
   cmake \
           -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
           -DCMAKE_C_COMPILER_LAUNCHER=ccache \
           -DCMAKE_CXX_FLAGS=-I/usr/include/python${PYVER}\
           -DBUILD_SHARED_LIBS=ON ..\
           -G Ninja
       ninja -j 1 -v onnx/onnx.proto
       ninja -j 1 -v
       export LIBRARY_PATH=`pwd`:`pwd`/onnx/:$LIBRARY_PATH
       export CPLUS_INCLUDE_PATH=`pwd`:$CPLUS_INCLUDE_PATH
      
   
       # Build ONNX-TensorRT
       cd 3rdparty/onnx-tensorrt/
       mkdir -p build
       cd build
       cmake \
           -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
           -DCMAKE_C_COMPILER_LAUNCHER=ccache \
           ..
       make -j$(nproc)
       export LIBRARY_PATH=`pwd`:$LIBRARY_PATH```
   

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


With regards,
Apache Git Services

Reply via email to