Skip to content

Commit d73ce9b

Browse files
dhawalsrrayngun
authored andcommitted
EISW-161791 Setting LLVM_ENABLE_ABI_BREAKING_CHECKS macro to 0 to ensure deterministic hashing
Signed-off-by: Dhawal Srivastava <[email protected]>
1 parent 586600f commit d73ce9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/cmake/modules/HandleLLVMOptions.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,10 @@ string(TOUPPER "${LLVM_ABI_BREAKING_CHECKS}" uppercase_LLVM_ABI_BREAKING_CHECKS)
183183

184184
if( uppercase_LLVM_ABI_BREAKING_CHECKS STREQUAL "WITH_ASSERTS" )
185185
if( LLVM_ENABLE_ASSERTIONS )
186-
set( LLVM_ENABLE_ABI_BREAKING_CHECKS 1 )
186+
set( LLVM_ENABLE_ABI_BREAKING_CHECKS 0 )
187187
endif()
188188
elseif( uppercase_LLVM_ABI_BREAKING_CHECKS STREQUAL "FORCE_ON" )
189-
set( LLVM_ENABLE_ABI_BREAKING_CHECKS 1 )
189+
set( LLVM_ENABLE_ABI_BREAKING_CHECKS 0 )
190190
elseif( uppercase_LLVM_ABI_BREAKING_CHECKS STREQUAL "FORCE_OFF" )
191191
# We don't need to do anything special to turn off ABI breaking checks.
192192
elseif( NOT DEFINED LLVM_ABI_BREAKING_CHECKS )

0 commit comments

Comments
 (0)