mirror of
https://github.com/ceph/ceph
synced 2025-03-04 23:40:07 +00:00
make-dist: exclude unused bits in boost
the docs, examples and tests are not used. so drop them. we could go further by removing unused components in boost. but that'd be an issue if somebody added a component in CMakeLists but forgets to update this script. also, we need to remove boost/$component and lib/$component to achieve this goal. this also introduces extra complicity. so leave it for another change. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
e3b703eb12
commit
65f91227a6
11
make-dist
11
make-dist
@ -46,7 +46,16 @@ download_boost() {
|
||||
fi
|
||||
done
|
||||
set -e
|
||||
tar xjf $boost_fname -C src
|
||||
tar xjf $boost_fname -C src \
|
||||
--exclude="$boost_version_underscore/libs/*/doc" \
|
||||
--exclude="$boost_version_underscore/libs/*/example" \
|
||||
--exclude="$boost_version_underscore/libs/*/examples" \
|
||||
--exclude="$boost_version_underscore/libs/*/meta" \
|
||||
--exclude="$boost_version_underscore/libs/*/test" \
|
||||
--exclude="$boost_version_underscore/tools/boostbook" \
|
||||
--exclude="$boost_version_underscore/tools/quickbook" \
|
||||
--exclude="$boost_version_underscore/tools/auto_index" \
|
||||
--exclude='doc' --exclude='more' --exclude='status'
|
||||
mv src/boost_${boost_version_underscore} src/boost
|
||||
tar cf ${outfile}.boost.tar ${outfile}/src/boost
|
||||
rm -rf src/boost
|
||||
|
Loading…
Reference in New Issue
Block a user