[libcxx-commits] [PATCH] D144994: [Draft][libc++][modules] Adds std module.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Mar 12 08:53:30 PDT 2023


Mordante updated this revision to Diff 504447.
Mordante added a comment.
Herald added a project: libc++abi.
Herald added a reviewer: libc++abi.

Various improvements.

- Incorporates D145596 <https://reviews.llvm.org/D145596> CMake 3.26 fix.
- Removes new tests libc++ certainly doesn't want to duplicate all their tests for modules. (The final solution still is unknown.)
- Adds the std.compat module.
- Propagate some libc++ configuration flags to the modules
- Prepared a CI job, this is not used yet since the CI does not have CMake 3.26 and Ninja 1.11 yet.
- Update the test transformation script and did initial tried it locally.
- Small fixes to the module file.
- Added a few now module files.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144994

Files:
  libcxx/CMakeLists.txt
  libcxx/cmake/caches/Generic-module-std-compat.cmake
  libcxx/cmake/caches/Generic-module-std.cmake
  libcxx/docs/Modules.rst
  libcxx/docs/index.rst
  libcxx/include/__algorithm/ranges_find_if.h
  libcxx/include/__algorithm/ranges_min_element.h
  libcxx/include/__compare/synth_three_way.h
  libcxx/include/tuple
  libcxx/stdmodules/.clang-format
  libcxx/stdmodules/CMakeLists.txt
  libcxx/stdmodules/CMakeLists.txt.in
  libcxx/stdmodules/std-array.cppm
  libcxx/stdmodules/std-charconv.cppm
  libcxx/stdmodules/std-chrono.cppm
  libcxx/stdmodules/std-compat-stddef.cppm
  libcxx/stdmodules/std-compat.cppm
  libcxx/stdmodules/std-concepts.cppm
  libcxx/stdmodules/std-coroutine.cppm
  libcxx/stdmodules/std-cstddef.cppm
  libcxx/stdmodules/std-cstdlib.cppm
  libcxx/stdmodules/std-exception.cppm
  libcxx/stdmodules/std-expected.cppm
  libcxx/stdmodules/std-format.cppm
  libcxx/stdmodules/std-fstream.cppm
  libcxx/stdmodules/std-functional.cppm
  libcxx/stdmodules/std-initializer_list.cppm
  libcxx/stdmodules/std-iostream.cppm
  libcxx/stdmodules/std-iterator.cppm
  libcxx/stdmodules/std-memory.cppm
  libcxx/stdmodules/std-numeric.cppm
  libcxx/stdmodules/std-optional.cppm
  libcxx/stdmodules/std-span.cppm
  libcxx/stdmodules/std-string.cppm
  libcxx/stdmodules/std-string_view.cppm
  libcxx/stdmodules/std-system_error.cppm
  libcxx/stdmodules/std-tuple.cppm
  libcxx/stdmodules/std-type_traits.cppm
  libcxx/stdmodules/std-utility.cppm
  libcxx/stdmodules/std-variant.cppm
  libcxx/stdmodules/std-vector.cppm
  libcxx/stdmodules/std.cppm
  libcxx/test/configs/cmake-bridge.cfg.in
  libcxx/test/configs/llvm-libc++-shared.cfg.in
  libcxx/test/configs/llvm-libc++-static.cfg.in
  libcxx/test/libcxx/language.support/support.types/cstddef.compile.pass.cpp
  libcxx/utils/ci/buildkite-pipeline.yml
  libcxx/utils/ci/run-buildbot
  libcxx/utils/libcxx/test/dsl.py
  libcxx/utils/libcxx/test/params.py
  libcxx/utils/use_modules_in_test.py
  runtimes/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144994.504447.patch
Type: text/x-patch
Size: 152002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230312/4c366ac4/attachment-0001.bin>


More information about the libcxx-commits mailing list