I compiled LLVM/Clang for rooted aarch64 cellphone following BLFS instructions with LLVM_TARGETS_TO_BUILD="host", which is aarch64 and not using DEFAULT_TARGET_TRIPLE. The build crashed Termux until I made and did swapon for 20G swap file and ran the build with "-j1"