Skip to content

Commit

Permalink
build: remove boost system component
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiredPlanck committed Jun 13, 2023
1 parent 53d10ba commit 89fff2b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if(NOT BOOST_USE_CXX11)
add_definitions("-DBOOST_NO_CXX11_SCOPED_ENUMS")
endif()

set(BOOST_COMPONENTS regex system)
set(BOOST_COMPONENTS regex)

if(BOOST_USE_SIGNALS2)
set(RIME_BOOST_SIGNALS2 1)
Expand Down
1 change: 0 additions & 1 deletion action-install-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ dep_packages=(
doxygen
libboost-locale-dev
libboost-regex-dev
libboost-system-dev
libgoogle-glog-dev
libleveldb-dev
libmarisa-dev
Expand Down
2 changes: 0 additions & 2 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,8 @@ rem set curl=%RIME_ROOT%\bin\curl.exe
rem set download="%curl%" --remote-name-all

set boost_compiled_libs=--with-date_time^
--with-filesystem^
--with-locale^
--with-regex^
--with-system^
--with-thread

rem the number actually means platform toolset, not %VisualStudioVersion%
Expand Down
2 changes: 1 addition & 1 deletion install-boost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ download_boost_source() {
[[ -f "${BOOST_ROOT}/bootstrap.sh" ]]
}

boost_libs="${boost_libs=regex,system}"
boost_libs="${boost_libs=regex}"
boost_cxxflags='-arch arm64 -arch x86_64'

build_boost_macos() {
Expand Down

0 comments on commit 89fff2b

Please sign in to comment.