mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-28 04:50:36 -09:00
package/llvm-project: enable clang python bindings
It should be noted that because the python bindings have wrong default include dirs, they are useless if the includes are not provided externally. Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be> Signed-off-by: Romain Naour <romain.naour@smile.fr>
This commit is contained in:
committed by
Romain Naour
parent
70043d9e9a
commit
96e6d7092c
@@ -109,6 +109,10 @@ CLANG_CONF_OPTS += -DLLVM_LINK_LLVM_DYLIB=ON
|
||||
HOST_CLANG_CONF_OPTS += -DLLVM_DYLIB_COMPONENTS=all
|
||||
CLANG_CONF_OPTS += -DLLVM_DYLIB_COMPONENTS=all
|
||||
|
||||
# host-python3 is a permanent dependency of clang, so we can build the
|
||||
# python bindings unconditionally:
|
||||
HOST_CLANG_CONF_OPTS += -DCLANG_PYTHON_BINDINGS_VERSIONS=$(PYTHON3_VERSION_MAJOR)
|
||||
|
||||
# Help host-clang to find our external toolchain, use a relative path from the clang
|
||||
# installation directory to the external toolchain installation directory in order to
|
||||
# not hardcode the toolchain absolute path.
|
||||
|
||||
Reference in New Issue
Block a user