From acbcb10c9d48a776c83cf54a8ff507758db4a2fc Mon Sep 17 00:00:00 2001 From: Qijia Liu Date: Mon, 4 Sep 2023 00:09:00 -0400 Subject: [PATCH] ci: build boost::locale for charcode in clang win (#703) --- README-windows.md | 12 +++--------- README.md | 5 +++-- build-clang.bat | 1 + 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/README-windows.md b/README-windows.md index 9a62f1515c..afe9cd64d9 100644 --- a/README-windows.md +++ b/README-windows.md @@ -5,15 +5,9 @@ `librime` is tested to work on Windows with the following combinations of build tools and libraries: - - Visual Studio 2017 - - [Boost](http://www.boost.org/)=1.64 - - [cmake](http://www.cmake.org/)>=3.8 - -and - - - Visual Studio 2015 - - [Boost](http://www.boost.org/)=1.60 - - [cmake](http://www.cmake.org/)>=3.8 + - Visual Studio 2022 or LLVM 16 + - [Boost](http://www.boost.org/)=1.83 + - [cmake](http://www.cmake.org/)>=3.10 Boost and cmake versions need to match higher VS version. diff --git a/README.md b/README.md index 98b5887a38..0d7515c49f 100644 --- a/README.md +++ b/README.md @@ -39,8 +39,8 @@ Follow the instructions to build librime on platforms other than Linux: Build dependencies --- - compiler with C++14 support - - cmake>=2.8 - - libboost>=1.48 + - cmake>=3.10 + - libboost>=1.74 - libglog (optional) - libleveldb - libmarisa @@ -126,3 +126,4 @@ Contributors - [jakwings](https://github.com/jakwings) - [Prcuvu](https://github.com/Prcuvu) - [hchunhui](https://github.com/hchunhui) + - [Qijia Liu](https://github.com/eagleoflqj) diff --git a/build-clang.bat b/build-clang.bat index d2cc8fd043..9e6f6f2856 100644 --- a/build-clang.bat +++ b/build-clang.bat @@ -57,6 +57,7 @@ if %build_boost% == 1 ( link=static^ runtime-link=static^ stage^ + --with-locale^ --with-filesystem^ --with-system^ --with-regex || exit