Changing default cxx_stdlib to libc++

Ryan Schmidt ryandesign at macports.org
Mon Mar 12 20:39:36 UTC 2018


On Mar 11, 2018, at 10:15, Rainer Müller wrote:
> 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 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.

Yes, absolutely, and we need to do the same for delete_la_files.





More information about the macports-dev mailing list