commit | d9e3c85f5703f42b094e8f91e60e2a1af4fac531 | [log] [tgz] |
---|---|---|
author | Mark de Wever <[email protected]> | Thu Aug 10 15:04:20 2023 |
committer | Mark de Wever <[email protected]> | Tue Aug 22 18:06:28 2023 |
tree | 646cafc5bb79409741f756426d05420433254c02 | |
parent | 1d3003668a513a078d483245bab0500976a849dc [diff] |
[libc++][modules] Simplifies C++20 module testing. The building of the std module has been moved from `params.py` and `dsl.py` to a `lit.local.cfg` for the entire test suite. In theory this change allows testing modules in most configurations, except: - combined with clang modules - C++ versions that don't support the std module Currently only C++23 with all parts enabled works. C++26 is expected to work properly with CMake 3.27. That versions of CMake knows how to invoke clang using C++26. The parts disabled modi of libc++ have not been modularized yet. It still is the goal that in the future CMake will be able to do the work done in `lit.local.cfg`. Doing this in CMake would require a more mature libc++ implementation. Thanks a lot to @ldionne for giving hints how to enable modules in a `lit.local.cfg`. Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D157625
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, or #llvm IRC channel on OFTC.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.