r368874 - Document clang-cpp in the release notes for clang
Author: cbieneman Date: Wed Aug 14 09:49:52 2019 New Revision: 368874 URL: http://llvm.org/viewvc/llvm-project?rev=368874&view=rev Log: Document clang-cpp in the release notes for clang This patch adds a line in the release notes about the new clang-cpp library and the CMake option to force clang to link against it. Modified: cfe/trunk/docs/ReleaseNotes.rst Modified: cfe/trunk/docs/ReleaseNotes.rst URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ReleaseNotes.rst?rev=368874&r1=368873&r2=368874&view=diff == --- cfe/trunk/docs/ReleaseNotes.rst (original) +++ cfe/trunk/docs/ReleaseNotes.rst Wed Aug 14 09:49:52 2019 @@ -157,7 +157,15 @@ release of Clang. Users of the build sys install-clang-headers target now installs clang's API headers (corresponding to its libraries), which is consistent with the install-llvm-headers target. -- ... +- In 9.0.0 and later Clang added a new target, clang-cpp, which generates a + shared library comprised of all the clang component libraries and exporting + the clang C++ APIs. Additionally the build system gained the new + "CLANG_LINK_CLANG_DYLIB" option, which defaults Off, and when set to On, will + force clang (and clang-based tools) to link the clang-cpp library instead of + statically linking clang's components. This option will reduce the size of + binary distributions at the expense of compiler performance. + +- ... AST Matchers ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Re: r368874 - Document clang-cpp in the release notes for clang
On Wed, Aug 14, 2019 at 6:48 PM Chris Bieneman via cfe-commits wrote: > > Author: cbieneman > Date: Wed Aug 14 09:49:52 2019 > New Revision: 368874 > -- ... > +- In 9.0.0 and later Clang added a new target, clang-cpp, which generates a > + shared library comprised of all the clang component libraries and exporting > + the clang C++ APIs. Additionally the build system gained the new > + "CLANG_LINK_CLANG_DYLIB" option, which defaults Off, and when set to On, > will > + force clang (and clang-based tools) to link the clang-cpp library instead > of > + statically linking clang's components. This option will reduce the size of > + binary distributions at the expense of compiler performance. Does this also work for Windows/MSVC builds? Thanks, - Kim ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Re: r368874 - Document clang-cpp in the release notes for clang
It actually does not. Getting the MSVC export list is a much harder problem. I'll update the release note. -Chris > On Aug 14, 2019, at 10:32 PM, Kim Gräsman wrote: > > On Wed, Aug 14, 2019 at 6:48 PM Chris Bieneman via cfe-commits > wrote: >> >> Author: cbieneman >> Date: Wed Aug 14 09:49:52 2019 >> New Revision: 368874 >> -- ... >> +- In 9.0.0 and later Clang added a new target, clang-cpp, which generates a >> + shared library comprised of all the clang component libraries and >> exporting >> + the clang C++ APIs. Additionally the build system gained the new >> + "CLANG_LINK_CLANG_DYLIB" option, which defaults Off, and when set to On, >> will >> + force clang (and clang-based tools) to link the clang-cpp library instead >> of >> + statically linking clang's components. This option will reduce the size of >> + binary distributions at the expense of compiler performance. > > Does this also work for Windows/MSVC builds? > > Thanks, > - Kim ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits