Hello,
I'm working on adding POCL to FreeBSD. The developers recommend using clang36 & clang++36. I installed those and was able to compile POCL in my home directory using this invocation of configure:
I have tried various ways to set the compilers to use in the Makefile for the port, which currently consists of:
The result is that configure always finds the wrong compiler:
How should I set the compilers to use?
Thanks,
sprock
I'm working on adding POCL to FreeBSD. The developers recommend using clang36 & clang++36. I installed those and was able to compile POCL in my home directory using this invocation of configure:
Code:
../pocl/configure --enable-debug --prefix=/opt CC=/usr/local/bin/clang36 CXX=/usr/local/bin/clang++36
I have tried various ways to set the compilers to use in the Makefile for the port, which currently consists of:
Code:
# $FreeBSD$
PORTNAME= pocl
PORTVERSION= 0.12
CATEGORIES= devel
MASTER_SITES= http://portablecl.org/docs/html/
MAINTAINER= rmason@mun.ca
COMMENT= An implementation of the Open Computing Language
# Does not work:
# CC= ${LOCALBASE}/bin/clang36
# CXX= ${LOCALBASE}/bin/clang++36
# Does not work either:
CONFIGURE_ARGS="CC=/usr/local/bin/clang36"
CONFIGURE_ARGS+="CXX=/usr/local/bin/clang++36"
GNU_CONFIGURE=1
.include <bsd.port.mk>
The result is that configure always finds the wrong compiler:
Code:
config.status: executing libtool commands
=======================================================================
Using LLVM version 3.3 from /usr/local/llvm33
How should I set the compilers to use?
Thanks,
sprock