]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
llvm: doesn't actually need pythonnative
authorRoss Burton <ross.burton@intel.com>
Wed, 27 Mar 2019 23:07:11 +0000 (23:07 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Mar 2019 08:26:27 +0000 (08:26 +0000)
commit1587475e45edc995b7643844594abc94160a5549
tree5b11aa00cae6fd977874adffab02f2eb95201c48
parentf21aaefb6f082768d4bc5c55fc59a9142cfcc2d3
llvm: doesn't actually need pythonnative

LLVM doesn't actually need pythonnative, the host Python2 is sufficient but
cmake's executable searching currently isn't reliable in cross-compilations.

Convince cmake by setting PYTHON_EXECUTABLE to point at python2 in the HOSTTOOLS
directory.  Note that currently LLVM *needs* python2 currently:

https://github.com/llvm-mirror/llvm/blob/master/CMakeLists.txt#L670

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/llvm/llvm_git.bb