[compiler-rt] r282025 - [CMake] Fix error preventing simulator sanitizers from building
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 20 14:36:33 PDT 2016
Author: cbieneman
Date: Tue Sep 20 16:36:33 2016
New Revision: 282025
URL: http://llvm.org/viewvc/llvm-project?rev=282025&view=rev
Log:
[CMake] Fix error preventing simulator sanitizers from building
This should be checking for sim archs not target archs. This bug has
been around for a long time.
Modified:
compiler-rt/trunk/cmake/config-ix.cmake
Modified: compiler-rt/trunk/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/config-ix.cmake?rev=282025&r1=282024&r2=282025&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/config-ix.cmake (original)
+++ compiler-rt/trunk/cmake/config-ix.cmake Tue Sep 20 16:36:33 2016
@@ -277,7 +277,7 @@ if(APPLE)
DARWIN_${platform}sim_ARCHS
${toolchain_arches})
message(STATUS "${platform} Simulator supported arches: ${DARWIN_${platform}sim_ARCHS}")
- if(DARWIN_${platform}_ARCHS)
+ if(DARWIN_${platform}sim_ARCHS)
list(APPEND SANITIZER_COMMON_SUPPORTED_OS ${platform}sim)
list(APPEND PROFILE_SUPPORTED_OS ${platform}sim)
if(DARWIN_${platform}_SYSROOT_INTERNAL)
More information about the llvm-commits
mailing list