File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -334,8 +334,13 @@ endif() # TRITON_ENABLE_ONNXRUNTIME_OPENVINO
334
334
if (TRITON_ONNXRUNTIME_DOCKER_BUILD)
335
335
set (_GEN_FLAGS "" )
336
336
if (${RHEL_BUILD} AND "${TRITON_BUILD_TENSORRT_HOME} " STREQUAL "" )
337
- set (TRITON_BUILD_TENSORRT_HOME "/usr/local/cuda/targets/${CMAKE_SYSTEM_PROCESSOR} -linux/" )
337
+ if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64" )
338
+ set (TRITON_BUILD_TENSORRT_HOME "/usr/local/cuda/targets/sbsa-linux/" )
339
+ else ()
340
+ set (TRITON_BUILD_TENSORRT_HOME "/usr/local/cuda/targets/x86_64-linux/" )
341
+ endif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64" )
338
342
endif (${RHEL_BUILD} AND "${TRITON_BUILD_TENSORRT_HOME} " STREQUAL "" )
343
+ message (${TRITON_BUILD_TENSORRT_HOME} )
339
344
if (NOT ${TRITON_BUILD_TARGET_PLATFORM} STREQUAL "" )
340
345
set (_GEN_FLAGS ${_GEN_FLAGS} "--target-platform=${TRITON_BUILD_TARGET_PLATFORM} " )
341
346
endif () # TRITON_BUILD_TARGET_PLATFORM
You can’t perform that action at this time.
0 commit comments