Skip to content

Commit 869d73e

Browse files
committed
[Comgr] Remove file reorg backward compatibility macro
Now that the file reorg has been fully completed, and the backwards compatibility paths have been removed, we no longer need these macros and checks in Comgr
1 parent 9c23605 commit 869d73e

File tree

2 files changed

+0
-117
lines changed

2 files changed

+0
-117
lines changed

amd/comgr/CMakeLists.txt

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ endif(EXISTS "${CMAKE_SOURCE_DIR}/../../.git")
3636

3737
include(GNUInstallDirs)
3838
include(CMakePackageConfigHelpers)
39-
option(FILE_REORG_BACKWARD_COMPATIBILITY "Enable File Reorg with backward compatibility" OFF)
4039
# Optionally, build Compiler Support with ccache.
4140
set(ROCM_CCACHE_BUILD OFF CACHE BOOL "Set to ON for a ccache enabled build")
4241
if (ROCM_CCACHE_BUILD)
@@ -325,26 +324,6 @@ install(FILES
325324
COMPONENT amd-comgr
326325
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${amd_comgr_NAME})
327326

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-
348327
if(ENABLE_ASAN_PACKAGING)
349328
install(FILES
350329
"LICENSE.txt"

amd/comgr/comgr-backward-compat.cmake

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)