diff options
author | Jason Rassi <rassi@10gen.com> | 2016-04-11 13:07:15 -0400 |
---|---|---|
committer | Jason Rassi <rassi@10gen.com> | 2016-04-11 13:07:15 -0400 |
commit | 00271a491cf9af904a5fde87e7b79115e585bbdc (patch) | |
tree | d771d38613ded810bcc6e536d3f06f3efaa16439 | |
parent | 0a5732f6b65563f9d600578c9101cc2082f117f0 (diff) | |
download | mongo-00271a491cf9af904a5fde87e7b79115e585bbdc.tar.gz |
SERVER-22371 icu_get_sources.sh: prune source tree
Removes various ICU components (source data, certain libraries, tests,
tools, sample programs) that won't be hooked into the scons build.
This reduces the size of src/third_party/icu4c-57.1/ from 95M to 18M.
-rwxr-xr-x | src/third_party/scripts/icu_get_sources.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/third_party/scripts/icu_get_sources.sh b/src/third_party/scripts/icu_get_sources.sh index e6b4a303495..41f1f18c3ba 100755 --- a/src/third_party/scripts/icu_get_sources.sh +++ b/src/third_party/scripts/icu_get_sources.sh @@ -44,4 +44,22 @@ fi cp -r $TEMP_DIR/* $DEST_DIR || true +# Prune sources. +rm -f $DEST_DIR/source/*.in # Build system. +rm -f $DEST_DIR/source/*.m4 # Build system. +rm -f $DEST_DIR/source/install-sh # Build system. +rm -f $DEST_DIR/source/mkinstalldirs # Build system. +rm -f $DEST_DIR/source/runConfigureICU # Build system. +rm -rf $DEST_DIR/as_is/ # Scripts. +rm -rf $DEST_DIR/source/allinone/ # Workspace and project files. +rm -rf $DEST_DIR/source/config* # Build system. +rm -rf $DEST_DIR/source/data/ # Source data. +rm -rf $DEST_DIR/source/extra/ # Non-supported API additions. +rm -rf $DEST_DIR/source/io/ # ICU I/O library. +rm -rf $DEST_DIR/source/layout/ # ICU complex text layout engine. +rm -rf $DEST_DIR/source/layoutex/ # ICU paragraph layout engine. +rm -rf $DEST_DIR/source/samples/ # Sample programs. +rm -rf $DEST_DIR/source/test/ # Test suites. +rm -rf $DEST_DIR/source/tools/ # Tools for generating the data files. + echo "Done" |