[swift-dev] swift without markup/cmark

Dmitri Gribenko gribozavr at gmail.com
Fri Jan 8 14:50:37 CST 2016


On Fri, Jan 8, 2016 at 10:36 PM, Rafkind, Jon via swift-dev
<swift-dev at swift.org> wrote:
> I would like to build swift without support for its markup feature, and in turn leave out the cmark dependency. It looks like markup is used in a few places, such as AST/DocComment.cpp, a few files in IDE/, and PrintAsObjC/PrintAsObjC.cpp.
>
> My initial guess to accomplish this is a new cmake variable, WANT_MARKUP, could be added that provides the define -DWANT_MARKUP, and the various code paths that use the Markup stuff can check for it using an #ifdef.
>
> If I attempted such a thing would it have a chance to be accepted as a patch?

In general we try to limit the number of build configurations we
support.  What is the motivation for this one?  cmark is a small
library, as compared to, say, LLVM.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/


More information about the swift-dev mailing list