Skip to content

Commit

Permalink
SWDEV-383221 - Set the default value of ROCM_HEADER_WRAPPER_WERROR to…
Browse files Browse the repository at this point in the history
… OFF

Using wrapper header files will result in #warning message by default

Change-Id: I8941a96bdc1b921a7646ccb353130cb283957ff8
  • Loading branch information
raramakr authored and nunnikri committed May 9, 2023
1 parent ecb1303 commit cdfc340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ if(FILE_REORG_BACKWARD_COMPATIBILITY)
set(ROCM_HEADER_WRAPPER_WERROR "$ENV{ROCM_HEADER_WRAPPER_WERROR}"
CACHE STRING "Header wrapper warnings as errors.")
else()
set(ROCM_HEADER_WRAPPER_WERROR "ON" CACHE STRING "Header wrapper warnings as errors.")
set(ROCM_HEADER_WRAPPER_WERROR "OFF" CACHE STRING "Header wrapper warnings as errors.")
endif()
endif()
if(ROCM_HEADER_WRAPPER_WERROR)
Expand Down

0 comments on commit cdfc340

Please sign in to comment.