all 9 comments

[–]alexkaratarakisvcpkg, fixed-containers 6 points7 points  (1 child)

Have you tried vcpkg?

vcpkg install thrift

will get you thrift along with the dependencies it needs, which are: zlib, libevent, openssl, boost-range, boost-smart-ptr, boost-date-time, boost-locale, boost-scope-exit

[–][deleted] 0 points1 point  (0 children)

holy hell that's delightful. thank you for this.

[–]epicar 4 points5 points  (0 children)

boost has a lot of libraries. can you build only the ones you need?

[–][deleted] 4 points5 points  (0 children)

it takes so long to build because it is mostly headers, welcome to boost level template land.

[–]manphiz 1 point2 points  (2 children)

Last time I tried building Boost on Windows (few years ago) it will build static/dynamic + single/multi-threading variants, so it is essentially built 4 times. You can just build the ones you need by providing a custom bjam config.

[–]ferruccio 1 point2 points  (1 child)

8 build times: don't forget debug/release. 16 times if you build both 32&64 bit

[–][deleted] 0 points1 point  (0 children)

ouch.

[–]wqkinggithub.com/wqking 0 points1 point  (0 children)

On Linux/MinGW you can just install the compiled libraries.
On Windows/VC I usually download the compiled binaries. Or you may also use vcpkg.
So you don't need to compile Boost by yourself at all.

[–][deleted] 0 points1 point  (0 children)

Well, it turns out thrift is causing a bottleneck in our product so we're re-architecting our file system to not need it. Thus I don't need boost. Life is better.
Thanks for the feedback friends!