From af24376e187d444654787724b1cfc724137b0e85 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Wed, 7 Oct 2015 18:40:26 -0400 Subject: [PATCH] build: Intl: deps: bump ICU to 56.1 (GA) * ICU 56 was just released yesterday. Update to it. * Notable changes: Unicode 8, CLDR 28, 2-3x number format perf, 20% improvement in Collator startup * more at http://site.icu-project.org/download/56 or in #2917 Also: * cleanup out/**/*.d and deps/icu on "make clean" * cleanup deps/icu on "vcbuild clean" When building from an non-clean directory, it's important to run `make clean` or `vcbuild clean` to remove the existing ICU 55 from the deps path before building. Fixes: https://github.com/nodejs/node/issues/2917 PR-URL: https://github.com/nodejs/node/pull/3281 Reviewed-By: James M Snell --- Makefile | 3 ++- configure | 5 ++--- vcbuild.bat | 5 +++++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 1d8b89b..02619fa 100644 --- a/Makefile +++ b/Makefile @@ -67,8 +67,9 @@ uninstall: clean: -rm -rf out/Makefile $(NODE_EXE) $(NODE_G_EXE) out/$(BUILDTYPE)/$(NODE_EXE) - @if [ -d out ]; then find out/ -name '*.o' -o -name '*.a' | xargs rm -rf; fi + @if [ -d out ]; then find out/ -name '*.o' -o -name '*.a' -o -name '*.d' | xargs rm -rf; fi -rm -rf node_modules + @if [ -d deps/icu ]; then echo deleting deps/icu; rm -rf deps/icu; fi -rm -f test.tap distclean: diff --git a/configure b/configure index 6bc7172..b4936f1 100755 --- a/configure +++ b/configure @@ -843,9 +843,8 @@ def glob_to_var(dir_base, dir_sub, patch_dir): def configure_intl(o): icus = [ { - 'url': 'http://download.icu-project.org/files/icu4c/55.1/icu4c-55_1-src.zip', - # from https://ssl.icu-project.org/files/icu4c/55.1/icu4c-src-55_1.md5: - 'md5': '4cddf1e1d47622fdd9de2cd7bb5001fd', + 'url': 'https://ssl.icu-project.org/files/icu4c/56.1/icu4c-56_1-src.zip', + 'md5': '61d71888f14bf00cc3e8a6f2c087d367', }, ] def icu_download(path): diff --git a/vcbuild.bat b/vcbuild.bat index 10beee5..08b1462 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -99,6 +99,11 @@ if "%i18n_arg%"=="full-icu" set i18n_arg=--with-intl=full-icu if "%i18n_arg%"=="small-icu" set i18n_arg=--with-intl=small-icu if "%i18n_arg%"=="intl-none" set i18n_arg=--with-intl=none +if not exist "%~dp0deps\icu" goto no-depsicu +if "%target%"=="Clean" echo deleting %~dp0deps\icu +if "%target%"=="Clean" rmdir /S /Q %~dp0deps\icu +:no-depsicu + call :getnodeversion || exit /b 1 @rem Set environment for msbuild -- 2.7.4