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 | ||
---|---|---|
5 | 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 | ||
7 | Add a comment (to make gn args --list output nicer) | |
33 | absolute path ("//libcxx/utils/cat_files.py") | |
75 | Should we make the sync script handle files without extensions too? | |
llvm/utils/gn/secondary/libcxx/src/BUILD.gn | ||
13 | Are both of these enabled by default in cmake? (shared and static, that is) | |
174 | Probably needs a comment above the list entry to make the sync script happy? | |
239 | 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.