Ying Wang
a69e59623b
am 478eda53
: Merge "FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT."
...
* commit '478eda5365f866c830f957d6bd1aba3854d55bcc':
FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.
2014-11-07 00:58:32 +00:00
Ying Wang
e5d4e74f9f
FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.
...
Because we don't have 32-bit prebuilt libLLVM/libclang.
Change-Id: I86dac33e9bcbcb3d197f7d1e4c9d33bd4e7c473e
2014-11-06 14:11:33 -08:00
Stephen Hines
f1c5dd60b2
am 35e4ede5
: Merge "Use automatic color option with the latest clang."
...
* commit '35e4ede5974053d05ae0f8791e60ba77a31907b3':
Use automatic color option with the latest clang.
2014-11-04 17:44:44 +00:00
Stephen Hines
c141b85ef1
Use automatic color option with the latest clang.
...
Bug: 18187181
Now that I checked in the latest prebuilts, clang will automatically use
color on terminals and no color on redirection to files or non-terminals.
Change-Id: I9be00c44947946cc18ce59c936b7f45d0ce2b6fc
2014-11-03 23:42:10 -08:00
Ying Wang
7f18adc240
am 871b8df1
: Merge "Add -fcolor-diagnostics to global clang cflags."
...
* commit '871b8df128b144f39d40889e463722a032c4d246':
Add -fcolor-diagnostics to global clang cflags.
2014-10-30 23:43:02 +00:00
Ying Wang
c7d1a973b0
Add -fcolor-diagnostics to global clang cflags.
...
Bug: 18187181
Change-Id: Ifcbe34b685b1dfd7ffc801bcdad7bd8208e45f86
2014-10-30 12:22:29 -07:00
Ian Rogers
508e27bfd7
am 93cb8c7d
: Merge "Specify -mcpu=krait for clang."
...
* commit '93cb8c7d951b89eeb1e3cee2433bffecc13fdb11':
Specify -mcpu=krait for clang.
2014-10-29 12:32:37 +00:00
Ian Rogers
e270873407
Specify -mcpu=krait for clang.
...
Change-Id: I64682cddf57246341c1727ca16c56f7ce0c6fd0a
2014-10-28 15:50:02 -07:00
Chih-Hung Hsieh
736a146c3c
am 717ebfc1
: Merge "Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS."
...
* commit '717ebfc13182202ab38e17c0cd008924e9e5c4e9':
Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS.
2014-10-28 04:48:54 +00:00
Chih-Hung Hsieh
54fd82d111
am 660f3c9a
: Merge "Set default to Clang integrated assembler."
...
* commit '660f3c9ae9cb99f428fb62fb6a1256679eb9f138':
Set default to Clang integrated assembler.
2014-10-24 13:02:00 +00:00
Chih-Hung Hsieh
22b6c5c2c1
Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS.
...
BUG: 18108271
Change-Id: Id929cad31340d2946027603c1c8c8fb1cb60f66a
2014-10-23 16:39:09 -07:00
Chih-Hung Hsieh
57c8a15edd
Set default to Clang integrated assembler.
...
BUG: 17820427
Change-Id: I10a6ddd94aad083665164d7939990e148b3b6efb
2014-10-22 09:21:53 -07:00
Bill Yi
13466f0f79
Merge commit '66b3e31936b99436e01c473dca492126eea3e336' into HEAD
2014-10-22 08:45:57 -07:00
Ying Wang
18cd02257d
Merge "Add -Wno-unused-command-line-argument to clang cflags to enable ccache."
2014-10-21 19:19:16 +00:00
Ying Wang
24e03369cf
Add -Wno-unused-command-line-argument to clang cflags to enable ccache.
...
Previously ccache is disabled when it fails calling clang's preprocessor with
unused arguments (such as '-Wa,--noexecstack') in the command line.
See http://petereisentraut.blogspot.com/2011/05/ccache-and-clang.html .
(-Qunused-arguments suppresses more than
-Wno-unused-command-line-argument does.)
Change-Id: I6cde307632c8395c053eb28063d7844d93070562
2014-10-20 17:21:16 -07:00
Dan Albert
96983cba42
am cc0aa4da
: am 28c265dd
: Merge "We also need -rdynamic for host ASAN."
...
* commit 'cc0aa4dabd4bae2b17bc9de8f88e04e862d030b2':
We also need -rdynamic for host ASAN.
2014-10-20 22:42:11 +00:00
Dan Albert
4ffe3f5b9f
We also need -rdynamic for host ASAN.
...
Change-Id: Iee33ca85c25d9bf126be8318a3b837074ab10076
2014-10-20 13:54:27 -07:00
Dan Albert
66acb2a8ae
resolved conflicts for merge of 96c22133
to lmp-dev-plus-aosp
...
Change-Id: I35a2f403e9e664536b45b5ac9185adf1e1a02442
2014-10-20 13:37:18 -07:00
Dan Albert
2daceaa83c
Add support for ASAN in host modules.
...
Change-Id: Id9ed83499e0eb995f06e845c3153a50677d768b8
2014-10-20 11:37:18 -07:00
Chih-Hung Hsieh
25756c1422
am 8913e282
: am 29373be8
: Merge "Add -fPIC as default Clang mips ASFLAGS."
...
* commit '8913e28295a9f93121fa60f74a6ff39eadd2e86d':
Add -fPIC as default Clang mips ASFLAGS.
2014-10-09 17:24:37 +00:00
Chih-Hung Hsieh
ce6300a5db
Add -fPIC as default Clang mips ASFLAGS.
...
For mips target, gcc passes -KPIC to assembler by default,
but clang passes -KPIC only if -fPIC or -fpic is given.
BUG: 17895505
Change-Id: I7803adaf8ad7b40c6473872b67f4e0b4c502b38a
2014-10-08 15:41:29 -07:00
Stephen Hines
532376db67
am 56f688bc
: Merge "Switch TBLGEN-related executables to use "BUILD_" instead of "HOST_"." into lmp-dev
...
* commit '56f688bce5f3229f065a94446d049bc3a055b92b':
Switch TBLGEN-related executables to use "BUILD_" instead of "HOST_".
2014-10-01 23:01:29 +00:00
Stephen Hines
b34b7aeb31
Switch TBLGEN-related executables to use "BUILD_" instead of "HOST_".
...
Bug: 14416410
Change-Id: Ife2d7329795f229adcddc5c57b20aa96c56387c0
2014-09-30 02:37:20 -07:00
Stephen Hines
7a5d35b22a
am 145eddfd
: am 670018fd
: Merge "Remove unnecessary CLANG_CONFIG_EXTRA_*_C_INCLUDES variables."
...
* commit '145eddfd229b118fadd4f4f255dbecc1a79b5e2b':
Remove unnecessary CLANG_CONFIG_EXTRA_*_C_INCLUDES variables.
2014-09-26 19:53:06 +00:00
Stephen Hines
03b61bea0d
am 3041b7d1
: am 3cf20570
: Merge "Use new variable LLVM_PREBUILTS_VERSION to simplify path construction."
...
* commit '3041b7d1f4f457082f8de50bba31adb479731d36':
Use new variable LLVM_PREBUILTS_VERSION to simplify path construction.
2014-09-26 19:53:05 +00:00
Stephen Hines
f00896663e
Remove unnecessary CLANG_CONFIG_EXTRA_*_C_INCLUDES variables.
...
These aren't needed now that we only use the compiler/headers that exist in
the prebuilts/clang directory.
Change-Id: I9978efb10815e92577d45629db324e0a5094f880
2014-09-25 22:35:16 -07:00
Lai Wei-Chih
8affa161fe
Use new variable LLVM_PREBUILTS_VERSION to simplify path construction.
...
This removes the hard-coded '3.5' in the various paths and makes switching to
a new toolchain easier from the command line (m LLVM_PREBUILTS_VERSION=3.6).
Change-Id: I46b10eb2fc177a03528de9c7b433f8647f632081
2014-09-24 14:59:00 -07:00
Andrew Hsieh
360b851034
Change mips64 default to mips64r6 from mips64r2
...
Also add back mips flags previously can't be handled by clang
See aosp/build
13066a8d4c
10326b3d7f
Change-Id: Iedc8dadd24f72fbd9c5589eec34677c1827290f3
2014-09-04 19:01:22 -07:00
Stephen Hines
2f9fa52025
Merge "Fix build breakage due to incorrect bcc_compat RS_TRIPLE."
2014-09-03 16:02:09 +00:00
Stephen Hines
2138f5ecbc
am 52626d2a
: Fix build breakage due to incorrect bcc_compat RS_TRIPLE.
...
* commit '52626d2a7b4767905e8a369ddc8316c1290ad156':
Fix build breakage due to incorrect bcc_compat RS_TRIPLE.
2014-09-03 14:34:52 +00:00
Stephen Hines
5c72544d48
Fix build breakage due to incorrect bcc_compat RS_TRIPLE.
...
Bug: 17333374
Change-Id: I13582ce0cde86f7b3728aa4f45a5197438d65a2d
(cherry picked from commit 52626d2a7b
)
2014-09-02 21:46:25 -07:00
Stephen Hines
52626d2a7b
Fix build breakage due to incorrect bcc_compat RS_TRIPLE.
...
Bug: 17333374
Change-Id: I13582ce0cde86f7b3728aa4f45a5197438d65a2d
2014-09-02 19:09:35 -07:00
Ying Wang
3b581732f6
am 067dd379
: am cee38d55
: Merge "[MIPSR6] R6 target options for clang"
...
* commit '067dd37952ce2df454623d4f849d079673b12f49':
[MIPSR6] R6 target options for clang
2014-09-03 01:28:30 +00:00
Ying Wang
cee38d55f8
Merge "[MIPSR6] R6 target options for clang"
2014-09-03 01:02:54 +00:00
Stephen Hines
6aa90f75f6
am 6f8fe420
: am ec8778e8
: Merge "Fix RS_TRIPLE and RS_TRIPLE_CFLAGS."
...
* commit '6f8fe42043ab75860ac38c20e907976101a39f71':
Fix RS_TRIPLE and RS_TRIPLE_CFLAGS.
2014-09-02 16:44:37 +00:00
Stephen Hines
41b83d6d3c
Fix RS_TRIPLE and RS_TRIPLE_CFLAGS.
...
Bug: 17333374
Add RS_TRIPLE_CFLAGS to ensure that we build with the proper defines on
targets like x86. This also changes all build targets to use the
proper 32/64-bit triples when creating their runtime libraries.
(cherry picked from commit 039675adb8
)
Change-Id: Ib7b5bb7aae5abcad9ab477a00e368179d0121091
2014-09-02 09:41:03 -07:00
Stephen Hines
ec8778e89f
Merge "Fix RS_TRIPLE and RS_TRIPLE_CFLAGS."
2014-09-02 16:23:11 +00:00
Stephen Hines
039675adb8
Fix RS_TRIPLE and RS_TRIPLE_CFLAGS.
...
Bug: 17333374
Add RS_TRIPLE_CFLAGS to ensure that we build with the proper defines on
targets like x86. This also changes all build targets to use the
proper 32/64-bit triples when creating their runtime libraries.
Change-Id: I8f6175b1a14af6d03ee90f32069f3688ec227fb9
2014-08-29 15:20:05 -07:00
Chih-Hung Hsieh
1df281a08a
am 9e59e663
: am 90d5c7f6
: Merge "Clang rejects -Wno-old-style-declaration flag."
...
* commit '9e59e66373a68782179f5522d125c8617ecd92a6':
Clang rejects -Wno-old-style-declaration flag.
2014-08-27 02:50:29 +00:00
Chih-Hung Hsieh
60d2b58fa2
am 0b97fd8a
: am b699b0ea
: Merge "Clang does not recognize -Wno-literal-suffix."
...
* commit '0b97fd8acef5d69b2f0abf19493ec5640bbd2085':
Clang does not recognize -Wno-literal-suffix.
2014-08-27 00:01:43 +00:00
Chih-Hung Hsieh
fb482c6d5d
Clang rejects -Wno-old-style-declaration flag.
...
BUG: 17258227
Change-Id: I2a35263298ffd8dd7cda25183e185274cbf62b7b
2014-08-26 16:37:00 -07:00
Chih-Hung Hsieh
4d12b5788d
Clang does not recognize -Wno-literal-suffix.
...
BUG: 17258227
Change-Id: I2d98e68daa780fbe0e127605840ae7edcb4e9880
2014-08-26 15:30:04 -07:00
Chih-Hung Hsieh
237a8ffedf
am 9050234a
: am f1c63b02
: Merge "Add GCC only flags to clang .mk files."
...
* commit '9050234a5eb3b4395618a151aa752ebcfff9a3eb':
Add GCC only flags to clang .mk files.
2014-08-26 04:17:43 +00:00
Chih-Hung Hsieh
0278174764
Add GCC only flags to clang .mk files.
...
BUG: 17258227
Change-Id: Iec9fdb21a9fa31e18a17704beb27bb493c9b7192
2014-08-25 16:49:53 -07:00
Duane Sand
02f285208c
[MIPSR6] Add mips64r6 and mips32r6 targets
...
Add mips64r6 target and corresponding mips32r6 target.
Defaults remain as mips64r2 and mips32r2.
Apply -FP64A codegen subsetting to mips32r6 only.
Access FR=0 odd-numbered 32-bit float regs only via
double-prec even-numbered regs, not by single-prec ops.
(cherry picked from commit 6bab974cdc
)
Change-Id: I447337ce56c15e86cec505d68a6b45294fc3ba77
2014-08-05 12:39:28 -07:00
Duane Sand
1d04a53ba3
[MIPS64] Enable mips64 clang
...
(cherry picked from commit 41ca444637
)
Change-Id: I0b141c58c88fe86e3a59844f53acc9a0e0a5271c
2014-08-05 12:38:31 -07:00
Duane Sand
3c4fcd8451
[MIPS] Unite mipsel and mips64el 4.9 gcc toolchains
...
Use 4.9 mips64el toolchain for both 64- and 32-bit builds.
Tell ld when 32-bit links are required.
Override 4.9's changed defaults for mips floating point
register use, to get same assembler rules as 4.8 and earlier.
Also: drop unused soft-fp build targets, cleanout redundant
compiler options, and remove extraneous Android.mk file.
(cherry picked from commit 6670e24aed
)
Change-Id: I34d2f8fc6113c9d1670e3acff1aff48634b9fe1b
2014-08-05 12:28:44 -07:00
Duane Sand
13066a8d4c
[MIPSR6] R6 target options for clang
...
Pass along new R6 target arch options and floating
point register model options to clang.
Also pass along older arch variants.
This patch depends on recent Mips extensions to 3.5 clang.
The new options are rejected by aosp's current 3.5 clang.
This only affects builds for mips32r6/mips64r6, not Android's
default builds for mips32r2.
Change-Id: Ic921dc14ced34a83143a82e322124b3ef035014a
2014-07-31 14:58:48 -07:00
Ying Wang
fe2f5fe5cf
am e0383397
: am e1a77930
: Merge "Update host linux toolchain to gcc 4.8"
...
* commit 'e0383397a2be0be120da20cebd77e3f1f811a6b0':
Update host linux toolchain to gcc 4.8
2014-07-31 18:04:20 +00:00
Elliott Hughes
1a6971b2f5
am c378352d
: am d23798bf
: Merge "[MIPSR6] Add mips64r6 and mips32r6 targets"
...
* commit 'c378352de8a07a7b8dabd444d130710ce1cb3eed':
[MIPSR6] Add mips64r6 and mips32r6 targets
2014-07-30 23:30:07 +00:00