Displaying 4 results from an estimated 4 matches for "ocamldir".
Did you mean:
caldir
2012 Feb 29
1
[LLVMdev] Tail Call Optimization
Hello,
I started off trying to test HLVM
(http://www.ffconsultancy.com/ocaml/hlvm/) in a freshly compiled
LLVM3.0,
and found a few errors have crept into LLVM between revisions 2.7 and 2.8.
System info:
2.6.31-23-generic #75-Ubuntu SMP x86_64 GNU/Linux, oprofile version
0.9.3-1.1ubuntu2_amd64
HLVM uses the following code to set "guaranteed" tail call optimization:
<code>
2009 Jan 19
0
[LLVMdev] ocaml build system
...are baked in by ocaml.
Here's the relevant 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 += $(pa...
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
2018 Dec 07
2
[nbdkit PATCH] build: Install ocaml files relative to --prefix
Rather than always trying to install ocaml files into $(OCAMLLIBS),
which is likely to be root-owned and therefore fail during a
'./configure --prefix=$HOME/subdir', we instead choose to always
install relative to $(prefix) and let distro packagers take steps
post-install to move the distro's pre-built copy into the correct
location for the distro. This fixes a 'make