Building clang/cling 3.5 for ROOT on Lion
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:
> 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...
> On 7 Apr 2014, at 11:13pm, Mojca Miklavec <mojca at macports.org> wrote:
>> 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
>> 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.
>> macports-dev mailing list
>> macports-dev at lists.macosforge.org
> macports-dev mailing list
> macports-dev at lists.macosforge.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2030 bytes
Desc: not available
More information about the macports-dev