[cctbxbb] building on Mac OSX
Roger Martin
roger at quantumbioinc.com
Fri Jan 2 18:27:41 PST 2015
Hi Richard,
Don't remember when; might have been a different problem that made me
think that didn't work. Been trying to use --use-environment-flags
Tried --compiler=gcc and got further on mac via jenkins. Have some
boost issue I'll noodle at for a while
--Roger
On 01/02/2015 04:03 PM, Richard Gildea wrote:
> 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
> <mailto: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 <mailto:cctbxbb at phenix-online.org>
> http://phenix-online.org/mailman/listinfo/cctbxbb
>
>
>
>
> _______________________________________________
> 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/f9ae2999/attachment.htm>
More information about the cctbxbb
mailing list