You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/06/02 00:35:32 UTC
[GitHub] [incubator-mxnet] leezu commented on a change in pull request #18450: [MXNET-1451] Enable MXNet-TRT for building Jetson wheels
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:
users@infra.apache.org