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, May 29, 7:09 AM
Unknown Object (File)
Thu, May 15, 7:07 AM
Unknown Object (File)
Mon, May 12, 3:31 PM
Unknown Object (File)
Fri, May 9, 3:37 PM
Unknown Object (File)
Apr 16 2025, 8:55 PM
Unknown Object (File)
Apr 14 2025, 3:03 AM
Unknown Object (File)
Apr 13 2025, 10:50 PM
Unknown Object (File)
Apr 12 2025, 4:50 AM
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.