Re: Help. Porting FreeOCL fails (atomic_ops.h missing, CLANG++ libc++ issues ...)

2012-09-12 Thread Jan Beich
Dimitry Andric d...@freebsd.org writes: Now, as to how we can convince CMake to put the -I/usr/local/include at the end... Maybe we should just patch the CMakeLists.txt, but that is a rather ugly solution. :) Try using CPPFLAGS+=-isystem${LOCALBASE}/include gcc(1) (and clang)

Re: Help. Porting FreeOCL fails (atomic_ops.h missing, CLANG++ libc++ issues ...)

2012-09-06 Thread Matthieu Volat
On Wed, 05 Sep 2012 16:45:49 +0200 O. Hartmann ohart...@mail.zedat.fu-berlin.de wrote: Hello. FreeBSD has fallen back far behind the standards of modern scientific computing and I dsperately look for solutions having OpenCL support on FreeBSD anyway. I stumbled into this project

Re: Help. Porting FreeOCL fails (atomic_ops.h missing, CLANG++ libc++ issues ...)

2012-09-06 Thread O. Hartmann
On 09/06/12 12:16, Matthieu Volat wrote: On Wed, 05 Sep 2012 16:45:49 +0200 O. Hartmann ohart...@mail.zedat.fu-berlin.de wrote: Hello. FreeBSD has fallen back far behind the standards of modern scientific computing and I dsperately look for solutions having OpenCL support on FreeBSD

Re: Help. Porting FreeOCL fails (atomic_ops.h missing, CLANG++ libc++ issues ...)

2012-09-06 Thread O. Hartmann
On 09/06/12 12:16, Matthieu Volat wrote: On Wed, 05 Sep 2012 16:45:49 +0200 O. Hartmann ohart...@mail.zedat.fu-berlin.de wrote: Hello. FreeBSD has fallen back far behind the standards of modern scientific computing and I dsperately look for solutions having OpenCL support on FreeBSD

Re: Help. Porting FreeOCL fails (atomic_ops.h missing, CLANG++ libc++ issues ...)

2012-09-06 Thread O. Hartmann
On 09/06/12 13:33, Kurt Jaeger wrote: Hi! RUN_DEPENDS= ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops Why did you not add it as LIB_DEPENDS or BUILD_DEPENDS ? Btw, any static library is always linked into the binary and therefore can by definition not be a RUN_DEPENDS,

Re: Help. Porting FreeOCL fails (atomic_ops.h missing, CLANG++ libc++ issues ...)

2012-09-06 Thread Dimitry Andric
On 2012-09-05 16:45, O. Hartmann wrote: ... Well, I tried LLVM/CLANG, but Cmake of the sources fairly fails many checks especuially for OpenMP. Yes, it is currently not supported. I am not sure if there are serious attempts to add it. Using clang++ requisites the usage of the new libc++

Re: Help. Porting FreeOCL fails (atomic_ops.h missing, CLANG++ libc++ issues ...)

2012-09-06 Thread Ian Lepore
On Thu, 2012-09-06 at 13:14 +0200, O. Hartmann wrote: I tried to add RUN_DEPENDS= ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops to my provided Makefile, but this doesn't install the port devel/libatomic_ops. This is weird and inconsistent. I follow exact the steps

Re: Help. Porting FreeOCL fails (atomic_ops.h missing, CLANG++ libc++ issues ...)

2012-09-06 Thread O. Hartmann
Hello Dimitry, thanks for your response and patches. On 09/06/12 14:51, Dimitry Andric wrote: On 2012-09-05 16:45, O. Hartmann wrote: ... Well, I tried LLVM/CLANG, but Cmake of the sources fairly fails many checks especuially for OpenMP. Yes, it is currently not supported. I am not sure

Re: Help. Porting FreeOCL fails (atomic_ops.h missing, CLANG++ libc++ issues ...)

2012-09-06 Thread O. Hartmann
On 09/06/12 14:51, Dimitry Andric wrote: On 2012-09-05 16:45, O. Hartmann wrote: ... Well, I tried LLVM/CLANG, but Cmake of the sources fairly fails many checks especuially for OpenMP. Yes, it is currently not supported. I am not sure if there are serious attempts to add it. Using

Re: Help. Porting FreeOCL fails (atomic_ops.h missing, CLANG++ libc++ issues ...)

2012-09-06 Thread Dimitry Andric
On 2012-09-06 20:28, O. Hartmann wrote: ... With the patch for Mk/bsd.cmake.mk attached, I can not compile the port with CLANG, compilation results in [ 15%] Building CXX object src/CMakeFiles/FreeOCL.dir/image.cpp.o /usr/ports/devel/freeocl/work/FreeOCL-0.3.6-Source/src/image.cpp:442:27:

Help. Porting FreeOCL fails (atomic_ops.h missing, CLANG++ libc++ issues ...)

2012-09-05 Thread O. Hartmann
Hello. FreeBSD has fallen back far behind the standards of modern scientific computing and I dsperately look for solutions having OpenCL support on FreeBSD anyway. I stumbled into this project recently: FreeOCL at http://code.google.com/p/freeocl/ or the sources located at