[PATCH] [compiler-rt] Port add_sanitizer_rt_symbols to CMake 3.0

Brad King brad.king at kitware.com
Fri Feb 28 13:19:31 PST 2014


Hi Folks,

I tested building compiler-rt with the upcoming CMake 3.0 release and
encountered warnings related to a new policy CMake 3.0 introduces.
Here is a pair of (ordered) patches to make it configure and build
cleanly both with CMake 3.0 and with CMake 2.8.x versions.

The first patch fixes an existing problem (for any CMake version)
with multi-configuration CMake generators like the VS IDE and Xcode.
The second patch addresses the CMake 3.0 warning and also simplifies
the fix in the first patch when using CMake 3.0 by taking advantage
of a new feature.

Please see the commit message in each patch for full details.

Thanks,
-Brad

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-add_sanitizer_rt_symbols-on-multi-config-CMake-g.patch
Type: text/x-diff
Size: 2472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140228/cc15fb47/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Port-add_sanitizer_rt_symbols-to-CMake-3.0.patch
Type: text/x-diff
Size: 2834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140228/cc15fb47/attachment-0001.patch>


More information about the llvm-commits mailing list