aboutsummaryrefslogtreecommitdiffstats
path: root/llvm-host-build.mk
Commit message (Collapse)AuthorAgeFilesLines
* Take HOST_PREFER_32_BIT into accountColin Cross2015-04-081-0/+4
| | | | | | | LLVM modules should compile for 64-bit for the host, except when HOST_PREFER_32_BIT is set. Change-Id: I8179df10b929ce1cc655e097814fa50ca0c3c43e
* Set LOCAL_MULTLIB := first for all LLVM host buildsColin Cross2015-04-071-0/+2
| | | | | | | | | | | | | | | | The default multlib setting for host libraries is going to change from "both" to "first". This breaks LLVM host compiles on 64-bit when FORCE_BUILD_LLVM_COMPONENTS, because LLVMHello tries to compile for both 64-bit and 32-bit, the 32-bit version tries to link against 32-bit libLLVM, but prebuilts/sdk/tools/* only provides a 64-bit version of libLLVM.so. When compiling for a 32-bit host we always set FORCE_BUILD_LLVM_COMPONENTS=true, so the easy fix is to force 64-bit host builds to only build LLVM components for 64-bit by setting LOCAL_MULTILIB := first in llvm-host-build.mk. Change-Id: Ia17c045649b59b90bdc06d4cbe03f2542bf42371
* Remove uses of libcxx.mk.Dan Albert2015-03-271-1/+0
| | | | | | This is a no-op. Change-Id: I5dc6a2a5a0e0f7e34a0ae26566798daa085ce8f2
* Don't use libgcc_s on Darwin.Dan Albert2014-11-081-2/+4
| | | | | | Apple doesn't have a libgcc_s. Change-Id: I2d20a579ec629afb2487e61b962c7f22a920c845
* Enable 64-bit builds of all host LLVM tools.Stephen Hines2014-11-081-3/+2
| | | | | | | | | | Bug: 10653601 Bug: 13751317 We need to manually specify the same libgcc_s that is linked with all other host tools, because the libc++ build rules explicitly pass -nodefaultlibs. Change-Id: If85ebb2949f456a2ed5cc412e7d1510cc72a3c76
* am fbc55c91: Merge "Revert "Enable 64-bit builds of all host LLVM tools.""Stephen Hines2014-11-061-2/+3
|\ | | | | | | | | * commit 'fbc55c91b9e9eb1f38fd2b9b1a4a1bb3a9c50ef4': Revert "Enable 64-bit builds of all host LLVM tools."
| * Revert "Enable 64-bit builds of all host LLVM tools."Stephen Hines2014-11-051-2/+3
| | | | | | | | | | | | This reverts commit f514d2c2b4a722b311d2f2c2a8762d7a83d42c00. Change-Id: I240b55287c4c8a812b95b950a9a928f3e36628c5
* | am e5a80829: Merge "Enable 64-bit builds of all host LLVM tools."Stephen Hines2014-11-051-3/+2
|\ \ | |/ | | | | | | * commit 'e5a8082990418db051a52f003033a480ca691bec': Enable 64-bit builds of all host LLVM tools.
| * Enable 64-bit builds of all host LLVM tools.Stephen Hines2014-11-041-3/+2
| | | | | | | | | | | | | | | | | | | | Bug: 10653601 Bug: 13751317 We need to manually specify the same libgcc_s that is linked with all other host tools, because the libc++ build rules explicitly pass -nodefaultlibs. Change-Id: I09e7d2894e2be90ac81223b523688973fcb7de9a
* | am 3160f501: Merge "Add color support for Clang!"Stephen Hines2014-11-041-0/+5
|\ \ | |/ | | | | | | * commit '3160f5018b58edd927dc288630f115b8f910f8f3': Add color support for Clang!
| * Add color support for Clang!Stephen Hines2014-10-311-0/+5
| | | | | | | | | | | | | | | | | | Bug: 18187181 We were missing the HAVE_TERMINFO define, as well as proper linkage against ncurses to enable this. Change-Id: I985e1720fadbce4e20ec3608e7d5f0f67d1a74e9
| * Revert "Add LOCAL_NO_FPIE to LLVM."Tim Murray2014-09-041-3/+0
| | | | | | | | | | | | This reverts commit 1263deef0437859a32bacac8d1068cb3a552af02. moved to clang's android.mk instead
| * Add LOCAL_NO_FPIE to LLVM.Tim Murray2014-09-031-0/+3
| | | | | | | | | | | | | | | | | | This is primarily so we get all clang/LLVM tools built without PIE. bug 15814177 Change-Id: Ic5f877a62de5cff3c82354da5a2949565ff1b479
* | Fix windows build for LLVM.Stephen Hines2014-09-301-3/+1
|/ | | | | | | | Don't include libcxx on windows. Fix PSTR -> PCSTR typo in config header. Bug: 14416410 Change-Id: I2e66ed56a5a585ab126b9ac181def057908289d0
* Build LLVM for the host as 32-bit only.Ian Rogers2014-06-051-0/+2
| | | | Change-Id: Id1ca7e1e7a2b15464ae924e7fa629da1f33c6fa8
* Switch name from tblgen -> llvm-tblgen for consistency with upstream LLVM.Stephen Hines2014-06-031-1/+1
| | | | Change-Id: I7735fd88104ff95001dd5f88a1c387df9af993ad
* Merge "Don't try to use Clang on Windows yet."Stephen Hines2014-05-051-1/+4
|\
| * Don't try to use Clang on Windows yet.Tim Murray2014-04-011-1/+4
| | | | | | | | | | | | bug 13588226 Change-Id: I8a3e4293a3cb9acaa193779b8a548497b74c69fa
* | Update to LLVM 3.5a.Stephen Hines2014-04-241-2/+9
| | | | | | | | Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
* | Revert "Make LLVM compile with prebuilt clang."Tim Murray2014-04-021-3/+0
|/ | | | | | This reverts commit 7d8cea6e8e2bddaa4475835106bf88d214d95279. Change-Id: Ide81c8f7662646070481edb9f3196a0d9152adc2
* Make LLVM compile with prebuilt clang.Tim Murray2014-03-211-0/+3
| | | | | | bug 13588226 Change-Id: I278371c48b8da811a4bdb1be99bfe6474b0d525a
* Avoid redefinition of __STDC_CONSTANT_MACROS.Ian Rogers2014-03-111-1/+0
| | | | | | (cherry picked from 5c97ecc017eb90037ab8a2cf8ff7066982bb2c50) Change-Id: I5cf69b6197f8d1ff0f0f4bfa589c82b36d1513f4
* Avoid redefinition of __STD_FORMAT_MACROS.Ian Rogers2014-01-311-1/+0
| | | | Change-Id: I0633d66e76c76a58b9aac984a200883cc0691730
* Fix Mac build breakage: Restore the host build mk file here.Shih-wei Liao2012-07-171-7/+3
| | | | | | Then, fix Mac build breakage on the libbcc side. Change-Id: I098c8524944e6d6feda1ebe80d926aebc6ba0c00
* Fix Mac build breakage.Shih-wei Liao2012-07-171-3/+7
| | | | Change-Id: I5c92053d81093cdb7810d758d568d2694038280a
* Fix assert handling for LLVM.Stephen Hines2012-05-031-2/+2
| | | | | | | If we undefined NDEBUG first, the system-wide -DNDEBUG will override it, thus causing asserts to still remain off. Change-Id: I84342ca36595bbd7e310ea19c6907938fba4cee7
* Fix LOCAL_MODULE for tblgen rules.Logan Chien2011-12-161-1/+1
| | | | Change-Id: I844d8c5c8dcc86cbc5ec32c2ee442bf70bff0290
* Update LLVM to svn 144354.Stephen Hines2011-11-141-0/+1
| | | | Change-Id: I1935ffce1c5d5eec52ad8b69bab9ee0c281aef16
* Remove the simulator target from all makefiles.Jeff Brown2011-07-111-6/+0
| | | | | | Bug: 5010576 Change-Id: Ia82a523b49d44a2d806867d0ff931a15a10f980b
* Always bring tblgen target up to date.Ying Wang2011-05-241-3/+1
| | | | | | | | The copy-only-diff trick violates the makefile assumption: Rules should bring the target up to date if any source has newer time stamp. Change-Id: I9301d00461f1480ffd9293b81294985e58d4cdef
* Implement copy-when-different build rules for tblgen.Logan Chien2011-03-151-1/+3
| | | | | | | | | | | Before this commit, tblgen rules will always generate new file, change the timestamp, and then a lot of c++ files have to be recompiled. This commit modifies transform-td-to-out macro. Now, tblgen will generate its output to an intermediate file. The timestamp of the inc files will only be changed when the newly generated intermediate file is different from the old one.
* Update build script after merge.jush2011-02-281-1/+2
|
* Include $(CLANG_ROOT_PATH)/include in llvm-host-build.mk using tblgen.Zonr Chang2010-10-081-2/+3
|
* Fix sim build.Ying Wang2010-08-191-5/+6
| | | | | | | | Note that this only makes the sim build green, but the built images won't work for sure: No libbcc.so, which depends on something else that can not build in sim mode. No x86 bitcode is generated as well, I believe. Change-Id: Idca8378427196622ac77cd56a38c6a160f03ba22
* Git hiccup. Retry....Shih-wei Liao2010-06-071-1/+1
| | | | Change-Id: I5a329137a43f36bab32ea62386ade11da550c0b0
* Fix llvm.mk and the other 49 mk filesShih-wei Liao2010-06-071-1/+6
| | | | Change-Id: I5aa02363c1083297d163a575f5a35c495f950230
* Get rid of several build warnings.Patrick Scott2010-05-071-2/+1
| | | | Change-Id: Icdfbe34f73663b0f84de12394bb65137a86ba403
* enable assertionShih-wei Liao2010-05-041-1/+7
| | | | Change-Id: I1db0884c86ac6744f3c95ae10cefc75e762a79c7
* Sync upstream to r102410.Shih-wei Liao2010-04-281-3/+7
| | | | | | Re-turn on sdk. Change-Id: I91a890863989a67243b4d2dfd1ae09b843ebaeaf
* libbccShih-wei Liao2010-04-071-0/+50
Change-Id: Ieaa3ebd5a38f370752495549f8870b534eeedfc5