Testing Clang Builds: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
Here's a diff which I use to test Clang on OS X builders:
Here's a diff which I use to test Clang on OS X and Linux builders: http://pastebin.mozilla.org/1613363
 
diff --git a/browser/config/mozconfigs/macosx-universal/nightly b/browser/config/mozconfigs/macosx-universal/nightly
--- a/browser/config/mozconfigs/macosx-universal/nightly
+++ b/browser/config/mozconfigs/macosx-universal/nightly
@@ -1,8 +1,11 @@
+export CC=/tools/clang-3.0-r155417.moz0/bin/clang
+export CXX=/tools/clang-3.0-r155417.moz0/bin/clang++
+
  . $topsrcdir/build/macosx/universal/mozconfig
 
  # Universal builds override the default of browser (bug 575283 comment 29)
  ac_add_options --enable-application=browser
 
  ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
  ac_add_options --enable-update-packaging
  ac_add_options --enable-codesighs


The clang binary on Linux builders is in the same path.
The clang binary on Linux builders is in the same path.
Confirmed users
657

edits