Skip to content

Commit

Permalink
0.10.3: drop boost/filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj committed Oct 6, 2023
1 parent 70f1de6 commit 8cf2719
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 16 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
sudo apt install -y ninja-build \
clang-format \
libboost-dev \
libboost-filesystem-dev \
libboost-regex-dev \
libyaml-cpp-dev \
libleveldb-dev \
Expand Down
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ RUN apt update && apt install -y \
cmake \
ninja-build \
libboost-dev \
libboost-filesystem-dev \
libboost-regex-dev \
libyaml-cpp-dev \
libleveldb-dev \
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ apt install -y \
ninja-build \
clang-format \
libboost-dev \
libboost-filesystem-dev \
libboost-regex-dev \
libyaml-cpp-dev \
libleveldb-dev \
Expand Down
4 changes: 2 additions & 2 deletions checksum
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
f6a0288a806954b8c0f1d34148aa43e1 public/rime.data
3eb05f39e70730816776beb18ac3d6e4 public/rime.js
a60d529a9cfde09e276186475e0e7827 public/rime.wasm
105f93181e4e6e168b67bc08bd046ada public/rime.js
a279df89ea5ba5c2762c7bcee67b30cd public/rime.wasm
2 changes: 1 addition & 1 deletion librime
Submodule librime updated 42 files
+9 −7 .github/workflows/linux-build.yml
+22 −15 .github/workflows/windows-build.yml
+4 −3 CMakeLists.txt
+5 −1 Dockerfile
+1 −1 Makefile
+0 −1 action-install-linux.sh
+0 −1 build.bat
+34 −34 include/utf8.h
+77 −85 include/utf8/checked.h
+158 −129 include/utf8/core.h
+103 −0 include/utf8/cpp17.h
+84 −53 include/utf8/unchecked.h
+1 −1 install-boost.sh
+2 −2 plugins/plugins_module.cc
+3 −1 src/CMakeLists.txt
+20 −0 src/rime/algo/fs.h
+3 −2 src/rime/config/build_info_plugin.cc
+2 −2 src/rime/config/config_data.cc
+1 −1 src/rime/config/save_output_plugin.cc
+2 −2 src/rime/deployer.cc
+3 −3 src/rime/dict/db.cc
+3 −3 src/rime/dict/dict_compiler.cc
+3 −3 src/rime/dict/dictionary.cc
+1 −1 src/rime/dict/level_db.cc
+3 −3 src/rime/dict/mapped_file.cc
+1 −1 src/rime/dict/preset_vocabulary.cc
+1 −1 src/rime/dict/reverse_lookup_dictionary.cc
+5 −5 src/rime/dict/user_db_recovery_task.cc
+3 −3 src/rime/gear/simplifier.cc
+2 −2 src/rime/lever/custom_settings.cc
+1 −1 src/rime/lever/customizer.cc
+5 −5 src/rime/lever/customizer.h
+15 −11 src/rime/lever/deployment_tasks.cc
+2 −2 src/rime/lever/switcher_settings.cc
+2 −2 src/rime/lever/switcher_settings.h
+7 −7 src/rime/lever/user_dict_manager.cc
+2 −2 src/rime/lever/user_dict_manager.h
+13 −14 src/rime/resource.cc
+8 −8 src/rime/resource.h
+2 −2 src/rime/setup.cc
+3 −3 test/resource_resolver_test.cc
+2 −2 tools/rime_deployer.cc
2 changes: 1 addition & 1 deletion librime-lua
4 changes: 2 additions & 2 deletions librime_patch
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 03484ecb..1a493df4 100644
index aecf5a08..71be3a0b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.12)
project(rime)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD 17)

-set(rime_version 1.9.0)
+set(rime_version 1.8.5) # keep 1.8.5 so no need to rehash schemas
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@libreservice/my-rime",
"version": "0.10.2",
"version": "0.10.3",
"files": [
"dist"
],
Expand Down
1 change: 0 additions & 1 deletion scripts/build_lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ function buildBoost () {
'threading=single', // threading defaults to multi on Linux and single on macOS
'target-os=linux', // Windows hack
'--layout=system',
'--with-filesystem',
'--with-regex',
'--disable-icu',
`--prefix=${CMAKE_FIND_ROOT_PATH}`,
Expand Down
1 change: 0 additions & 1 deletion scripts/build_native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ function buildBoost () {
'link=static',
'stage',
'runtime-link=static',
'--with-filesystem',
'--with-regex',
'-j', `${n}`
], spawnArg))
Expand Down
3 changes: 1 addition & 2 deletions scripts/build_wasm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const exportedFunctions = [
]

const compileArgs = [
'-std=c++14',
'-std=c++17',
...(process.env.BUILD_TYPE === 'Debug'
? ['-g']
: [
Expand Down Expand Up @@ -63,7 +63,6 @@ const linkArgs = [
'-L', LIB_PATH,
// To include __attribute__((constructor)) in librime-lua, see https://stackoverflow.com/a/842770
'-Wl,--whole-archive', '-l', 'rime', '-Wl,--no-whole-archive',
'-l:libboost_filesystem.bc',
'-l', 'yaml-cpp',
'-l', 'leveldb',
'-l', 'marisa',
Expand Down
2 changes: 0 additions & 2 deletions scripts/update_submodule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ for (const submodule of [
'any',
'array',
'assert',
'atomic',
'bind',
'concept_check',
'config',
Expand All @@ -49,7 +48,6 @@ for (const submodule of [
'date_time',
'describe',
'detail',
'filesystem',
'format',
'function',
'function_types',
Expand Down

0 comments on commit 8cf2719

Please sign in to comment.