[builtins] Build for arm64e for Darwin
authorShoaib Meenai <smeenai@fb.com>
Thu, 12 Mar 2020 02:58:15 +0000 (19:58 -0700)
committerShoaib Meenai <smeenai@fb.com>
Thu, 12 Mar 2020 05:01:44 +0000 (22:01 -0700)
commitf481256bfe0eae891aaa25f401837f4b2360461b
treef45e853fd3e01bcf106a9aa60b08a459ff39a635
parent5161194fad8cdd0b496c63c410855290c5e5190b
[builtins] Build for arm64e for Darwin

https://github.com/apple/swift/pull/30112/ makes the Swift standard
library for iOS build for arm64e. If you're building Swift against your
own LLVM, this in turn requires having the builtins built for arm64e,
otherwise you won't be able to use the builtins (which will in turn lead
to an undefined symbol for `__isOSVersionAtLeast`). Make the builtins
build for arm64e to fix this.

Differential Revision: https://reviews.llvm.org/D76041
compiler-rt/cmake/builtin-config-ix.cmake
compiler-rt/lib/builtins/CMakeLists.txt