search for: build_examples

Displaying 17 results from an estimated 17 matches for "build_examples".

2011 Jul 21
0
[LLVMdev] Catching exceptions passed through a JIT ExecutionEngine
Ok, see llvm/examples/ExceptionDemo/ExceptionDemo.cpp For OS X and Linux, build llvm with the environmental variable BUILD_EXAMPLES set to 1(csh: setenv BUILD_EXAMPLES 1). If llvm is already built, it will only build the examples from clang and llvm, ExceptionDemo being one of those. If I understand your case, running ExceptionDemo with an arg of -1 emulates your scenario. Note that the ExceptionDemo example is built by the ll...
2011 Jul 21
2
[LLVMdev] Catching exceptions passed through a JIT ExecutionEngine
Yes, I did -- it made no difference. Should it? Note that I have since discovered that this is not a problem on Windows -- the exception drops through as expected. pz On 2011-07-21, at 5:45 PM, Garrison Venn wrote: > Sorry Peter, just saw this. > > If you are still having the problem: > > Did you set: llvm::JITExceptionHandling = true; ? > > Garrison > > On Jul
2010 Mar 18
2
[LLVMdev] r98459 break of ExceptionDemo
...c and not specific to the example. However I'm not sure why then this wasn't seen in one of the test cases. Anyway just wanted to give a heads up as I'm studying this, just in case the problem is obvious to you. One way to reproduce this in trunk from root is to: 1) set environment var BUILD_EXAMPLES 1 2) svn switch -r 98458 http://llvm.org/svn/llvm-project/llvm/trunk 3) make 4) Debug/examples/ExceptionDemo 2 5) example will complete successfully 6) svn switch -r 98459 http://llvm.org/svn/llvm-project/llvm/trunk 7) make 8) Debug/examples/ExceptionDemo 2 9) example will segv Sorry I'm lat...
2010 Mar 22
2
[LLVMdev] r98459 break of ExceptionDemo
...owever I'm not sure why then >> this wasn't seen in one of the test cases. Anyway just wanted to give a heads up as I'm studying this, just in case the problem >> is obvious to you. One way to reproduce this in trunk from root is to: >> >> 1) set environment var BUILD_EXAMPLES 1 >> >> 2) svn switch -r 98458 http://llvm.org/svn/llvm-project/llvm/trunk >> 3) make >> 4) Debug/examples/ExceptionDemo 2 >> 5) example will complete successfully >> >> 6) svn switch -r 98459 http://llvm.org/svn/llvm-project/llvm/trunk >> 7) make &...
2011 Apr 11
1
[LLVMdev] Some sort of DAG lowering error
...inking it was my configuration; mea maxima culpa :-). I'm not so sure now, but before I go deep into building another local configuration, and debugging this, would someone be willing to test this on their version of a llvm linux installation? To build the test do the equivalent of: 1) setenv BUILD_EXAMPLES 1 2) make at the top of the llvm tree Then run: <release type>/examples/ExceptionDemo 2 3 7 -1 at the top of the llvm object root where <release type> == Release+Asserts for example Thanks in advance Garrison
2010 Mar 18
0
[LLVMdev] r98459 break of ExceptionDemo
...o the example. However I'm not sure why then > this wasn't seen in one of the test cases. Anyway just wanted to give a heads up as I'm studying this, just in case the problem > is obvious to you. One way to reproduce this in trunk from root is to: > > 1) set environment var BUILD_EXAMPLES 1 > > 2) svn switch -r 98458 http://llvm.org/svn/llvm-project/llvm/trunk > 3) make > 4) Debug/examples/ExceptionDemo 2 > 5) example will complete successfully > > 6) svn switch -r 98459 http://llvm.org/svn/llvm-project/llvm/trunk > 7) make > 8) Debug/examples/ExceptionD...
2010 Mar 15
0
[LLVMdev] Problem linking with llvm on mac os 10.6
I'm not sure why you are getting mixed architecture (bit size) results on 10.6.x but you can also build the examples as part of the llvm build. Set the environmental var BUILD_EXAMPLES to 1before executing the llvm make. Garrison On Mar 14, 2010, at 11:00, Romain Pechayre wrote: > Hello all, > > I am trying to build the kaleidoscope sample code on Mac os (10.6). > What I have done to get llvm libraries : > > 1) Downloaded llvm-2.6 source code > 2) ./conf...
2010 Mar 16
1
[LLVMdev] Problem linking with llvm on mac os 10.6
...in10 - Daniel On Mon, Mar 15, 2010 at 4:22 AM, Garrison Venn <gvenn.cfe.dev at gmail.com> wrote: > I'm not sure why you are getting mixed architecture (bit size) results on > 10.6.x but you can also build the examples > as part of the llvm build. > Set the environmental var BUILD_EXAMPLES to 1before executing the llvm make. > Garrison > On Mar 14, 2010, at 11:00, Romain Pechayre wrote: > > Hello all, > I am trying to build the kaleidoscope sample code on Mac os (10.6). > What I have done to get llvm libraries : > 1) Downloaded llvm-2.6 source code > 2) ./conf...
2010 Apr 16
0
[LLVMdev] r98459 break of ExceptionDemo
...ot sure why then >>> this wasn't seen in one of the test cases. Anyway just wanted to give a heads up as I'm studying this, just in case the problem >>> is obvious to you. One way to reproduce this in trunk from root is to: >>> >>> 1) set environment var BUILD_EXAMPLES 1 >>> >>> 2) svn switch -r 98458 http://llvm.org/svn/llvm-project/llvm/trunk >>> 3) make >>> 4) Debug/examples/ExceptionDemo 2 >>> 5) example will complete successfully >>> >>> 6) svn switch -r 98459 http://llvm.org/svn/llvm-project/l...
2010 Mar 14
4
[LLVMdev] Problem linking with llvm on mac os 10.6
Hello all, I am trying to build the kaleidoscope sample code on Mac os (10.6). What I have done to get llvm libraries : 1) Downloaded llvm-2.6 source code 2) ./configure 3)make 4) make intall Then I tried to build kaleidoscope as described in the tutorial: g++ -g -O3 toy.cpp `llvm-config --cppflags --ldflags --libs core` -o toy I get typical link time errors (undefined symbols: ...) as if the
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 the source into my own subtree), I run into problems. When I try to build (ocamlbuild toy.byte) after moving the llvm_* .cma, .cmo. .cmx .cmxa and .a into the local directory, I get the following error....
2011 Jul 21
0
[LLVMdev] Catching exceptions passed through a JIT ExecutionEngine
On Tue, Jul 12, 2011 at 07:25:16PM -0400, Peter Zion said > Hi All, > > I'm trying to catch an exception that is "passed through" an LLVM ExecutionEngine but I am unable to do so. Specifically, in C++ code, inside a try/catch block, I call a JITted function, which in turn calls back into my code. Everything works fine unless an exception is thrown; I would except the
2010 Oct 26
3
[LLVMdev] Throwing C++ exception through LLVM JITed code
I am using LLVM to compile script code and then executing using the JIT compiler via the runFunction() method. The script code is contained with a C++ program compiled with G++. I am having a problem when an intrinsic function (i.e. a function implemented in C++ which is called from the LLVM compiled script) throws a C++ exception. I want the exception to be caught by the C++ code that invoked the
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 problem you're probably running into is that you need to link with the ocaml "-cc g++" argument in order to link against the c++ libraries, as in this: /opt/local/b...
2011 Jul 12
5
[LLVMdev] Catching exceptions passed through a JIT ExecutionEngine
Hi All, I'm trying to catch an exception that is "passed through" an LLVM ExecutionEngine but I am unable to do so. Specifically, in C++ code, inside a try/catch block, I call a JITted function, which in turn calls back into my code. Everything works fine unless an exception is thrown; I would except the outermost try/catch(...) block to catch the exception thrown in my innermost
2010 Nov 13
8
[LLVMdev] Ahoy JIT Users
Hi, I am starting to poke at the LLVM JIT, which seems to be in need of some TLC. If you are a "sophisticated" JIT user and are using either internal APIs (either by integrating with LLVM, or by other C++ tricks), or are using obscure or poorly documented public APIs (e.g., why is runJITOnFunction exposed?) please make me aware of it! I reserve the right to break anything which
2014 Sep 10
4
[RFC PATCH v1 0/3] Introducing ARM SIMD Support
libvorbis does not currently have any simd/vectorization. Following patches add generic framework for simd/vectorization and on top, add ARM-NEON simd vectorization using intrinsics. I was able to get over 34% performance improvement on my Beaglebone Black which is single Cortex-A8 based CPU. You can find more information on metrics and procedure I used to measure at