[zorg] Build.py fix for building Clang Stage 2: cmake, R -g Asan+Ubsan, using Stage 1 RA

Marc Schifer via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 19 17:23:41 PST 2016


Chris, 
 Please review.

This patch fixes the Clang Stage 2: cmake, R -g Asan+Ubsan, using Stage 1 RA bot.

Stage 1 was not generating the compile-rt libclang_rt.asan_osx_dynamic.dylib and was not building with correct cmake cache file.  This patch changes two lines in the clang builder function to add
+            '-DCLANG_COMPILER_RT_CMAKE_ARGS={}/llvm/projects/compiler-rt/cmake/caches/Apple.cmake'.format(conf.workspace),
+            '-DCOMPILER_RT_BUILD_SANITIZERS=On',

Tests included in patch.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160219/c2093ef4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stage2_asan_build_py.patch
Type: application/octet-stream
Size: 1364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160219/c2093ef4/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160219/c2093ef4/attachment-0001.html>


More information about the llvm-commits mailing list