Skip to content

Commit 0a7a7d5

Browse files
[llvm][CAS] Enable CAS on 32-bit systems again (llvm#159302)
dd56bec has fixed the alignment problem we were seeing on Arm 32-bit.
1 parent 88c64f7 commit 0a7a7d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -880,8 +880,8 @@ option (LLVM_ENABLE_BINDINGS "Build bindings." ON)
880880
option (LLVM_ENABLE_TELEMETRY "Enable the telemetry library. If set to OFF, library cannot be enabled after build (eg., at runtime)" ON)
881881

882882
set(LLVM_ENABLE_ONDISK_CAS_default ON)
883-
if(CMAKE_SIZEOF_VOID_P LESS 8 OR "${CMAKE_SYSTEM_NAME}" MATCHES SunOS)
884-
# Build OnDiskCAS by default only on 64 bit machine that is not Solaris.
883+
if("${CMAKE_SYSTEM_NAME}" MATCHES SunOS)
884+
# Build OnDiskCAS by default only on non-Solaris machines.
885885
set(LLVM_ENABLE_ONDISK_CAS_default OFF)
886886
endif()
887887
option(LLVM_ENABLE_ONDISK_CAS "Build OnDiskCAS." ${LLVM_ENABLE_ONDISK_CAS_default})

0 commit comments

Comments
 (0)