The toolchain file has been deprecated in favor of the "official"
toolchain file present in the Android NDK. Also update the web
build instructions to reflect this.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
www/build.html | ||
---|---|---|
474–475 ↗ | (On Diff #96417) | Can you mention the minimum version of the NDK supported by this approach? |
488–493 ↗ | (On Diff #96417) | Can you add some instructions about the supported ANDROID_ABI and LLVM_HOST_TRIPLE pairs? I would find it a bit hard to figure them out on my own (especially the correct triple) |
488–493 ↗ | (On Diff #96417) | Shouldn't we specify LLVM_TARGETS_TO_BUILD as well to reduce the size of the executable? |
488–493 ↗ | (On Diff #96417) | Previously we specified LLVM_TARGET_ARCH as well. Is it not needed anymore? |
498 ↗ | (On Diff #96417) | is *not* supported |
www/build.html | ||
---|---|---|
488–493 ↗ | (On Diff #96417) | The LLVM_HOST_TRIPLE thingy is described in the generic section above as <dd>The triple of the system that lldb (or lldb-server) will run on. Not setting this (or setting it incorrectly) can cause a lot of issues with remote debugging as a lot of the choices lldb makes depend on the triple reported by the remote platform.</dd> LLVM_TARGET_ARCH is computed from the host triple, so it's not necessary if you set the latter properly. As for TARGETS_TO_BUILD, I chose to omit that as I just want to present a minimal working configuration. If we go the optimization route, then there are many other variables you might want to set (LLVM_BUILD_STATIC, LLVM_USE_LINKER=gold to enable dead stripping, ...), but I don't think that's the purpose of this example. |