New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #31134 (closed enhancement: duplicate)

Opened 21 months ago

Last modified 21 months ago

boost: reduce default threading variants

Reported by: tvb377@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.2
Keywords: Cc: adfernandes@…
Port: boost

Description

This is a follow up to ticket #26466.

There is no difference (except in the library names) between threading=multi and threading=single on Darwin/OSX.

Linux (at least Suse) install the libs as threading=multi (default on linux) and layout=system (also default). boost_*-mt.so are simply links to the appropriate solibs.

Suggestion (partly already in #26466): Use layout=system, threading=multi (the defaults for darwin). If felt necessary, create symbolic links to -mt libs. Drop the variant no_single.

Benefit: reduce the horrible build times by 50%, be compatible with linux, save disk space.

Risk: presumably none (at least if providing the symbolic links).

I could prepare a patch or test some dependents if the idea is ok.

Change History

comment:1 Changed 21 months ago by adfernandes@…

  • Status changed from new to closed
  • Resolution set to duplicate

This will, I hope, be fixed with #31169.

Note: See TracTickets for help on using tickets.