All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] llvm: disable bindings on host
@ 2019-10-24 23:06 Joseph Kogut
  2019-10-25  7:41 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Kogut @ 2019-10-24 23:06 UTC (permalink / raw)
  To: buildroot

Additionally, remove GO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND and
OCAMLFIND=OCAMLFIND-NOTFOUND, as these options are no longer necessary.

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
---

 package/llvm/llvm.mk | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/package/llvm/llvm.mk b/package/llvm/llvm.mk
index 4d9bb1d12f..72c6f36414 100644
--- a/package/llvm/llvm.mk
+++ b/package/llvm/llvm.mk
@@ -189,11 +189,9 @@ 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
 
 # Builds a release host tablegen that gets used during the LLVM build.
 HOST_LLVM_CONF_OPTS += -DLLVM_OPTIMIZED_TABLEGEN=ON
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] llvm: disable bindings on host
  2019-10-24 23:06 [Buildroot] [PATCH 1/1] llvm: disable bindings on host Joseph Kogut
@ 2019-10-25  7:41 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-10-25  7:41 UTC (permalink / raw)
  To: buildroot

Hello Joseph,

On Thu, 24 Oct 2019 16:06:07 -0700
Joseph Kogut <joseph.kogut@gmail.com> wrote:

> Additionally, remove GO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND and
> OCAMLFIND=OCAMLFIND-NOTFOUND, as these options are no longer necessary.

This should be done as a separate patch.

And also, the commit log should carry an explanation as to why we want
to disable the bindings on the host. And in fact, what those bindings
are in the first place.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-25  7:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-24 23:06 [Buildroot] [PATCH 1/1] llvm: disable bindings on host Joseph Kogut
2019-10-25  7:41 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.