File tree Expand file tree Collapse file tree 2 files changed +0
-117
lines changed Expand file tree Collapse file tree 2 files changed +0
-117
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ endif(EXISTS "${CMAKE_SOURCE_DIR}/../../.git")
36
36
37
37
include (GNUInstallDirs )
38
38
include (CMakePackageConfigHelpers )
39
- option (FILE_REORG_BACKWARD_COMPATIBILITY "Enable File Reorg with backward compatibility" OFF )
40
39
# Optionally, build Compiler Support with ccache.
41
40
set (ROCM_CCACHE_BUILD OFF CACHE BOOL "Set to ON for a ccache enabled build" )
42
41
if (ROCM_CCACHE_BUILD )
@@ -325,26 +324,6 @@ install(FILES
325
324
COMPONENT amd-comgr
326
325
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} /${amd_comgr_NAME} )
327
326
328
- #File reorg Backward compatibility function
329
- if (FILE_REORG_BACKWARD_COMPATIBILITY )
330
- # To enable/disable #error in wrapper header files
331
- if (NOT DEFINED ROCM_HEADER_WRAPPER_WERROR )
332
- if (DEFINED ENV{ROCM_HEADER_WRAPPER_WERROR} )
333
- set (ROCM_HEADER_WRAPPER_WERROR "$ENV{ROCM_HEADER_WRAPPER_WERROR} "
334
- CACHE STRING "Header wrapper warnings as errors." )
335
- else ()
336
- set (ROCM_HEADER_WRAPPER_WERROR "OFF" CACHE STRING "Header wrapper warnings as errors." )
337
- endif ()
338
- endif ()
339
- if (ROCM_HEADER_WRAPPER_WERROR )
340
- set (deprecated_error 1 )
341
- else ()
342
- set (deprecated_error 0 )
343
- endif ()
344
-
345
- include (comgr-backward-compat.cmake )
346
- endif ()
347
-
348
327
if (ENABLE_ASAN_PACKAGING )
349
328
install (FILES
350
329
"LICENSE.txt"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments