Skip to content

Commit 0d12d90

Browse files
authored
upgrade boost to 1.83 (rime#696)
1 parent 8b7bdbe commit 0d12d90

8 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/macos-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
build:
1717
runs-on: macos-latest
1818
env:
19-
boost_version: 1.78.0
20-
BOOST_ROOT: ${{ github.workspace }}/deps/boost_1_78_0
19+
boost_version: 1.83.0
20+
BOOST_ROOT: ${{ github.workspace }}/deps/boost_1_83_0
2121
RIME_PLUGINS: ${{ inputs.rime_plugins }}
2222
steps:
2323
- name: Checkout last commit

.github/workflows/windows-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
build:
1414
runs-on: windows-latest
1515
env:
16-
boost_version: 1.78.0
17-
BOOST_ROOT: ${{ github.workspace }}\deps\boost_1_78_0
16+
boost_version: 1.83.0
17+
BOOST_ROOT: ${{ github.workspace }}\deps\boost_1_83_0
1818
RIME_PLUGINS: ${{ inputs.rime_plugins }}
1919
steps:
2020
- name: Checkout last commit

README-mac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Set shell variable `BOOST_ROOT` to the path to `boost_<version>` directory prior
3838
to building librime.
3939

4040
``` sh
41-
export BOOST_ROOT="$(pwd)/deps/boost_1_78_0"
41+
export BOOST_ROOT="$(pwd)/deps/boost_1_83_0"
4242
```
4343

4444
**Option 2:** Install Boost libraries from Homebrew.

env.bat.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ rem Customize your build environment and save the modified copy to env.bat
33
set RIME_ROOT=%CD%
44

55
rem REQUIRED: path to Boost source directory
6-
if not defined BOOST_ROOT set BOOST_ROOT=%RIME_ROOT%\deps\boost_1_78_0
6+
if not defined BOOST_ROOT set BOOST_ROOT=%RIME_ROOT%\deps\boost_1_83_0
77

88
rem architecture, Visual Studio version and platform toolset
99
set ARCH=Win32

env.vs2019.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ rem Customize your build environment and save the modified copy to env.bat
33
set RIME_ROOT=%CD%
44

55
rem REQUIRED: path to Boost source directory
6-
if not defined BOOST_ROOT set BOOST_ROOT=%RIME_ROOT%\deps\boost_1_78_0
6+
if not defined BOOST_ROOT set BOOST_ROOT=%RIME_ROOT%\deps\boost_1_83_0
77

88
rem architecture, Visual Studio version and platform toolset
99
set ARCH=Win32

env.vs2022.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ rem Customize your build environment and save the modified copy to env.bat
33
set RIME_ROOT=%CD%
44

55
rem REQUIRED: path to Boost source directory
6-
if not defined BOOST_ROOT set BOOST_ROOT=%RIME_ROOT%\deps\boost_1_78_0
6+
if not defined BOOST_ROOT set BOOST_ROOT=%RIME_ROOT%\deps\boost_1_83_0
77

88
rem architecture, Visual Studio version and platform toolset
99
set ARCH=Win32

install-boost.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ setlocal
22

33
if not defined RIME_ROOT set RIME_ROOT=%CD%
44

5-
if not defined boost_version set boost_version=1.78.0
5+
if not defined boost_version set boost_version=1.83.0
66
set boost_x_y_z=%boost_version:.=_%
77

88
if not defined BOOST_ROOT set BOOST_ROOT=%RIME_ROOT%\deps\boost_%boost_x_y_z%

install-boost.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ set -ex
33

44
RIME_ROOT="$(cd "$(dirname "$0")"; pwd)"
55

6-
boost_version="${boost_version=1.78.0}"
6+
boost_version="${boost_version=1.83.0}"
77
boost_x_y_z="${boost_version//./_}"
88

99
BOOST_ROOT="${BOOST_ROOT=${RIME_ROOT}/deps/boost_${boost_x_y_z}}"
1010

1111
boost_tarball="boost_${boost_x_y_z}.tar.bz2"
1212
download_url="https://boostorg.jfrog.io/artifactory/main/release/${boost_version}/source/${boost_tarball}"
13-
boost_tarball_sha256sum_1_78_0='8681f175d4bdb26c52222665793eef08490d7758529330f98d3b29dd0735bccc boost_1_78_0.tar.bz2'
14-
boost_tarball_sha256sum="${boost_tarball_sha256sum=${boost_tarball_sha256sum_1_78_0}}"
13+
boost_tarball_sha256sum_1_83_0='6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e boost_1_83_0.tar.bz2'
14+
boost_tarball_sha256sum="${boost_tarball_sha256sum=${boost_tarball_sha256sum_1_83_0}}"
1515

1616
download_boost_source() {
1717
cd "${RIME_ROOT}/deps"

0 commit comments

Comments
 (0)