-
Notifications
You must be signed in to change notification settings - Fork 344
[CMake] Only enable LLVM_ENABLE_ONDISK_CAS_default for 64-bit or larger architectures #5883
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CMake] Only enable LLVM_ENABLE_ONDISK_CAS_default for 64-bit or larger architectures #5883
Conversation
Pinging @cachemeifyoucan, looks like you're back, please review. |
Changing the default sounds good to me. Please make sure also making the same change to In terms of the actual change, it might be better just check |
ae77afc
to
ff2ba7b
Compare
Alright, will submit those next, once this is in.
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit for comparison. Otherwise, LGTM
llvm/CMakeLists.txt
Outdated
@@ -625,7 +625,7 @@ option (LLVM_ENABLE_SPHINX "Use Sphinx to generate llvm documentation." OFF) | |||
option (LLVM_ENABLE_OCAMLDOC "Build OCaml bindings documentation." ON) | |||
option (LLVM_ENABLE_BINDINGS "Build bindings." ON) | |||
|
|||
if(UNIX) | |||
if(UNIX AND CMAKE_SIZEOF_VOID_P EQUAL 8) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe GREATER_EQUAL
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
ff2ba7b
to
3edf62e
Compare
@cachemeifyoucan, please run the CI and merge, I will submit for the other branches you asked for. |
Sure. Please make this clear earlier next time~ |
@swift-ci please test |
Sorry I forgot about this. Merged. |
This currently breaks when building the Swift toolchain for Android armv7, so I have it disabled there by default for the last couple months.
Instead, this pull should only enable it by default for commonly used 64-bit architectures, until someone gets it working for 32-bit architectures.
@cachemeifyoucan, please review whenever you get back from break.