Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: build with -DUSE_TENSORRT_OSS=ON #813

Merged
merged 1 commit into from
Sep 17, 2020
Merged

Conversation

beniz
Copy link
Collaborator

@beniz beniz commented Sep 16, 2020

Sets Jenkins to build with TENSORRT_OSS as default since it's now the
most recent and advanced.

@beniz
Copy link
Collaborator Author

beniz commented Sep 16, 2020

We still should check for proper CUDA 10.2 for builds with -DUSE_TENSORRT_OSS=ON, see #811

CMakeLists.txt Outdated
@@ -889,9 +889,9 @@ if (USE_TENSORRT)
set(TENSORRT_LIBS protobuf nvinfer nvparsers nvinfer_plugin nvonnxparser )

else()
set(TENSORRT_LIB_DIR ${CMAKE_BINARY_DIR}/tensorrt-oss/src/tensorrt-oss-build ${TENSORRT_LIB_DIR})
set(TENSORRT_LIB_DIR ${CMAKE_BINARY_DIR}/tensorrt-oss/src/tensorrt-oss-build ${CMAKE_BINARY_DIR}/tensorrt-oss/bin/ ${TENSORRT_LIB_DIR})
Copy link
Contributor

@fantes fantes Sep 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think ${CMAKE_BINARY_DIR}/tensorrt-oss/src/tensorrt-oss-build can be dropped as everything should be built/installed in ${CMAKE_BINARY_DIR}/tensorrt-oss/bin/ because of -DTRT_OUT_DIR=${CMAKE_BINARY_DIR}/tensorrt-oss/bin set some lines below

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good intuition! the build goes through when removing this path, I've updated the commit.

Sets Jenkins to build with TENSORRT_OSS as default since it's now the
most recent and advanced.
@sileht sileht merged commit 39bd675 into master Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants