[PATCH] D61242: [CMake] Fix the value of `config.target_cflags` for non-macOS Apple platforms. Attempt #2.

Dan Liew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 21 12:48:48 PDT 2019


delcypher added a comment.

@hans @thakis Commenting out `find_darwin_sdk_dir(DARWIN_iossim_SYSROOT iphonesimulator)` was enough for me to reproduce the issue. There's a bug in some existing CMake code I wrote. The code for UBSan test code assumes that if `COMPILER_RT_ENABLE_IOS` is true that the toolchain can build for iOS and the iOS simulator. This isn't true if one or more of the SDKs are missing. I've written a fix for this and I'll submit a patch for review soon.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61242/new/

https://reviews.llvm.org/D61242





More information about the llvm-commits mailing list