Page MenuHomeFreeBSD

Add libc++experimental.a for std::experimental support
ClosedPublic

Authored by dim on May 21 2017, 11:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 18, 10:50 AM
Unknown Object (File)
Fri, Mar 22, 9:17 PM
Unknown Object (File)
Fri, Mar 22, 9:17 PM
Unknown Object (File)
Fri, Mar 22, 9:17 PM
Unknown Object (File)
Mar 8 2024, 7:22 AM
Unknown Object (File)
Feb 10 2024, 7:49 PM
Unknown Object (File)
Feb 3 2024, 3:19 AM
Unknown Object (File)
Jan 4 2024, 1:43 PM
Subscribers

Details

Summary

Follow-up to D10839, add a separate libc++experimental.a for supporting
std::experimental features. This library is purposefully static, and
must be explicitly linked into programs using -lc++experimental.

NOTE: there is NO WARRANTY as to any stability or continuing existence of the features in the experimental C++ library!

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Would it make sense to let this new library be responsible for installing the experimental/ headers as well?

In D10840#224632, @ed wrote:

Would it make sense to let this new library be responsible for installing the experimental/ headers as well?

Maybe, but it also adds complexity for no good reason. There is also experimental/ functionality which is header-only, and therefore does not need any runtime support.

Upstream installs all of these from one Makefile, which I would also like to do, but it isn't possible with bsd.lib.mk, unfortunately.

This revision is now accepted and ready to land.May 21 2017, 1:13 PM
This revision was automatically updated to reflect the committed changes.