[libcxx-commits] [PATCH] D103198: [libc++] Add a CI configuration where we test the PSTL integration
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Aug 17 06:08:16 PDT 2022
philnik added inline comments.
================
Comment at: libcxx/include/algorithm:1673
+// TODO: Remove this include once we fix transitive includes of <algorithm>
+# include <__functional/not_fn.h>
+# include <__pstl_algorithm>
----------------
ldionne wrote:
> I think the PSTL should be more tightly integrated with libc++, and we should probably be including libc++'s internal headers directly from it to break these kinds of circular dependencies.
>
> This is going to be non-trivial though because there was an intent to share the PSTL between libc++ and libstdc++ -- I don't know whether that is still desired, and we may need to revisit this if we want to ease the integration between libc++ and PSTL.
>
> @rodgert What is the current state of PSTL within libstdc++? How do you integrate it nowadays? Back in the days, I think you had a script that basically copied the sources to libstdc++ -- if that's still the case, do you have plans to keep it up to date, and can you link to that script so we can take a look at how the integration works?
If we want to do that it should probably be in a separate PR.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103198/new/
https://reviews.llvm.org/D103198
More information about the libcxx-commits
mailing list