Skip to content

Commit be6563a

Browse files
committed
Remove program options from build systems
1 parent 025b8c2 commit be6563a

File tree

7 files changed

+7
-117
lines changed

7 files changed

+7
-117
lines changed

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
config:
7474
- name: Linux
7575
os: ubuntu-16.04
76-
packages: python3-zmq qtbase5-dev qttools5-dev-tools libqt5svg5-dev libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev libgmp-dev libsodium-dev cargo
76+
packages: python3-zmq qtbase5-dev qttools5-dev-tools libqt5svg5-dev libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev libgmp-dev libsodium-dev cargo
7777
cc: gcc
7878
cxx: g++
7979

@@ -298,7 +298,7 @@ jobs:
298298
- name: x86_64 Linux [GOAL:install] [xenial] [no depends only system libs]
299299
os: ubuntu-16.04
300300
host: x86_64-unknown-linux-gnu
301-
apt_get: python3-zmq qtbase5-dev qttools5-dev-tools libqt5svg5-dev libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev libgmp-dev libsodium-dev cargo
301+
apt_get: python3-zmq qtbase5-dev qttools5-dev-tools libqt5svg5-dev libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev libgmp-dev libsodium-dev cargo
302302
unit_tests: true
303303
functional_tests: true
304304
no_depends: 1
@@ -309,7 +309,7 @@ jobs:
309309
- name: x86_64 Linux [GOAL:install] [bionic] [no depends only system libs]
310310
os: ubuntu-18.04
311311
host: x86_64-unknown-linux-gnu
312-
apt_get: python3-zmq qtbase5-dev qttools5-dev-tools libqt5svg5-dev libqt5charts5-dev libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev libgmp-dev libsodium-dev cargo
312+
apt_get: python3-zmq qtbase5-dev qttools5-dev-tools libqt5svg5-dev libqt5charts5-dev libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev libgmp-dev libsodium-dev cargo
313313
unit_tests: true
314314
no_depends: 1
315315
goal: install

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ find_package(GMP REQUIRED)
8989

9090
find_package(ZMQ)
9191
find_package(Miniupnp)
92-
find_package(Boost COMPONENTS system filesystem thread program_options REQUIRED)
92+
find_package(Boost COMPONENTS system filesystem thread REQUIRED)
9393
find_package(Sodium REQUIRED)
9494

9595
# run autogen.sh if missing header files from configure on Linux/Mac

build-aux/m4/ax_boost_program_options.m4

Lines changed: 0 additions & 108 deletions
This file was deleted.

build-aux/snap/snapcraft.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,6 @@ parts:
346346
- ca-certificates
347347
- libboost-chrono1.65.1
348348
- libboost-filesystem1.65.1
349-
- libboost-program-options1.65.1
350349
- libboost-system1.65.1
351350
- libboost-test1.65.1
352351
- libboost-thread1.65.1

configure.ac

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,6 @@ if test x$want_boost = xno; then
10221022
fi
10231023
AX_BOOST_SYSTEM
10241024
AX_BOOST_FILESYSTEM
1025-
AX_BOOST_PROGRAM_OPTIONS
10261025
AX_BOOST_THREAD
10271026
AX_BOOST_CHRONO
10281027

@@ -1075,7 +1074,7 @@ if test x$use_tests = xyes; then
10751074
fi
10761075

10771076
if test x$use_boost = xyes; then
1078-
BOOST_LIBS="$BOOST_LDFLAGS $BOOST_SYSTEM_LIB $BOOST_FILESYSTEM_LIB $BOOST_PROGRAM_OPTIONS_LIB $BOOST_THREAD_LIB $BOOST_CHRONO_LIB"
1077+
BOOST_LIBS="$BOOST_LDFLAGS $BOOST_SYSTEM_LIB $BOOST_FILESYSTEM_LIB $BOOST_THREAD_LIB $BOOST_CHRONO_LIB"
10791078
fi
10801079

10811080
if test x$use_pkgconfig = xyes; then

depends/packages/boost.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $(package)_toolset_$(host_os)=gcc
2323
$(package)_archiver_$(host_os)=$($(package)_ar)
2424
$(package)_toolset_darwin=darwin
2525
$(package)_archiver_darwin=$($(package)_libtool)
26-
$(package)_config_libraries=chrono,filesystem,program_options,system,thread,test
26+
$(package)_config_libraries=chrono,filesystem,system,thread,test
2727
$(package)_cxxflags=-std=c++11 -fvisibility=hidden
2828
$(package)_cxxflags_linux=-fPIC
2929
endef

src/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.10)
22
set(CMAKE_INCLUDE_CURRENT_DIR ON)
33

44
set(Boost_USE_STATIC_LIBS ON)
5-
find_package(Boost COMPONENTS system filesystem thread program_options unit_test_framework REQUIRED)
5+
find_package(Boost COMPONENTS system filesystem thread unit_test_framework REQUIRED)
66

77
set(JSON_TEST_FILES
88
${CMAKE_CURRENT_SOURCE_DIR}/data/script_valid.json

0 commit comments

Comments
 (0)