Am Wed, 14 Oct 2015 12:08:31 -0230 Roger Mason <[email protected]> schrieb:
> Hello Michal, > > "Michal Babej" <[email protected]> writes: > > > It's a bit more complicated... Pocl uses two compilers: one which is > > usually the > > "system" compiler, for compiling C/C++ runtime API files, and a second one > > for OpenCL > > runtime API files. > > > > The first one may be gcc or clang, it's whatever is provided by the OS. The > > second > > one is always clang. > > > > The llvm-config36 is used for search of the *second* compiler. Can you > > please try > > > > ./configure .... options... CC=/your/path/to/clang3.6 > > CXX=/your/path/to/clang++3.6 > > > > so that pocl will use clang 3.6 also as the "system" compiler ? > > Yes, that works. Thanks. > > Roger > > ------------------------------------------------------------------------------ > _______________________________________________ > pocl-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pocl-devel A while ago, I proposed a port to the FreeBSD ports collection, please be referred to: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=171914 I have had some differences with the comitters opinion, since there is a problem with the environment settings for the autoconf framework and due to my limited abilities and knowledge, the project is on hold for now. I just tried compiling POCL-0.12-RC1 on FreeBSD CURRENT (most recent, clang 3.7.0 system's compiler, installed LLVM 3.7 from ports). Therefore, I made some slight adaptions in the main Makefile of the port: LLVM_VERSION=37 copied the TARball as pocl-0.12.tar.gz into /usr/ports/distfiles/ and issued a "make makesum" in the ports directory to ensure that the hashes in distinfo file are correct. So far, compiling with clang 3.7.0/llvm 3.7.0 seems to work, at least for me. I didn't do some test so far. Regards, Oliver
pgpH7dQplHSKh.pgp
Description: OpenPGP digital signature
------------------------------------------------------------------------------
_______________________________________________ pocl-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pocl-devel
