Changing default cxx_stdlib to libc++

Rainer Müller raimue at macports.org
Sun Mar 11 15:15:48 UTC 2018


On 2018-03-09 15:21, Joshua Root wrote:
> On 2018-3-9 20:38 , db wrote:
>> On 9 Mar 2018, at 01:27, Ryan Schmidt <ryandesign at macports.org> wrote:
>>> When would we run this script to delete libstdc++ archives? Presumably, after all legacy users have MacPorts 2.5 and have switched to libc++.
>>
>> How about those that build MP from source?
> 
> There are no additional problems arising from that, whether you mean
> building base from source or building all ports from source. In fact
> there's one less problem if you're not downloading any binary archives,
> as you can't get ones that are built for the wrong cxx_stdlib.

I think we should use cxx_stdlib as one additional criteria to respect
when selecting an archive site here:

https://github.com/macports/macports-ports/blob/master/_resources/port1.0/fetch/archive_sites.tcl

https://github.com/macports/macports-base/blob/995dde8476c48580db4f6eedfde09e90dc5e8c99/src/package1.0/portarchivefetch.tcl#L66

Then the archive site would no longer be used if anyone changes the
default in macports.conf.

Rainer


More information about the macports-dev mailing list