Bug 1314678 - Don't perform clang plugin checks in artifact builds. r=mshal
authorChris Manchester <cmanchester@mozilla.com>
Tue, 07 Mar 2017 10:21:33 -0800
changeset 346337 40bf14322955cc7427c21f87fd0408fd1e9d5622
parent 346336 3b808edbbf3efef96fde54f0388aa087468bed09
child 346338 ebe143b04b5bcf7041037d45ad96d3577fe9f1c5
push id38471
push usercmanchester@mozilla.com
push dateTue, 07 Mar 2017 18:25:48 +0000
treeherderautoland@ebe143b04b5b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs1314678
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1314678 - Don't perform clang plugin checks in artifact builds. r=mshal Until we have the ability to properly make these flags conditional in moz.configure, do not perform these checks. MozReview-Commit-ID: CexvgiadIw0
js/src/old-configure.in
old-configure.in
--- a/js/src/old-configure.in
+++ b/js/src/old-configure.in
@@ -1730,17 +1730,19 @@ MOZ_ARG_ENABLE_BOOL(oom-breakpoint,
 if test -n "$JS_OOM_BREAKPOINT"; then
     AC_DEFINE(JS_OOM_BREAKPOINT)
 fi
 
 dnl ========================================================
 dnl = Enable using the clang plugin to build
 dnl ========================================================
 
+if test -n "$COMPILE_ENVIRONMENT"; then
 MOZ_CONFIG_CLANG_PLUGIN
+fi # COMPILE_ENVIRONMENT
 
 dnl ========================================================
 dnl = Enable static checking using sixgill
 dnl ========================================================
 
 MOZ_ARG_WITH_STRING(sixgill,
 [  --with-sixgill=path/to/sixgill
                           Enable static checking of code using sixgill],
--- a/old-configure.in
+++ b/old-configure.in
@@ -4275,17 +4275,19 @@ fi
 
 AC_SUBST_LIST(MOZ_GLUE_WRAP_LDFLAGS)
 export MOZ_GLUE_WRAP_LDFLAGS
 
 dnl ========================================================
 dnl = Enable using the clang plugin to build
 dnl ========================================================
 
+if test -n "$COMPILE_ENVIRONMENT"; then
 MOZ_CONFIG_CLANG_PLUGIN
+fi # COMPILE_ENVIRONMENT
 
 dnl ========================================================
 dnl = Enable stripping of libs & executables
 dnl ========================================================
 MOZ_ARG_ENABLE_BOOL(strip,
 [  --enable-strip          Enable stripping of libs & executables ],
     ENABLE_STRIP=1,
     ENABLE_STRIP= )