-
Notifications
You must be signed in to change notification settings - Fork 630
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(tensorrt_yolo): change the CMakeLists.txt folders for compiling error on Jetson AGX-Orin #1436
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -5,7 +5,8 @@ find_package(autoware_cmake REQUIRED) | |||
autoware_package() | ||||
|
||||
option(CUDA_VERBOSE "Verbose output of CUDA modules" OFF) | ||||
|
||||
set(DEPRECATION_FLAG "-Wno-error=deprecated-declarations") | ||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${DEPRECATION_FLAG}" | ||||
# set flags for CUDA availability | ||||
option(CUDA_AVAIL "CUDA available" OFF) | ||||
find_package(CUDA) | ||||
|
@@ -25,6 +26,8 @@ else() | |||
set(CUDA_AVAIL OFF) | ||||
endif() | ||||
|
||||
|
||||
|
||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. unnecessary change |
||||
# set flags for TensorRT availability | ||||
option(TRT_AVAIL "TensorRT available" OFF) | ||||
# try to find the tensorRT modules | ||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -5,7 +5,8 @@ find_package(autoware_cmake REQUIRED) | |||||
autoware_package() | ||||||
|
||||||
option(CUDA_VERBOSE "Verbose output of CUDA modules" OFF) | ||||||
|
||||||
set(DEPRECATION_FLAG "-Wno-error=deprecated-declarations") | ||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${DEPRECATION_FLAG}" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
# set flags for CUDA availability | ||||||
option(CUDA_AVAIL "CUDA available" OFF) | ||||||
find_package(CUDA) | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -7,7 +7,8 @@ autoware_package() | |||||
option(CUDA_VERBOSE "Verbose output of CUDA modules" OFF) | ||||||
|
||||||
find_package(OpenCV REQUIRED) | ||||||
|
||||||
set(DEPRECATION_FLAG "-Wno-error=deprecated-declarations") | ||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${DEPRECATION_FLAG}" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
# set flags for CUDA availability | ||||||
option(CUDA_AVAIL "CUDA available" OFF) | ||||||
find_package(CUDA) | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -5,6 +5,9 @@ find_package(autoware_cmake REQUIRED) | |||||
autoware_package() | ||||||
|
||||||
option(CUDA_VERBOSE "Verbose output of CUDA modules" OFF) | ||||||
|
||||||
set(DEPRECATION_FLAG "-Wno-error=deprecated-declarations") | ||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${DEPRECATION_FLAG}" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
# set flags for CUDA availability | ||||||
option(CUDA_AVAIL "CUDA available" OFF) | ||||||
find_package(CUDA) | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -7,7 +7,8 @@ autoware_package() | |||||
option(CUDA_VERBOSE "Verbose output of CUDA modules" OFF) | ||||||
|
||||||
find_package(OpenCV REQUIRED) | ||||||
|
||||||
set(DEPRECATION_FLAG "-Wno-error=deprecated-declarations") | ||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${DEPRECATION_FLAG}" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
# set flags for CUDA availability | ||||||
option(CUDA_AVAIL "CUDA available" OFF) | ||||||
find_package(CUDA) | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.