[PATCH] D25157: [compiler-rt] [cmake] Respect COMPILER_RT_BUILD_* for libs, headers and tests

Jonathan Roelofs via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 28 16:58:02 PDT 2017


jroelofs added inline comments.


================
Comment at: test/sanitizer_common/CMakeLists.txt:7
 set(SUPPORTED_TOOLS)
-if(CMAKE_SYSTEM_NAME MATCHES "Darwin|Linux|FreeBSD" AND NOT ANDROID)
+if(CMAKE_SYSTEM_NAME MATCHES "Darwin|Linux|FreeBSD" AND NOT ANDROID AND
+   COMPILER_RT_HAS_ASAN)
----------------
Are the `CMAKE_SYSTEM_NAME_MATCHES` guards here necessary any more, now that the checks are happening in config-ix.cmake?


https://reviews.llvm.org/D25157





More information about the cfe-commits mailing list