Building clang/cling 3.5 for ROOT on Lion

Christopher Jones jonesc at hep.phy.cam.ac.uk
Mon Apr 7 16:09:56 PDT 2014


p.s. whats the most recent MacPorts clang compiler you can install on OSX10.7 ?

On 8 Apr 2014, at 12:03am, Christopher Jones <jonesc at hep.phy.cam.ac.uk> wrote:

> Hi,
> 
> For me, I’m afraid, I think this means ROOT6 can only be properly supported on 10.8 or newer. As its only these OS versions that have c++11 support. If upstream have decided ROOT from version 6 onwards requires c++11 support, I am not going to second guess them.
> 
> I previously had variants in the ROOT port that allowed users to build the C++ sources with gcc, but this lead to all the well know issues and was removed. I will not be adding it back.
> 
> Unofficially, you might have luck on 10.7 with
> 
>> sudo port install root6 configure.compiler=macports-gcc-4.8
> 
> but given the issues, it will have to stay unofficial...
> 
> Chris
> 
> On 7 Apr 2014, at 11:13pm, Mojca Miklavec <mojca at macports.org> wrote:
> 
>> Hi,
>> 
>> I would like to ask for advice about how to properly support building
>> ROOT 6 (which builds clang/cling 3.5 as part of the installation) on
>> Lion.
>> 
>> I'm aware of http://trac.macports.org/wiki/FAQ#libcpp. But it's not
>> clear to me if dependency on clang 3.5 means that one will be unable
>> to to run ROOT 6 on 10.7 and earlier. Or if we just need to blacklist
>> certain compilers.
>> 
>> The first response from upstream was:
>> 
>>> ROOT6 requires C++11, which is supported (using libc++) on 10.8
>>> and 10.9 e.g. with XCode 5.1.
>>> 
>>> For 10.7 you can get GCC 4.7 or 4.8 from the usual Mac packagers,
>>> or build clang with libc++ yourself; either one should work but the
>>> former might be simpler.
>> 
>> Mojca
>> _______________________________________________
>> macports-dev mailing list
>> macports-dev at lists.macosforge.org
>> https://lists.macosforge.org/mailman/listinfo/macports-dev
> 
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2030 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20140408/dc4c2a26/attachment-0001.p7s>


More information about the macports-dev mailing list