[zorg] r197519 - Use CMake support for -Werror and -std=c++11 in the LLD builder
David Blaikie
dblaikie at gmail.com
Tue Dec 17 11:48:03 PST 2013
Author: dblaikie
Date: Tue Dec 17 13:48:03 2013
New Revision: 197519
URL: http://llvm.org/viewvc/llvm-project?rev=197519&view=rev
Log:
Use CMake support for -Werror and -std=c++11 in the LLD builder
Based on a patch by Mikael Lyngvig.
Modified:
zorg/trunk/zorg/buildbot/builders/LLDBuilder.py
Modified: zorg/trunk/zorg/buildbot/builders/LLDBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/LLDBuilder.py?rev=197519&r1=197518&r2=197519&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/LLDBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/LLDBuilder.py Tue Dec 17 13:48:03 2013
@@ -60,7 +60,8 @@ def getLLDBuildFactory(
cmakeCommand = [
"cmake",
"-DCMAKE_BUILD_TYPE=Release",
- "-DCMAKE_CXX_FLAGS=\"-Wall -Werror -std=c++11 -stdlib=libc++ -U__STRICT_ANSI__\"",
+ "-DLLVM_ENABLE_CXX11=ON",
+ "-DLLVM_ENABLE_WERROR=ON",
"../%s" % llvm_srcdir]
# Note: ShellCommand does not pass the params with special symbols right.
# The " ".join is a workaround for this bug.
@@ -174,4 +175,4 @@ def getLLDWinBuildFactory(
# description=["test lld"],
# workdir=llvm_objdir))
- return f
\ No newline at end of file
+ return f
More information about the llvm-commits
mailing list