[zorg] r325096 - Added workaround for the gcc bug 80916.
Galina Kistanova via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 13 18:31:24 PST 2018
Author: gkistanova
Date: Tue Feb 13 18:31:24 2018
New Revision: 325096
URL: http://llvm.org/viewvc/llvm-project?rev=325096&view=rev
Log:
Added workaround for the gcc bug 80916.
Modified:
zorg/trunk/buildbot/osuosl/master/config/builders.py
Modified: zorg/trunk/buildbot/osuosl/master/config/builders.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/osuosl/master/config/builders.py?rev=325096&r1=325095&r2=325096&view=diff
==============================================================================
--- zorg/trunk/buildbot/osuosl/master/config/builders.py (original)
+++ zorg/trunk/buildbot/osuosl/master/config/builders.py Tue Feb 13 18:31:24 2018
@@ -621,8 +621,9 @@ def _get_clang_builders():
"-DLLVM_ENABLE_WERROR=ON",
"-DCMAKE_C_COMPILER=gcc-7.1",
"-DCMAKE_CXX_COMPILER=g++-7.1",
- # We build with c++11, no need in c++17 warnings.
- "-DCMAKE_CXX_FLAGS=-Wno-noexcept-type",
+ # We build with c++11, no need in c++17 warnings
+ # + workaround for gcc bug - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80916.
+ "-DCMAKE_CXX_FLAGS='-Wno-noexcept-type -O1'",
# We want the given CXXFLAGS be used for the tablegen as well.
"-DLLVM_OPTIMIZED_TABLEGEN=OFF",
"-DBUILD_SHARED_LIBS=ON",
More information about the llvm-commits
mailing list