Skip to content

Commit 91d3729

Browse files
committed
Remove stale CMake logic
1 parent 52acc21 commit 91d3729

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,6 @@ if(TRITON_ONNXRUNTIME_LIB_PATHS STREQUAL "")
137137
set(TRITON_ONNXRUNTIME_DOCKER_BUILD ON)
138138
endif()
139139

140-
set(RHEL_BUILD OFF)
141-
if(LINUX)
142-
file(STRINGS "/etc/os-release" DISTRO_ID_LIKE REGEX "ID_LIKE")
143-
if(${DISTRO_ID_LIKE} MATCHES "rhel|centos")
144-
set(RHEL_BUILD ON)
145-
endif(${DISTRO_ID_LIKE} MATCHES "rhel|centos")
146-
endif(LINUX)
147-
set(TRITON_CORE_HEADERS_ONLY OFF)
148-
149140
message(STATUS "Using Onnxruntime docker: ${TRITON_ONNXRUNTIME_DOCKER_BUILD}")
150141

151142
if(NOT TRITON_ONNXRUNTIME_DOCKER_BUILD)

0 commit comments

Comments
 (0)