Bug 1321444 - part 1 - add win32 and win64 clang mozconfigs; r=mshal
authorNathan Froyd <froydnj@mozilla.com>
Fri, 02 Dec 2016 12:18:24 -0500
changeset 325124 31df891218346024104dccc83ee4ead81a1b756c
parent 325123 a7ab3fbb933fb1ea7a0f6d5809a663d8242fab9b
child 325125 13a8f7ddf7f45fb3e177ad7b726f7b200bf0ea5a
push id84604
push usernfroyd@mozilla.com
push dateFri, 02 Dec 2016 22:18:31 +0000
treeherdermozilla-inbound@ba62b4bebebf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs1321444
milestone53.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 1321444 - part 1 - add win32 and win64 clang mozconfigs; r=mshal These are all based off of the win32 debug-static-analysis config. I chose to use separate configs because the debug-static-analysis config is currently being used for other purposes. We'll need to consolidate after clang-cl and windows static analysis builds are running on automation.
browser/config/mozconfigs/win32/clang
browser/config/mozconfigs/win32/clang-debug
browser/config/mozconfigs/win64/clang
browser/config/mozconfigs/win64/clang-debug
new file mode 100644
--- /dev/null
+++ b/browser/config/mozconfigs/win32/clang
@@ -0,0 +1,19 @@
+MOZ_AUTOMATION_BUILD_SYMBOLS=0
+MOZ_AUTOMATION_PACKAGE_TESTS=0
+MOZ_AUTOMATION_L10N_CHECK=0
+
+. "$topsrcdir/build/mozconfig.win-common"
+. "$topsrcdir/browser/config/mozconfigs/common"
+
+ac_add_options --enable-optimize
+
+#Work to make the clang-plugin work on Windows is ongoing in bug 1316545.
+#ac_add_options --enable-clang-plugin
+
+. $topsrcdir/build/win32/mozconfig.vs-latest
+
+. "$topsrcdir/build/mozconfig.rust"
+
+. "$topsrcdir/build/mozconfig.common.override"
+. "$topsrcdir/build/mozconfig.cache"
+. "$topsrcdir/build/mozconfig.clang-cl"
new file mode 100644
--- /dev/null
+++ b/browser/config/mozconfigs/win32/clang-debug
@@ -0,0 +1,20 @@
+MOZ_AUTOMATION_BUILD_SYMBOLS=0
+MOZ_AUTOMATION_PACKAGE_TESTS=0
+MOZ_AUTOMATION_L10N_CHECK=0
+
+. "$topsrcdir/build/mozconfig.win-common"
+. "$topsrcdir/browser/config/mozconfigs/common"
+
+ac_add_options --enable-optimize
+ac_add_options --enable-debug
+
+#Work to make the clang-plugin work on Windows is ongoing in bug 1316545.
+#ac_add_options --enable-clang-plugin
+
+. $topsrcdir/build/win32/mozconfig.vs-latest
+
+. "$topsrcdir/build/mozconfig.rust"
+
+. "$topsrcdir/build/mozconfig.common.override"
+. "$topsrcdir/build/mozconfig.cache"
+. "$topsrcdir/build/mozconfig.clang-cl"
new file mode 100644
--- /dev/null
+++ b/browser/config/mozconfigs/win64/clang
@@ -0,0 +1,21 @@
+MOZ_AUTOMATION_L10N_CHECK=0
+MOZ_AUTOMATION_PACKAGE_TEST=0
+
+. "$topsrcdir/build/mozconfig.win-common"
+. "$topsrcdir/browser/config/mozconfigs/common"
+
+ac_add_options --target=x86_64-pc-mingw32
+ac_add_options --host=x86_64-pc-mingw32
+
+ac_add_options --enable-optimize
+
+#Work to make the clang-plugin work on Windows is ongoing in bug 1316545.
+#ac_add_options --enable-clang-plugin
+
+. $topsrcdir/build/win64/mozconfig.vs-latest
+
+. "$topsrcdir/build/mozconfig.rust"
+
+. "$topsrcdir/build/mozconfig.common.override"
+. "$topsrcdir/build/mozconfig.cache"
+. "$topsrcdir/build/mozconfig.clang-cl"
new file mode 100644
--- /dev/null
+++ b/browser/config/mozconfigs/win64/clang-debug
@@ -0,0 +1,22 @@
+MOZ_AUTOMATION_L10N_CHECK=0
+MOZ_AUTOMATION_PACKAGE_TEST=0
+
+. "$topsrcdir/build/mozconfig.win-common"
+. "$topsrcdir/browser/config/mozconfigs/common"
+
+ac_add_options --target=x86_64-pc-mingw32
+ac_add_options --host=x86_64-pc-mingw32
+
+ac_add_options --enable-optimize
+ac_add_options --enable-debug
+
+#Work to make the clang-plugin work on Windows is ongoing in bug 1316545.
+#ac_add_options --enable-clang-plugin
+
+. $topsrcdir/build/win64/mozconfig.vs-latest
+
+. "$topsrcdir/build/mozconfig.rust"
+
+. "$topsrcdir/build/mozconfig.common.override"
+. "$topsrcdir/build/mozconfig.cache"
+. "$topsrcdir/build/mozconfig.clang-cl"