Skip to content

Commit bde4af4

Browse files
committed
build: require Boost >= 1.74.0
Change-Id: I3bead8ac881eeccd49cf0a82584336e1081e2f26
1 parent 7779179 commit bde4af4

File tree

5 files changed

+8
-12
lines changed

5 files changed

+8
-12
lines changed

README-dev.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The simplest way to run the tests is to launch the compiled binary without any p
5959
./build/unit-tests
6060
```
6161

62-
The [Boost.Test framework](https://www.boost.org/doc/libs/1_71_0/libs/test/doc/html/index.html)
62+
The [Boost.Test framework](https://www.boost.org/doc/libs/1_74_0/libs/test/doc/html/index.html)
6363
is very flexible and allows a number of run-time customization of what tests should be run.
6464
For example, it is possible to choose to run only a specific test suite, only a specific
6565
test case within a suite, specific test cases across multiple test suites, and so on:
@@ -96,7 +96,7 @@ or `-p` to show a progress bar:
9696

9797
There are many more command line options available, information about which can be obtained
9898
either from the command line using the `--help` switch, or online on the
99-
[Boost.Test website](https://www.boost.org/doc/libs/1_71_0/libs/test/doc/html/boost_test/runtime_config.html).
99+
[Boost.Test website](https://www.boost.org/doc/libs/1_74_0/libs/test/doc/html/boost_test/runtime_config/summary.html).
100100

101101
> [!WARNING]
102102
> If you have a customized `client.conf` in `~/.ndn`, `/etc/ndn`, or `/usr/local/etc/ndn`

docs/INSTALL.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Required
3232

3333
- GCC >= 10.2 or clang >= 10.0 (if you are on Linux or FreeBSD)
3434
- Xcode >= 13.0 or corresponding version of Command Line Tools (if you are on macOS)
35-
- Boost >= 1.71.0
35+
- Boost >= 1.74.0
3636
- OpenSSL >= 1.1.1
3737
- SQLite >= 3.31
3838
- pkgconf >= 1.6

docs/examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The following example demonstrates how to use :ndn-cxx:`Scheduler` to schedule a
5050
events for execution at specific points of time.
5151

5252
The library internally uses `boost::asio::io_context
53-
<https://www.boost.org/doc/libs/1_71_0/doc/html/boost_asio/reference/io_context.html>`__
53+
<https://www.boost.org/doc/libs/1_74_0/doc/html/boost_asio/reference/io_context.html>`__
5454
to implement fully asynchronous NDN operations (i.e., sending and receiving Interests and
5555
Data). In addition to network-related operations, ``boost::asio::io_context`` can be used
5656
to execute any arbitrary callback within the processing thread (run either explicitly via

ndn-cxx/util/time.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ fromIsoExtendedString(const std::string& isoString);
328328
* \param format desired output format (default: `%Y-%m-%d %H:%M:%S`)
329329
* \param locale desired locale (default: "C" locale)
330330
*
331-
* \sa https://www.boost.org/doc/libs/1_71_0/doc/html/date_time/date_time_io.html#date_time.format_flags
331+
* \sa https://www.boost.org/doc/libs/1_74_0/doc/html/date_time/date_time_io.html#date_time.format_flags
332332
* describes possible formatting flags
333333
**/
334334
std::string
@@ -346,7 +346,7 @@ toString(const system_clock::time_point& timePoint,
346346
* \param format input output format (default: `%Y-%m-%d %H:%M:%S`)
347347
* \param locale input locale (default: "C" locale)
348348
*
349-
* \sa https://www.boost.org/doc/libs/1_71_0/doc/html/date_time/date_time_io.html#date_time.format_flags
349+
* \sa https://www.boost.org/doc/libs/1_74_0/doc/html/date_time/date_time_io.html#date_time.format_flags
350350
* describes possible formatting flags
351351
*/
352352
system_clock::time_point

wscript

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,18 +113,14 @@ def configure(conf):
113113
conf.check_openssl(lib='crypto', atleast_version='1.1.1')
114114

115115
conf.check_boost()
116-
if conf.env.BOOST_VERSION_NUMBER < 107100:
117-
conf.fatal('The minimum supported version of Boost is 1.71.0.\n'
116+
if conf.env.BOOST_VERSION_NUMBER < 107400:
117+
conf.fatal('The minimum supported version of Boost is 1.74.0.\n'
118118
'Please upgrade your distribution or manually install a newer version of Boost.\n'
119119
'For more information, see https://redmine.named-data.net/projects/nfd/wiki/Boost')
120120

121121
# Boost.Log requires Boost.Thread
122122
boost_libs = ['chrono', 'log', 'thread']
123123

124-
# Boost.Date_Time is header-only since 1.73
125-
if conf.env.BOOST_VERSION_NUMBER < 107300:
126-
boost_libs.append('date_time')
127-
128124
stacktrace_backend = conf.options.with_stacktrace
129125
if stacktrace_backend is None:
130126
# auto-detect

0 commit comments

Comments
 (0)