Depends on D90792.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| compiler-rt/CMakeLists.txt | ||
|---|---|---|
| 280 | I thought this was causing cmake error | |
Do you know why it was broken?
Is that because of undefined ANDROID_API_LEVEL?
if so if(ANDROID AND  should be enough.
Is there any other reason to run CHECK_CXX_SOURCE_COMPILES? it's should be slower than REGEX MATCH.
Nice, it's on our bot. I'll figure that out myself.
Is there any other reason to run CHECK_CXX_SOURCE_COMPILES? it's should be slower than REGEX MATCH.
This Q is still open.
Wouldn't it still become if (ANDROID AND <empty> GREATER_EQUAL 28), which is still malformed?
How about we just set ANDROID_API_LEVEL to -1 for the non-android case?
(Disclaimer: not an expert in cmake)
Is there any other reason to run CHECK_CXX_SOURCE_COMPILES? it's should be slower than REGEX MATCH.
No. I was just trying to avoid the cmake error.
| compiler-rt/CMakeLists.txt | ||
|---|---|---|
| 280 | 
 undef is going to be empty string so it's not a number | |
I thought this was causing cmake error
http://lab.llvm.org:8011/#/builders/99/builds/447