[cctbxbb] building on Mac OSX
Richard Gildea
rgildea at gmail.com
Fri Jan 2 13:03:06 PST 2015
Hi Roger,
Have you tried passing --compiler=gcc in the 'python
sources/libtbx/configure.py [list of modules]' step?
Cheers,
Richard
On 2 January 2015 at 20:28, Roger Martin <roger at quantumbioinc.com> wrote:
> Hi,
>
> I'm attempting to build on Mac. Via jenkins.
>
> The scons finds /usr/bin/c++ but my builds are based on gcc located at
> /opt/gcc/current/bin. A which c++ returns /opt/gcc/current/bin/c++. I
> tried to tell it by making a site_init.py according to
> http://www.scons.org/doc/production/HTML/scons-user.html#idm12919064
> ---------------
> cd build
> mkdir -p site_scons
> cat <<EOF >./site_scons/site_init.py
> env = DefaultEnvironment(tools = ['gcc', 'gnulink'],
> CC = '/opt/gcc/current/bin/gcc',
> CXX = '/opt/gcc/currentbin/g++')
> EOF
> --------------
>
> Do you have a way to tell it which compiler version to find that is
> compatible with the source code level?
>
> Regards,
>
> Roger
> _______________________________________________
> cctbxbb mailing list
> cctbxbb at phenix-online.org
> http://phenix-online.org/mailman/listinfo/cctbxbb
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/cctbxbb/attachments/20150102/b392e775/attachment.htm>
More information about the cctbxbb
mailing list