[Buildroot] [PATCH 2/2] package/llvm: remove outdated variables disabling bindings

Romain Naour romain.naour at gmail.com
Mon Mar 16 22:10:50 UTC 2020


Hi Joseph,

Le 16/03/2020 à 21:01, Joseph Kogut a écrit :
> LLVM no longer disables unsupported bindings by overriding OCAMLFIND and
> GO_EXECUTABLE, so remove them.
> 
> Signed-off-by: Joseph Kogut <joseph.kogut at gmail.com>
> ---
>  package/llvm/llvm.mk | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/package/llvm/llvm.mk b/package/llvm/llvm.mk
> index f1034f0365..24d033d124 100644
> --- a/package/llvm/llvm.mk
> +++ b/package/llvm/llvm.mk
> @@ -189,11 +189,8 @@ LLVM_CONF_OPTS += -DLLVM_DEFAULT_TARGET_TRIPLE=$(GNU_TARGET_NAME)
>  # This solves "No available targets are compatible for this triple" with llvmpipe
>  LLVM_CONF_OPTS += -DLLVM_HOST_TRIPLE=$(GNU_TARGET_NAME)
>  
> -# The Go bindings have no CMake rules at the moment, but better remove the
> -# check preventively. Building the Go and OCaml bindings is yet unsupported.
> +# Building the Go and OCaml bindings is yet unsupported.
>  HOST_LLVM_CONF_OPTS += \
> -	-DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND \
> -	-DOCAMLFIND=OCAMLFIND-NOTFOUND \
>  	-DLLVM_ENABLE_BINDINGS=OFF

Reviewed-by: Romain Naour <romain.naour at gmail.com>

Best regards,
Romain

>  
>  # Builds a release host tablegen that gets used during the LLVM build.
> 




More information about the buildroot mailing list