search for: ocamlaflags

Displaying 4 results from an estimated 4 matches for "ocamlaflags".

Did you mean: ocaml_flags
2009 Jan 19
0
[LLVMdev] ocaml build system
...evant section from Makefile.ocaml: # Info from llvm-config and similar ifdef UsedComponents UsedLibs = $(shell $(LLVM_CONFIG) --libs $(UsedComponents)) UsedLibNames = $(shell $(LLVM_CONFIG) --libnames $(UsedComponents)) endif # Tools OCAMLCFLAGS += -I $(OcamlDir) -I $(ObjDir) ifneq ($(ObjectsO),) OCAMLAFLAGS += $(patsubst %,-cclib %, \ $(filter-out -L$(LibDir),-l$(LIBRARYNAME) \ $(shell $(LLVM_CONFIG) -- ldflags)) \ $(UsedLibs)) else OCAMLAFLAGS += $(patsubst %,-cclib %, \ $(filter...
2009 Jan 19
2
[LLVMdev] ocaml build system
I have an issue with the OCaml build system and the ExecutionEngine. PR2128 has a patch to change the Interpreter to use libffi. This breaks test/Bindings/Ocaml/executionengine.ml because OCaml doesn't try to link with libffi, even though llvm-config knows that we should: $ Debug/bin/llvm-config --ldflags interpreter -L/home/nicholas/llvm-commit/Debug/lib -lpthread -lffi -ldl -lm
2008 Mar 04
0
[LLVMdev] [PATCH] Make sure ocamldep runs on all .mli files.
...anged, 2 insertions(+), 2 deletions(-)diff --git bindings/ > ocaml/Makefile.ocaml bindings/ocaml/Makefile.ocaml > index 6fc9a9a..d505ad8 100644 > --- bindings/ocaml/Makefile.ocaml > +++ bindings/ocaml/Makefile.ocaml > @@ -58,7 +58,7 @@ Archive.CMXA := $(strip $(OCAMLOPT) -a $ > (OCAMLAFLAGS) $(OCAMLDEBUGFLAG) -o) > > # Source files > OcamlSources1 := $(sort $(wildcard $(PROJ_SRC_DIR)/*.ml)) > -OcamlHeaders1 := $(OcamlSources1:.ml=.mli) > +OcamlHeaders1 := $(sort $(wildcard $(PROJ_SRC_DIR)/*.mli)) Not sure how an .mli without a corresponding .ml would be useful, so I...
2008 Mar 04
5
[LLVMdev] [PATCH] Make sure ocamldep runs on all .mli files.
This is a small bug fix for the ocaml build system that allows for dependencies to be generated for ocaml interface files. --- bindings/ocaml/Makefile.ocaml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) -------------- next part -------------- A non-text attachment was scrubbed... Name: 7c62c2cd93a6402e5f6ebd600e9e3ac7851b4d29.diff Type: text/x-patch Size: 994 bytes Desc: not