[swift-dev] Minimal clang to support swift?

2016-11-03 Thread William Dillon via swift-dev
HI all, I'm working on a resource-constrained embedded system, and I'd like to reduce the size of my swift install as much as possible.  In deployment, I'll need to figure out what a non-compiling swift support install looks like, but that's not the question for today.  Currently, I'd like to h

[swift-dev] libxml/parser.h not found?

2016-11-03 Thread Dave Abrahams via swift-dev
Anyone know what this is about? /Users/dave/src/s/swift/utils/build-script --distcc '--lit-args=--distribute -sv' --build-args=-v --skip-build-ios-device --skip-build-tvos-device --skip-build-compiler-rt --swift-stdlib-build-type=Debug --swift-stdlib-enable-assertions=1 --skip-build-benchmarks

Re: [swift-dev] libxml/parser.h not found?

2016-11-03 Thread Doug Coleman via swift-dev
Looks like clang/CMakeLists.txt looks for libxml2: find_package(LibXml2 2.5.3 QUIET) if (LIBXML2_FOUND) set(CLANG_HAVE_LIBXML 1) endif() Perhaps you have the libxml2 library but not the libxml headers? Doug > On Nov 3, 2016, at 12:54 PM, Dave Abrahams via swift-dev > wrote: > > > Anyone

Re: [swift-dev] libxml/parser.h not found?

2016-11-03 Thread Dave Abrahams via swift-dev
on Thu Nov 03 2016, Doug Coleman wrote: > Looks like clang/CMakeLists.txt looks for libxml2: > > find_package(LibXml2 2.5.3 QUIET) > if (LIBXML2_FOUND) > set(CLANG_HAVE_LIBXML 1) > endif() > > Perhaps you have the libxml2 library but not the libxml headers? I don't know how that could happen,

[swift-dev] Performance degradation with 3.0.1(String comparison)

2016-11-03 Thread Pushkar N Kulkarni via swift-dev
Hello,A colleague of mine who's doing performance testing with some server-side Swift frameworks like Kitura, Perfect and Zewo found a 15-20% degradation with a simple "Hello World" benchmark, with the 3.0.1 previews on Linux. Analysis revealed it is related to the disabling of an optimisation arou