Other platforms don't have the capability to perform llvm_codesign
step. If LLVM_CODESIGNING_IDENTITY is set then this chunk of code would
attempt to codesign if the target was Apple. But when cross compiling
to Darwin from Linux, for example, this step would fail. So test if the
host is Apple as well.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 35307 Build 35306: arc lint + arc unit
Event Timeline
Comment Actions
Was this tested? I am not getting APPLE here:
$ uname -s Darwin
https://cmake.org/cmake/help/v3.4/variable/CMAKE_HOST_SYSTEM_NAME.html says:
On systems that have the uname command, this variable is set to the output of uname -s. Linux, Windows, and Darwin for Mac OS X are the values found on the big three operating systems.
What motivated the decision against CMAKE_HOST_APPLE?
https://cmake.org/cmake/help/v3.4/variable/CMAKE_HOST_APPLE.html