Re: Fun with LevelDB, LLVM and OpenCL

2011-09-05 Thread Jean-Sebastien Delfino
On Sun, Aug 14, 2011 at 2:28 PM, Jean-Sebastien Delfino jsdelf...@apache.org wrote: On Thu, Aug 11, 2011 at 8:14 PM, dsh daniel.hais...@googlemail.com wrote: ... My attempt to provide an overview what works on FreeBSD (8.2) and what not: * autoconf, automake, libtool, doxygen, gcc can be

Re: Fun with LevelDB, LLVM and OpenCL

2011-09-05 Thread dsh
Have to look at it during the weekend again or so. Didn't have much time recently cause I had to focus on other stuff. I think I will disable each broken dependency in the FreeBSD port and thus build Tuscany only with the proposed set of minimal dependency for now. Cheers Daniel On Tue, Sep 6,

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-15 Thread dsh
Hi, looks like Qpid experiences a similar thread-local issue on OS X: https://issues.apache.org/jira/browse/QPID-2206 On Mon, Aug 15, 2011 at 6:30 AM, dsh daniel.hais...@googlemail.com wrote: Hi Jean-Sebastien, the old SpiderMonkey port [10] already contains support for nspr - so that end

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-14 Thread Jean-Sebastien Delfino
On Thu, Aug 11, 2011 at 8:14 PM, dsh daniel.hais...@googlemail.com wrote: ... My attempt to provide an overview what works on FreeBSD (8.2) and what not: * autoconf, automake, libtool, doxygen, gcc can be installed from the FreeBSD ports collection * at the time there's only Apache HTTPD 2.2

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-14 Thread dsh
Hi Jean-Sebastien, the old SpiderMonkey port [10] already contains support for nspr - so that end should be covered cause I am using the old port descriptor files as a basis for the new 1.8.5 port. That's the type of embedded board [11] I am considering. It comes with an FPGA processor that

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-11 Thread Jean-Sebastien Delfino
On Wed, Aug 10, 2011 at 9:17 AM, dsh daniel.hais...@googlemail.com wrote: Hi Jean-Sebastien, On Wed, Aug 10, 2011 at 5:26 AM, Jean-Sebastien Delfino jsdelf...@apache.org wrote: Thanks for the link to js 185, I'll try it on Ubuntu, Redhat and Mac OS X too, happy to switch to it if it works

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-11 Thread dsh
Hi Jean-Sebastien, On Thu, Aug 11, 2011 at 7:53 PM, Jean-Sebastien Delfino jsdelf...@apache.org wrote: thanks for your feedback. You are right as long as Tuscany native hasn't been released as a pre-build package that can be installed on an operating system it doesn't make sense to use

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-10 Thread dsh
Hi Jean-Sebastien, On Wed, Aug 10, 2011 at 6:45 AM, Jean-Sebastien Delfino jsdelf...@apache.org wrote: That's what I meant when I mentioned 'convert usages of __thread to Posix thread TLS calls' in my previous post [1]. __thread works for me with GCC on Mac OS X (using the GCC build from

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-10 Thread dsh
Hi Jean-Sebastien, thanks for your feedback. You are right as long as Tuscany native hasn't been released as a pre-build package that can be installed on an operating system it doesn't make sense to use libraries as dependencies coming pre-packaged with a particular OS or package management

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-10 Thread Giorgio Zoppi
IMHO what you need is a python script who is independent from the OS which it will cope your dependencies as maven does for building all the stuff. 2011/8/10 dsh daniel.hais...@googlemail.com: Hi Jean-Sebastien, thanks for your feedback. You are right as long as Tuscany native hasn't been

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-10 Thread dsh
Hi Jean-Sebastien, On Wed, Aug 10, 2011 at 5:26 AM, Jean-Sebastien Delfino jsdelf...@apache.org wrote: Thanks for the link to js 185, I'll try it on Ubuntu, Redhat and Mac OS X too, happy to switch to it if it works on these systems, but I'd like to avoid installing it in the default system

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-10 Thread Jean-Sebastien Delfino
On Wed, Aug 10, 2011 at 6:45 AM, dsh daniel.hais...@googlemail.com wrote: Hi Jean-Sebastien, On Wed, Aug 10, 2011 at 6:45 AM, Jean-Sebastien Delfino jsdelf...@apache.org wrote: That's what I meant when I mentioned 'convert usages of __thread to Posix thread TLS calls' in my previous post

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-09 Thread dsh
Hi Jean-Sebastien Delfino, some things I noticed during the configure process (I am using MacPorts): * I think it would help to point out in the INSTALL file that mozjs can be downloaded at - ftp://ftp.mozilla.org/pub/mozilla.org/js/ * On OSX Lion xulrunner won't install from MacPorts and thus

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-09 Thread dsh
Looks like OS X does not support thread local storage. I.e. __thread causes an compile error and thus one would not need to use --enable-threads or would need to disable them explicitely using --disable-threads. Is this a known issue on OS X? Cheers Daniel On Wed, Aug 10, 2011 at 12:53 AM, dsh

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-09 Thread Jean-Sebastien Delfino
On Tue, Aug 9, 2011 at 3:53 PM, dsh daniel.hais...@googlemail.com wrote: Hi Jean-Sebastien Delfino, some things I noticed during the configure process (I am using MacPorts): * I think it would help to point out in the INSTALL file that mozjs can be downloaded at -

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-08 Thread Jean-Sebastien Delfino
On Sun, Aug 7, 2011 at 6:35 PM, dsh daniel.hais...@googlemail.com wrote: Just a little update: OSX Lion with Xcode 4.1: * i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00) * Apple clang version 2.1 OSX Lion with Xcode 4.2: *

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-07 Thread dsh
Just a little update: OSX Lion with Xcode 4.1: * i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00) * Apple clang version 2.1 OSX Lion with Xcode 4.2: * i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 * Apple clang version 3.0 OSX Snow Leopard

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-06 Thread dsh
Hi Jean-Sebastien, if you like I could take a look at LLVM/clang. From my point of view it not only integrates more nicely with Xcode but you would as well get rid of dynamically linking against things like libgcc* which sometimes triggers licensing discussions if talking to attorneys. If you

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-06 Thread dsh
Btw, concerning OpenCL I recently found this IBM research project [1]. It not only abstracts OpenCL but OpenMP, CUDA and FPGA programming too. So you don't have to deal with low level library programming. Just thought I share that link with you (I am not recommending using that project as part of

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-06 Thread Jean-Sebastien Delfino
On Sat, Aug 6, 2011 at 2:14 AM, dsh daniel.hais...@googlemail.com wrote: Hi Jean-Sebastien, if you like I could take a look at LLVM/clang. From my point of view it not only integrates more nicely with Xcode but you would as well get rid of dynamically linking against things like libgcc* which

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-06 Thread dsh
Hi Jean-Sebastien, for which Xcode versions shall we be heading for? 4.1 or 4.2 on Lion (I have 4.2 dev preview 5 on one of my Lion systems to develop iOS 5 apps) and 4.0.2 on snow leopard? I would then check which would be the min LLVM/clang version that needs to be supported. Shall we try to

Re: Fun with LevelDB, LLVM and OpenCL

2011-08-06 Thread Jean-Sebastien Delfino
On Sat, Aug 6, 2011 at 2:02 PM, dsh daniel.hais...@googlemail.com wrote: Hi Jean-Sebastien, for which Xcode versions shall we be heading for? 4.1 or 4.2 on Lion (I have 4.2 dev preview 5 on one of my Lion systems to develop iOS 5 apps) and 4.0.2 on snow leopard? I would then check which would