termux/termux-packages

libllvm does not create a native llvm-config

Open

#879 建立於 2017年3月25日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)Shell (4,089 fork)batch import
bug reporthelp wantedinactive

倉庫指標

Star
 (16,216 star)
PR 合併指標
 (平均合併 3天 5小時) (30 天內合併 153 個 PR)

描述

Cross compiling llvm builds a native (host=build) version of llvm-config as a make step. But in termux, this is not the case. The native llvm-config is built for target host. The native build takes place in $TERMUX_PKG_BUILDDIR/NATIVE. I was unable to find the root cause, but, the native build also uses $TERMUX_STANDALONE_TOOLCHAIN/bin/clang++. I suspect that this may be a bug in the cross compilation mechanism of cmake itself.

This is required to build rustc and other packages dependent on llvm-config.

貢獻者指南