Commit Graph

393 Commits

Author SHA1 Message Date
Ehsan Akhgari
d9c7b7c290 Bug 1021378 follow-up: take up my debugging stuff, and typos 2014-06-09 10:59:36 -04:00
Ehsan Akhgari
fde35aa8b8 Bug 1021378 - Add support for clang-cl to the build system; r=glandium
This patch does two things: 1. Treat clang on Windows explicitly as MSVC. There
are some places in our build system where we try to detect clang by looking at
the output of $(CC) -v, and that will cause us to believe that we are using
clang, which is not helpful.  This patch defines the CLANG_CL variable when it
detects clang being used on Windows.  It also masquarades clang-cl as MSVC
2012, which is how the compiler introduces itself through the _MSC_VER
predefined variable.

2. Disable a bunch of things which currently are not supported on clang-cl.  As
we proceed with this port, hopefully we'll be able to remove everything in this
list, but this will get us closer to be able to build with clang-cl.

With this patch and clang-cl trunk, we can get past the configure stage of the
build.

--HG--
extra : rebase_source : e5b8d77e4571c936820cec858953d58b6f31e0d5
2014-06-07 10:27:43 -04:00
Mike Hommey
664dfbd8c6 Bug 1014976 - Don't define _DEBUG on Windows debug builds, it's implied by -MDd/-MTd, and breaks builds with -MD/-MT. r=bsmedberg 2014-05-30 09:39:53 +09:00
Mike Hommey
2cf6cf6466 Bug 1014976 - Make MOZ_NO_DEBUG_RTL builds actually disable the MSVC debug CRT everywhere. r=bsmedberg 2014-05-30 09:39:44 +09:00
Mike Hommey
c678026e4b Bug 1014976 - Don't make --enable-debug imply using the debug CRT in FFI. r=ryanvm 2014-05-30 09:39:19 +09:00
Mike Hommey
bc68e46dd9 Bug 1014976 - Slightly clean up ICU setup for windows debug builds. r=mshal 2014-05-30 09:37:24 +09:00
Jim Chen
a1d02e6a5e Bug 1013478 - Use GCC 4.8 on Android if available. r=glandium 2014-05-22 10:44:00 +02:00
Mike Hommey
941abd37a4 Bug 1011797 - Add GNU/kFreeBSD to the list of ECMAScript i18n API supported platforms. r=mshal 2014-05-20 08:47:44 +09:00
Mike Hommey
5ae66d3968 Bug 1007931 - Replace backslashes with forward slashes in compiler wrapper on windows. r=mshal 2014-05-15 07:14:36 +09:00
Ryan VanderMeulen
9eebde7ec1 Bug 810631 - Update libffi to version 3.1. r=jorendorff, r=glandium 2014-05-13 14:51:01 -04:00
Mike Hommey
9dcd156a38 Bug 1003537 - Turn config.status executable in MOZ_CREATE_CONFIG_STATUS instead of MOZ_RUN_CONFIG_STATUS. r=mshal 2014-05-01 10:57:49 +09:00
Henri Sivonen
18ea4c48d4 Bug 1002437 - Build ICU with U_CHARSET_IS_UTF8. r=glandium. 2014-04-30 10:42:59 +03:00
Henri Sivonen
f7f68269f9 Bug 1002435 - Build ICU with UCONFIG_NO_IDNA. r=glandium. 2014-04-30 10:41:48 +03:00
Nick Alexander
5c164c923e Bug 960640 - Make finding Android build-tools future-proof. r=glandium
This lists the directories in build-tools/*, sorts them by
version (favouring new-style 'android-*' directories), and then takes
the newest version in which aapt exists.
2014-04-17 12:07:26 -07:00
Brad Lassey
34443c56ed bug 979438 - Unify android target SDK versions, follow up to address nits r=nalexander
--HG--
extra : rebase_source : 841e8eece32e10d6d2c3443d5bcbf7ac935dd157
2014-03-28 19:47:32 -04:00
Brad Lassey
eade3f50ca bug 979438 - Unify android target SDK versions r=nalexander
--HG--
rename : embedding/android/geckoview_example/AndroidManifest.xml => embedding/android/geckoview_example/AndroidManifest.xml.in
rename : mobile/android/geckoview_library/AndroidManifest.xml => mobile/android/geckoview_library/AndroidManifest.xml.in
rename : mobile/android/geckoview_library/project.properties => mobile/android/geckoview_library/project.properties.in
2014-03-25 23:27:16 -04:00
Mike Hommey
6e01527c92 Bug 985835 - Move MOZ_DEBUG_FLAGS declaration for MSVC next to the one for GCC. r=mshal 2014-03-26 08:12:12 +09:00
Ehsan Akhgari
020f3fd4d8 Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Andrew McCreight
bbb48270a5 Bug 981920 - ASAN builds should use -fno-omit-frame-pointer by default. r=glandium 2014-03-18 14:25:40 -07:00
Jim Chen
40b81f6874 Bug 983730 - Support Android SDK build tools v19.0.3. r=mshal 2014-03-15 17:20:06 -04:00
Steve Fink
53bf680602 Backed out changeset 7cff27cb2845 (bug 975011), for breaking just about everything not on tbpl
--HG--
extra : rebase_source : 740fc0d5cd27b0cc7d06ce9f9c2f848c9d071b20
2014-03-11 09:53:58 -07:00
Trevor Saunders
ebd5906b4c bug 933189 - teach android.m4 about build tools v 19.0.2 r=mshal 2014-02-26 14:50:53 -05:00
Steve Fink
25655217d2 Bug 975011 - add an option to configure and build NSPR from within js/src build. r=glandium 2014-02-25 14:15:16 -08:00
Ulrich Weigand
4a17320401 Bug 976648 - Toplevel build/config for powerpc64le-linux support. r=bsmedberg, r=blassey 2014-03-05 12:04:44 -05:00
Ehsan Akhgari
993937b946 Bug 978784 - Stop exporting ICU symbols from xul.dll; r=glandium
--HG--
extra : rebase_source : a8e3f2d93738e03f82f30eddb522e0ae7f19c030
2014-03-04 10:42:54 -05:00
Phil Ringnalda
c2c338a253 Back out 47afb5f53400 (bug 978784) because it's still busted with a clobber
CLOSED TREE
2014-03-03 21:26:19 -08:00
Ehsan Akhgari
3e9d3c59e3 Bug 978784 - Stop exporting ICU symbols from xul.dll; r=glandium 2014-03-03 22:38:55 -05:00
Phil Ringnalda
0ec28b60d9 Back out c75ce018e5db (bug 978784) for Windows build bustage
CLOSED TREE
2014-03-03 20:14:48 -08:00
Ehsan Akhgari
d76d14db06 Bug 978784 - Stop exporting ICU symbols from xul.dll; r=glandium 2014-03-03 22:38:55 -05:00
Landry Breuil
80b322e2cd Bug 973310 - Accomodate for OpenBSD's m4 greedyness with patsub's regexp after bug 967556 r=glandium 2014-02-25 07:44:21 +01:00
Mike Shal
9200dec47d Bug 974205 - Use --with-compiler-wrapper when enabling sccache. r=glandium 2014-02-25 15:41:57 +09:00
Jan Beich
70b18ccce8 Bug 968798 - Don't let CPPFLAGS use system ICU headers when building internal ICU. r=glandium 2014-02-18 08:59:34 -05:00
Mike Hommey
fb4e9ba3f6 Followup for bug 967556 - Force AC_CHECK_FUNC to use a different cache. r=bustage on a CLOSED TREE 2014-02-14 11:34:12 +09:00
Mike Hommey
15bf118a2d Bug 967556 - Divert AC_CHECK_FUNC so that the #includes it uses can't interfere with the function it tests. r=gps 2014-02-14 08:15:02 +09:00
Mike Hommey
1ef6794bf3 Bug 971586 - Make $topsrcdir absolute when executing mozconfig2configure. r=gps 2014-02-13 10:06:43 +09:00
Jan Beich
c3f8071bdf Bug 968819 - Make HOST_OS_ARCH on BSDs take same values as OS_ARCH. r=glandium 2014-02-12 10:24:21 -05:00
Mike Hommey
69e70086e0 Bug 969164 - Traverse js/src moz.builds from top-level configure. r=gps
Before, we would run configure in both top-level and js/src, and both
configures would traverse their own set of moz.builds, without actual
knowledge about the other. With this change, both configures still run,
but only top-level traverses moz.build files, and uses js/src's
config.status when traversing its moz.build files. This allows a better
sharing of information between both build systems and the removal of many
hacks.

This also moves running libffi and icu configure to top-level.

Standalone js builds still have their own configure doing moz.build traversal,
as before.

--HG--
rename : config/autoconf.mk.in => config/autoconf-js.mk.in
rename : config/emptyvars.mk.in => config/emptyvars-js.mk.in
2014-02-11 10:37:47 +09:00
Mike Hommey
1f82304637 Bug 969164 - Create subconfigure directory in the AC_OUTPUT_SUBDIRS wrapper. r=gps
We happen to be lucky currently because e.g. build is created by config.status
before we subconfigure in build/clang-plugin. But further changes break that
luck.
2014-02-11 10:37:47 +09:00
Mike Hommey
ad87fd4cea Bug 969164 - Move icu subconfigure invocation in build/autoconf/icu.m4. r=gps 2014-02-11 10:37:47 +09:00
Mike Hommey
636aa1fc65 Bug 969164 - Move libffi subconfigure invocation in build/autoconf/ffi.m4. r=gps 2014-02-11 10:37:47 +09:00
Mike Hommey
246b498c52 Bug 968561 - Move ffi detection from configure.in and js/src/configure.in into build/autoconf/ffi.m4. r=gps 2014-02-11 10:37:47 +09:00
Mike Hommey
740c20d702 Bug 946687 - Move ICU detection from configure.in and js/src/configure.in into build/autoconf/icu.m4. r=gps 2014-02-11 10:37:47 +09:00
Mike Hommey
80e79be833 Bug 462427 - Stop requiring CROSS_COMPILE being set. r=ted 2014-02-11 10:37:46 +09:00
Wes Johnston
f244dbda1d Bug 962764 - Support Android 4.4 sdk. r=blassey,gps 2014-01-27 14:59:25 -08:00
Mike Hommey
f1b8e56572 Bug 962758 - Avoid build failures when js/src/configure.in changes in a way that doesn't change config.status. r=gps 2014-01-24 07:57:54 +09:00
Mike Hommey
57508a1ca7 Bug 951010 - Move ConfigStatus.py under mozbuild. r=gps
--HG--
rename : build/ConfigStatus.py => python/mozbuild/mozbuild/config_status.py
2013-12-18 08:07:11 +09:00
Mike Hommey
1ec6ef2520 Bug 950261 - Fix ARM_ARCH computation with newer NDK. r=ted 2013-12-18 08:07:11 +09:00
James Gilbertson
7219ddd9c8 Bug 949314 - Use shell expansion instead of a relative path to get the path for ANDROID_SDK_ROOT. r=glandium
--HG--
extra : rebase_source : 0e8f1881be639678eb80915cfb70aa08a68a7a13
2013-12-17 10:59:04 -05:00
Mike Hommey
ef13decc2d Bug 950290 - Move python scripts from build/autoconf into a mozbuild submodule. r=gps
--HG--
rename : build/autoconf/check_debug_ranges.py => python/mozbuild/mozbuild/configure/check_debug_ranges.py
rename : build/autoconf/libstdcxx.py => python/mozbuild/mozbuild/configure/libstdcxx.py
2013-12-17 11:13:08 +09:00
Mike Hommey
e8121110ea Bug 950027 - Remove build/autoconf/match-dir.sh. r=gps 2013-12-17 11:12:51 +09:00