This change introduces support for building libc++. The library
build should be complete, but not all CMake options have been
replicated in GN. We also don't support tests yet.
Details
Diff Detail
- Repository
- rCXX libc++
Event Timeline
Nice!
| llvm/utils/gn/secondary/libcxx/BUILD.gn | ||
|---|---|---|
| 4 | Mention in change description that we (currently -- for libc++ I can see this maybe changing in the future, unlike for other runtime libs) always build libc++ with a just-built clang (and build clang if it hasn't been built yet). Also mention that this currently only is for linux. | |
| llvm/utils/gn/secondary/libcxx/include/BUILD.gn | ||
| 6 | Add a comment (to make gn args --list output nicer) | |
| 32 | absolute path ("//libcxx/utils/cat_files.py") | |
| 74 | Should we make the sync script handle files without extensions too? | |
| llvm/utils/gn/secondary/libcxx/src/BUILD.gn | ||
| 12 | Are both of these enabled by default in cmake? (shared and static, that is) | |
| 173 | Probably needs a comment above the list entry to make the sync script happy? | |
| 238 | Maybe put configs -= [ thin_archive] right after this, since the two lines belong together conceptually | |
Mention in change description that we (currently -- for libc++ I can see this maybe changing in the future, unlike for other runtime libs) always build libc++ with a just-built clang (and build clang if it hasn't been built yet). Also mention that this currently only is for linux.