File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -878,7 +878,13 @@ option (LLVM_ENABLE_SPHINX "Use Sphinx to generate llvm documentation." OFF)
878
878
option (LLVM_ENABLE_OCAMLDOC "Build OCaml bindings documentation." ON )
879
879
option (LLVM_ENABLE_BINDINGS "Build bindings." ON )
880
880
option (LLVM_ENABLE_TELEMETRY "Enable the telemetry library. If set to OFF, library cannot be enabled after build (eg., at runtime)" ON )
881
- option (LLVM_ENABLE_ONDISK_CAS "Build OnDiskCAS." ON )
881
+
882
+ set (LLVM_ENABLE_ONDISK_CAS_default OFF )
883
+ if (CMAKE_SIZEOF_VOID_P GREATER_EQUAL 8)
884
+ # Build OnDiskCAS by default only on 64 bit machine.
885
+ set (LLVM_ENABLE_ONDISK_CAS_default ON )
886
+ endif ()
887
+ option (LLVM_ENABLE_ONDISK_CAS "Build OnDiskCAS." ${LLVM_ENABLE_ONDISK_CAS_default} )
882
888
883
889
set (LLVM_INSTALL_DOXYGEN_HTML_DIR "${CMAKE_INSTALL_DOCDIR} /llvm/doxygen-html"
884
890
CACHE STRING "Doxygen-generated HTML documentation install directory" )
You can’t perform that action at this time.
0 commit comments