[libcxx-commits] [PATCH] D152382: [libc++] Expand the contents of LIBCXX_ENABLE_FILESYSTEM

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 4 08:04:01 PDT 2023


ldionne added a comment.

In D152382#4470740 <https://reviews.llvm.org/D152382#4470740>, @michaelplatings wrote:

> In D152382#4469614 <https://reviews.llvm.org/D152382#4469614>, @ldionne wrote:
>
>> Anyway, I'm trying something out in D154390 <https://reviews.llvm.org/D154390>
>
> This doesn't yet fix the issue when building with picolibc. It fails with:
>
>   filesystem_clock.cpp:42:12: error: use of undeclared identifier 'clock_gettime'
>
> I think an option is needed in `libcxx/CMakeLists.txt` to disable building `filesystem_clock.cpp`.

Does that mean the platform doesn't provide a way to check the time, or is it that the API it provides is just different? How is e.g. `std::system_clock` implemented on that platform?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152382/new/

https://reviews.llvm.org/D152382



More information about the libcxx-commits mailing list