[cctbxbb] Enabling OpenMP for phaser on OS X

Luc Bourhis luc_j_bourhis at mac.com
Mon Sep 17 14:48:24 PDT 2012


Hi William,

> This made it work:
> 
> -------------------------------------------------------------------------------------------------------------------
> --- SConscript.orig	2012-09-17 13:55:45.000000000 -0700
> +++ SConscript	2012-09-17 13:59:56.000000000 -0700
> @@ -682,7 +682,7 @@
>       if cc == 'clang':
>         cxx = 'clang++'
>       else:
> -        cxx = cc.replace('gcc', 'g++')
> +        cxx = cc.replace('gcc', '/sw/bin/g++-4')
>         if env_etc.compiler.endswith("4.2"):
>           if libtbx.env.build_options.enable_boost_threads:
>             build_nb = libtbx.env_config.get_darwin_gcc_build_number(gcc=cxx)
> 
> -------------------------------------------------------------------------------------------------------------------

well, sure enough! We should seriously think how to avoid the need for such hacks though. It's been on my todo list for ever to come with a mechanism to ease using non-standard compilers but it's never been important enough that I acted upon it.

Best wishes,

Luc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/cctbxbb/attachments/20120917/d5d8ca66/attachment.htm>


More information about the cctbxbb mailing list