Opened 13 years ago

Closed 13 years ago

#31134 closed enhancement (duplicate)

boost: reduce default threading variants

Reported by: tvb377@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.2
Keywords: Cc: adfernandes (Andrew Fernandes)
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 (1)

comment:1 Changed 13 years ago by adfernandes (Andrew Fernandes)

Resolution: duplicate
Status: newclosed

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

Note: See TracTickets for help on using tickets.