[PATCH] D12174: [CMake] Fix building unit tests on Darwin

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 16:04:58 PDT 2015


beanz created this revision.
beanz added reviewers: bogner, filcab, kubabrecka.
beanz added a subscriber: llvm-commits.

There are a number of issues with unit tests on Darwin. These patches address the following:
* Unit tests should be passed -arch (-m32/-m64 isn't sufficient)
* Unit tests should be passed ${DARWIN_osx_CFLAGS} because they're being built for OS X
* Test architectures should be filtered based on base system capabilities (i.e. don't try running x86_64h tests on pre-haswell hardware).

http://reviews.llvm.org/D12174

Files:
  cmake/Modules/CompilerRTDarwinUtils.cmake
  lib/asan/tests/CMakeLists.txt
  lib/sanitizer_common/tests/CMakeLists.txt
  test/asan/CMakeLists.txt
  test/sanitizer_common/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12174.32632.patch
Type: text/x-patch
Size: 5523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150819/53f13909/attachment.bin>


More information about the llvm-commits mailing list