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
Elliott Hughes
81379e6590
am e4d54f31
: am 0b3c42cb
: Merge "[MIPS] Unite mipsel and mips64el 4.9 gcc toolchains"
...
* commit 'e4d54f317df641faf216e4000fbc3d091d3c1abc':
[MIPS] Unite mipsel and mips64el 4.9 gcc toolchains
2014-07-30 23:30:05 +00:00
Ying Wang
b53efd68b5
am 18c20aae
: am aea1cae4
: Merge "Revert "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang."""
...
* commit '18c20aae44b5736b673c8776202e1e76b6bd81cd':
Revert "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.""
2014-07-30 16:22:00 +00:00
Elliott Hughes
d23798bfdc
Merge "[MIPSR6] Add mips64r6 and mips32r6 targets"
2014-07-30 11:26:00 +00:00
Ying Wang
1b0fc43557
Revert "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.""
...
This reverts commit a4f84fdfed
.
Added "export CCACHE_CPP2 := true" to work around ccache bug with clang.
See:
http://petereisentraut.blogspot.com/2011/09/ccache-and-clang-part-2.html
Change-Id: I2b1fa8fd59c3a113c4028a92a1d16018133c9792
2014-07-29 18:05:27 -07:00
David 'Digit' Turner
44ee3419e7
Update host linux toolchain to gcc 4.8
...
This patch ensures the build system uses the prebuilt gcc-4.8 toolchain
when building host Linux binaries, instead of the gcc-4.6 one.
Change-Id: I7b449650714ba4314a780827e0243f2af40ec82c
2014-07-31 19:51:40 +02:00
Marcin Kosiba
dc5be215db
am bf4ac764
: am 6be7d2e5
: Merge "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.""
...
* commit 'bf4ac764cdc7bf6b09e30b79ca6088ef17de9e07':
Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang."
2014-07-28 11:57:17 +00:00
Ying Wang
defccfe52f
am 53e19fd4
: am 45040bdb
: Merge "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang."
...
* commit '53e19fd4e259ea47e6b81b8472fbdc6041ca7044':
Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.
2014-07-26 00:52:21 +00:00
Ying Wang
b169fb7822
Revert "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.""
...
This reverts commit a4f84fdfed
.
Added "export CCACHE_CPP2 := true" to work around ccache bug with clang.
See:
http://petereisentraut.blogspot.com/2011/09/ccache-and-clang-part-2.html
Change-Id: I2b1fa8fd59c3a113c4028a92a1d16018133c9792
2014-07-30 10:14:37 -07:00
Tim Murray
72c70d14d4
resolved conflicts for merge of 2812b27c
to lmp-dev-plus-aosp
...
Change-Id: I770fbf16affbd43b0750b50426298038e4b573b7
2014-07-24 14:27:05 -07:00
Duane Sand
6bab974cdc
[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.
Change-Id: I1740a6c658304b6c41242be58d68753e6f171658
2014-07-24 11:19:21 -07:00
Ying Wang
5de8ebc8f7
am 5d23800f
: am 1bb9adb8
: Merge "[MIPS64] Enable mips64 clang"
...
* commit '5d23800f2b61c03a97395815e94d2aa44eea8577':
[MIPS64] Enable mips64 clang
2014-07-24 01:49:26 +00:00
Duane Sand
6670e24aed
[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.
Change-Id: I86f1075266349edb2b08a7709b9f5472d8cfda32
2014-07-23 14:16:00 -07:00
Duane Sand
41ca444637
[MIPS64] Enable mips64 clang
...
Change-Id: I737f40ff1d4c71c21bea5159d1b0acee89fe32a2
2014-07-23 14:10:39 -07:00
Marcin Kosiba
6be7d2e5bb
Merge "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.""
2014-07-23 19:31:58 +00:00
Dan Albert
a4f84fdfed
Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang."
...
This broke the world.
This reverts commit 3b7a4d811d
.
Change-Id: Iefb01b8642a92bcc718d2c745e8ce1346ba50143
2014-07-26 20:35:06 +00:00
Tim Murray
92d79cbb41
Switch host builds to use Clang by default.
...
If LOCAL_CLANG is not set to false for a host module, clang will be used instead of gcc.
This also enables the integrated assembler by default for Darwin host builds.
bug 16172793
Change-Id: If7484c5dbcccce7d925bec97bff0a3e4c30e9434
2014-07-24 09:25:58 -07:00
Ying Wang
45040bdbb8
Merge "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang."
2014-07-23 18:04:01 +00:00
Elliott Hughes
0b3c42cbc8
Merge "[MIPS] Unite mipsel and mips64el 4.9 gcc toolchains"
2014-07-23 17:53:27 +00:00
Marcin Kosiba
3b7a4d811d
Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.
...
This is essentially Ide800c24f0c2ebbb1cfb358bd8f99ec8a9d41253
applied to clang.
Change-Id: I883f9e9a31fff50a64568a06ef5248437344542b
2014-06-19 15:33:26 +01:00
Brian Carlstrom
3bd5abb4f9
am a44f9a35
: am edbc4595
: am d51730a6
: Merge "Help catch common 32/64-bit errors."
...
* commit 'a44f9a35a284c600616a7f2213a861ecdefd5615':
Help catch common 32/64-bit errors.
2014-06-17 23:38:48 +00:00
Brian Carlstrom
338d1e7f33
Help catch common 32/64-bit errors.
...
(cherry picked from commit cf5ea762e015bc044d251814d9062ef1df4dd49f)
Change-Id: I43eb93d41967c63acb0723083c0178019f1364d0
2014-06-17 15:23:49 -07:00
Ying Wang
f7988507f4
am 2d19cbd2
: resolved conflicts for merge of 135e11df
to klp-modular-dev-plus-aosp
...
* commit '2d19cbd279ed69c7202f089be174c35c1585f709':
Switch to 32-bit-by-default host multilib build.
2014-06-11 19:26:30 +00:00
Ying Wang
2713fcebba
Switch to 32-bit-by-default host multilib build.
...
Also we don't need to force LLVM built from source, for we already force
LLVM to be built as 32-bit.
Bug: 13751317
Change-Id: Ifadf1988d28b60cb06316de50f5bdc1834f1acc0
2014-06-09 17:48:05 -07:00
Tim Murray
a526c48982
am 45c39300
: am 3c52ff07
: am e564c0cb
: Merge "Switch name from tblgen -> llvm-tblgen for consistency with upstream tools."
...
* commit '45c3930084180857d7b09c0859805506e7ede847':
Switch name from tblgen -> llvm-tblgen for consistency with upstream tools.
2014-06-04 19:22:56 +00:00
Stephen Hines
5339640da6
Switch name from tblgen -> llvm-tblgen for consistency with upstream tools.
...
Change-Id: I7735fd88104ff95001dd5f88a1c387df9af993ad
2014-06-03 18:28:44 -07:00
Ying Wang
ae9ee9c0e7
am 71617605
: am 8e2b2d8a
: am b0143e2f
: Merge "Add some more flags to CLANG_CONFIG_UNKNOWN_CFLAGS"
...
* commit '716176059ab8962c7049f91c83c82b1af9f2632a':
Add some more flags to CLANG_CONFIG_UNKNOWN_CFLAGS
2014-05-22 18:28:06 +00:00
Ying Wang
b0143e2fff
Merge "Add some more flags to CLANG_CONFIG_UNKNOWN_CFLAGS"
2014-05-22 17:38:01 +00:00