diff --git a/common/tensorrt_common/CMakeLists.txt b/common/tensorrt_common/CMakeLists.txt index 1714c5a44f7eb..395a5ee4f1941 100644 --- a/common/tensorrt_common/CMakeLists.txt +++ b/common/tensorrt_common/CMakeLists.txt @@ -4,6 +4,9 @@ project(tensorrt_common) find_package(autoware_cmake REQUIRED) autoware_package() +# TODO(tensorrt_common): Remove once upgrading to TensorRT 8.5 is complete +add_compile_options(-Wno-deprecated-declarations) + find_package(CUDA) find_package(CUDNN) find_package(TENSORRT) diff --git a/perception/lidar_centerpoint/CMakeLists.txt b/perception/lidar_centerpoint/CMakeLists.txt index 2591266652827..89817f963b3f0 100644 --- a/perception/lidar_centerpoint/CMakeLists.txt +++ b/perception/lidar_centerpoint/CMakeLists.txt @@ -4,6 +4,9 @@ project(lidar_centerpoint) find_package(autoware_cmake REQUIRED) autoware_package() +# TODO(lidar_centerpoint): Remove once upgrading to TensorRT 8.5 is complete +add_compile_options(-Wno-deprecated-declarations) + option(CUDA_VERBOSE "Verbose output of CUDA modules" OFF) # set flags for CUDA availability diff --git a/perception/tensorrt_yolo/CMakeLists.txt b/perception/tensorrt_yolo/CMakeLists.txt index 56d444bd6347a..f97a65834fbf8 100755 --- a/perception/tensorrt_yolo/CMakeLists.txt +++ b/perception/tensorrt_yolo/CMakeLists.txt @@ -4,6 +4,9 @@ project(tensorrt_yolo) find_package(autoware_cmake REQUIRED) autoware_package() +# TODO(tensorrt_yolo): Remove once upgrading to TensorRT 8.5 is complete +add_compile_options(-Wno-deprecated-declarations) + option(CUDA_VERBOSE "Verbose output of CUDA modules" OFF) find_package(OpenCV REQUIRED) diff --git a/perception/traffic_light_ssd_fine_detector/CMakeLists.txt b/perception/traffic_light_ssd_fine_detector/CMakeLists.txt index c98e880e49dd7..8e91e36fdda7a 100644 --- a/perception/traffic_light_ssd_fine_detector/CMakeLists.txt +++ b/perception/traffic_light_ssd_fine_detector/CMakeLists.txt @@ -4,6 +4,9 @@ project(traffic_light_ssd_fine_detector) find_package(autoware_cmake REQUIRED) autoware_package() +# TODO(traffic_light_ssd_fine_detector): Remove once upgrading to TensorRT 8.5 is complete +add_compile_options(-Wno-deprecated-declarations) + option(CUDA_VERBOSE "Verbose output of CUDA modules" OFF) find_package(OpenCV REQUIRED)