termux/termux-packages

libllvm does not create a native llvm-config

オープン

#879 opened on 2017/03/25

 (7 件のコメント) (0 件のリアクション) (0 人の担当者)Shell (4,089 件のフォーク)batch import
bug reporthelp wantedinactive

Repository metrics

Stars
 (16,216 個のスター)
PR merge metrics
 (平均マージ 3d 5h) (30d で 153 merged PRs)

説明

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.

コントリビューターガイド