[
https://issues.apache.org/jira/browse/ARROW-8222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17069092#comment-17069092
]
Wes McKinney edited comment on ARROW-8222 at 3/27/20, 10:53 PM:
----------------------------------------------------------------
To collect some anecdotal evidence about problems with the current boost_ep. It
seems the entire boostorg has some kind of rate limiting issue on Bintray and
trying to access e.g.
https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.gz
yields 403 Forbidden. So all the more reason to host our EP artifact on GitHub
or some other place within our agency
was (Author: wesmckinn):
To collect some anecdotal evidence about problems with the current boost_ep. It
seems the entire boostorg has some kind of rate limiting issue on Bintray and
trying to access dl.bintray.com yields 403 Forbidden. So all the more reason to
host our EP artifact on GitHub or some other place within our agency
> [C++] Use bcp to make a slim boost for bundled build
> ----------------------------------------------------
>
> Key: ARROW-8222
> URL: https://issues.apache.org/jira/browse/ARROW-8222
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Neal Richardson
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.17.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> We don't use much of Boost (just system, filesystem, and regex), but when we
> do a bundled build, we still download and extract all of boost. The tarball
> itself is 113mb, expanded is over 700mb. This can be slow, and it requires a
> lot of free disk space that we don't really need.
> [bcp|https://www.boost.org/doc/libs/1_72_0/tools/bcp/doc/html/index.html] is
> a boost tool that lets you extract a subset of boost, resolving any of its
> necessary dependencies across boost. The savings for us could be huge:
> {code}
> mkdir test
> ./bcp system.hpp filesystem.hpp regex.hpp test
> tar -czf test.tar.gz test/
> {code}
> The resulting tarball is 885K (kilobytes!).
> {{bcp}} also lets you re-namespace, so this would (IIUC) solve ARROW-4286 as
> well.
> We would need a place to host this tarball, and we would have to updated it
> whenever we (1) bump the boost version or (2) add a new boost library
> dependency. This patch would of course include a script that would generate
> the tarball. Given the small size, we could also consider just vendoring it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)