[CMake] Workaround for PR24222: don't fail if we can't target COMPILER_RT_TEST_TARGET...
authorAlexey Samsonov <vonosmas@gmail.com>
Fri, 24 Jul 2015 22:01:07 +0000 (22:01 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Fri, 24 Jul 2015 22:01:07 +0000 (22:01 +0000)
commit398a3018931a3c0a548ed2f48a436ebed90c8f20
treef34fdc6fed4097e6ea06b160e1124e81b1ee8697
parentf0248a0e7da77578158684812de9784977299012
[CMake] Workaround for PR24222: don't fail if we can't target COMPILER_RT_TEST_TARGET_TRIPLE unless it was explicitly set.

Summary:
Although we assume that we can always target host triple, relax
this check to avoid failing at configure-time for cases when we are
not able to correctly infer/verify host triple for some reasons.

See http://llvm.org/bugs/show_bug.cgi?id=24222 for more details.

Reviewers: hans

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D11496

llvm-svn: 243170
compiler-rt/CMakeLists.txt
compiler-rt/cmake/config-ix.cmake