Use stricter comparisons for architecture. This prevents cmake from failing
for sysroots which can only compile armhf and not arm, since
arm MATCHES armhf is true, while arm STREQUAL armhf is false.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Yes. So in that case, it will still fail to find and build for the armv7 arch, as before, the cmake run will just not fail. Given that this check is for when the architecture is explicitly specified by the user, if one wanted to ensure matching with arm, they could provide arm instead of armv7 on the cmake command line.