Displaying 20 results from an estimated 50000 matches similar to: "[LLVMdev] Identified Types using OCaml.."
2012 Sep 10
1
[LLVMdev] OCaml bindings broken in trunk
On Sep 10, 2012, at 3:34 PM, Bob Wilson wrote:
> Didn't Benjamin already fix this in svn 163502?
Looks that way..
> On Sep 10, 2012, at 10:08 AM, Chad Rosier <mcrosier at apple.com> wrote:
>
>>
>> On Sep 7, 2012, at 3:40 PM, Nuno Lopes wrote:
>>
>>> The linking issue is a recent breakage.
>>> I traced it back to r163175. Basically
2012 Sep 07
0
[LLVMdev] OCaml bindings broken in trunk
The linking issue is a recent breakage.
I traced it back to r163175. Basically LLVMConstInlineAsm() got an
additional parameter, but the C headers and the OCaml bindings were not
updated accordingly.
About the miscompilations, can you provide further details?
Nuno
----- Original Message -----
> I've recently upgraded my project-local copy of LLVM from 3.1svn to the
> latest
2012 Sep 07
2
[LLVMdev] OCaml bindings broken in trunk
I've recently upgraded my project-local copy of LLVM from 3.1svn to the latest 3.2svn, and all hell broke loose in my attempts to build OCaml projects.
Trying to narrow it down, I tried testing examples/OCaml-Kaleidoscope and eventually test/Bindings, only to discover that literally nothing in the repository which uses the OCaml bindings seems to build in the current trunk:
-
2012 Sep 10
0
[LLVMdev] OCaml bindings broken in trunk
Didn't Benjamin already fix this in svn 163502?
On Sep 10, 2012, at 10:08 AM, Chad Rosier <mcrosier at apple.com> wrote:
>
> On Sep 7, 2012, at 3:40 PM, Nuno Lopes wrote:
>
>> The linking issue is a recent breakage.
>> I traced it back to r163175. Basically LLVMConstInlineAsm() got an additional parameter, but the C headers and the OCaml bindings were not updated
2012 Sep 10
2
[LLVMdev] OCaml bindings broken in trunk
On Sep 7, 2012, at 3:40 PM, Nuno Lopes wrote:
> The linking issue is a recent breakage.
> I traced it back to r163175. Basically LLVMConstInlineAsm() got an additional parameter, but the C headers and the OCaml bindings were not updated accordingly.
r163175 was my change. I'm not familiar with the OCaml project. If I'm responsible for updating said C headers/OCaml bindings, would
2012 Dec 15
0
[LLVMdev] Kaleidoscope Build Problems - (OCaml)
Hello everyone...
I'm hoping that someone can give me insight as to why I am having problems
building the Kaleidoscope example for OCaml.
Platform: Mac OS 10.8.2
OCaml version: 4.00.1
LLVM version: 3.1
XCode version: 4.5.2
I successfully build the examples when running "gnumake BUILD_EXAMPLES=1"
in the OBJ_DIR, however when I try to build them from outside the build
tree (ie move
2010 Jul 26
0
[LLVMdev] Status of ocaml bindings
On Mon, Jul 26, 2010 at 10:15 AM, Jason Johnson
<jason.johnson.081 at gmail.com> wrote:
> Hello list,
>
> Since reading the kaleidoscope tutorial I have decided to play around with creating a language I've had in the back of my mind for some time. I would prefer not to write the front end in c or c++ though if it can be avoided. I read online that the ocaml bindings are
2008 Mar 27
2
[LLVMdev] first two chapters for the ocaml bindings in svn
I've just committed the first two chapters of my ocaml llvm bindings
tutorial by porting the Kaleidoscope tutorial to ocaml. These chapters
are the lexer and parser. If anyone is interest in trying it out, I'd
love any feedback. If you've got the svn trunk checked out, you'll
find the docs here:
docs/tutorial/OCamlLangImpl1.html
docs/tutorial/OCamlLangImpl2.html
If not, you can
2010 Jul 26
2
[LLVMdev] Status of ocaml bindings
Hello list,
Since reading the kaleidoscope tutorial I have decided to play around with creating a language I've had in the back of my mind for some time. I would prefer not to write the front end in c or c++ though if it can be avoided. I read online that the ocaml bindings are distributed with llvm but are not always as up to date as the c or c++ bindings. Is this (still) the case? Is
2010 Nov 14
0
[LLVMdev] Problem building Ocaml Kaleidoscope example
Hi,
The Ocaml Kaleidoscope tutorial code stops compiling at chapter 3. I get
$ ocamlbuild toy.byte
Finished, 1 target (0 cached) in 00:00:00.
+ /usr/bin/ocamlc -c -o codegen.cmo codegen.ml
File "codegen.ml", line 5, characters 0-9:
Error: Unbound module Llvm
This is with Llvm 2.7 on ubuntu 10.10. I have the package
libllvm-ocaml-2.7-dev installed.
The offending line is simply
open
2011 Jun 11
0
[LLVMdev] Kaleidoscope Build Error
(cc'ing llvm-dev)
Hello Gregory,
i just recompiled llvm from scratch, and was able to build the ocaml
kaleidoscope bindings. Did you know the llvm's build system already
can compile the kaleidoscope tutorials for you? You can run this to
build them:
make BUILD_EXAMPLES=1
Or just cd into the examples directory in your build directory, and
run "make" there.
Anyway, I think the
2008 Mar 27
0
[LLVMdev] first two chapters for the ocaml bindings in svn
On Mar 27, 2008, at 04:30, Erick Tryzelaar wrote:
> I've just committed the first two chapters of my ocaml llvm bindings
> tutorial by porting the Kaleidoscope tutorial to ocaml. These chapters
> are the lexer and parser. If anyone is interest in trying it out, I'd
> love any feedback. If you've got the svn trunk checked out, you'll
> find the docs here:
>
>
2008 Apr 24
0
[LLVMdev] OCaml Kaleidoscope tutorial links to the C++ tutorial
The link to the next chapter in the navigation list at the top of this page
of the OCaml Kaleidoscope tutorial goes to the C++ version:
http://llvm.org/docs/tutorial/OCamlLangImpl3.html.
The link to chapter 8 in the first chapter is broken:
http://llvm.org/docs/tutorial/OCamlLangImpl1.html#intro. It links to the
unvavailable page http://llvm.org/docs/tutorial/OCamlLangImpl8.html. I think
it
2012 Sep 13
0
[LLVMdev] ocaml LLVM bindings documentation
Hello all,
is there any documentation for Ocaml LLVM API?
I found only tutorial for Kaleidoscope which is not clear enough for me.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120914/51f58269/attachment.html>
2010 Nov 16
2
[LLVMdev] Optimization of calls to functions without side effects (from Kaleidoscope example)
Hi Dan,
The tutorial in r119335 does not build : the basicAA pass creation needs to be declared. This is addressed with the 'missing-include' patch, which updates both source code & documentation.
The second point is that beside basicAA, to get the optimizations as shown in the tutorial, (sin(x)*sin(x) -> sin(x)^2), some attributes need to be set on 'sin'. Patch
2007 Nov 25
0
[LLVMdev] OCaml bindings
On Sunday 25 November 2007 20:01, Gordon Henriksen wrote:
> On Nov 25, 2007, at 11:49, Jon Harrop wrote:
> > On Sunday 25 November 2007 12:23, Gordon Henriksen wrote:
> >> If ocamlc is on your path, then 'configure; make; make install'
> >> should install the bindings in your ocaml lib.
> >
> > Right. I hadn't noticed they were already installed
2008 Mar 28
0
[LLVMdev] Python bindings?
On Fri, Mar 28, 2008 at 12:00 AM, Mahadevan R <mdevan.foobar at gmail.com> wrote:
> 1)
> Are the C bindings complete? That is, is there some part of the C++ API
> that is not exposed by the C API?
Nope, there's still a lot that's not done. Patches are always welcome
:) We've got enough in subversion to implement the Kaleidoscope
tutorial though.
> 2)
> Do
2020 Sep 07
0
Re: [libnbd PATCH 0/3] Improve type-safety of ocaml/golang getters
On Sat, Sep 05, 2020 at 08:40:57PM -0500, Eric Blake wrote:
> Natural fallout after my recent testsuite additions that fixed a
> couple of ocaml bugs in the setters. However, on at least the OCaml
> code, I'm not sure what we should do if a newer libnbd ever returns a
> bit that an older NBD.mli was not expecting at the time the OCaml
> compiler ran (see below). I'm also
2011 Dec 08
0
[hivex] [PATCH 4/8] ocaml: Add unit test for new RLenValue type
Signed-off-by: Alex Nelson <ajnelson at cs.ucsc.edu>
---
.gitignore | 1 +
ocaml/Makefile.am | 1 +
ocaml/t/hivex_120_rlenvalue.ml | 43 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 45 insertions(+), 0 deletions(-)
create mode 100644 ocaml/t/hivex_120_rlenvalue.ml
diff --git a/.gitignore b/.gitignore
index 820130e..13351e1 100644
---
2009 Sep 07
1
Usage of OCaml/R binding.
Hello.
I've been pulling together a Debian package out of Maxence Guesdon's
OCaml bindings for R. Will be available from my website as soon as I get
my router to obey me. Here's Maxence's bindings:
http://pauillac.inria.fr/~guesdon/ocaml-r.en.html
The purpose of this software is to access R from OCaml programs.
However, my issue is that after having pulled things to a Debian