leezu commented on a change in pull request #18450:
URL: https://github.com/apache/incubator-mxnet/pull/18450#discussion_r433559278



##########
File path: ci/docker/runtime_functions.sh
##########
@@ -187,13 +187,50 @@ build_dynamic_libmxnet() {
     ninja
 }
 
+build_onnx_and_onnx_tensorrt() {
+    set -ex
+    # Build ONNX
+    pushd .
+    echo "Installing ONNX."
+    cd 3rdparty/onnx-tensorrt/third_party/onnx
+    rm -rf build
+    mkdir -p build
+    cd build
+    cmake \
+        -DCMAKE_CXX_FLAGS=-I/usr/include/python${PYVER}\

Review comment:
       Suggest you delete this line instead of adding PYVER. Then it should be 
autodetected




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


Reply via email to