build: align minimum build dependencies with ndn-cxx
* Recommend boost >= 1.65.1 and gcc >= 7.4.0 * Require clang >= 4.0, or Xcode >= 9.0 on macOS * Silence an ABI-related diagnostic message from gcc on armv7 * Fix redundant-tags warning with gcc 10 * Add CentOS-specific instructions to docs/INSTALL.rst * Add Xcode 11.5 to Travis CI Refs: #5087, #5106 Change-Id: I70746729a132ecb07d4788934385bb403039dba9
This commit is contained in:
+3
-6
@@ -1,6 +1,6 @@
|
||||
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
|
||||
"""
|
||||
Copyright (c) 2014-2019, Regents of the University of California,
|
||||
Copyright (c) 2014-2020, Regents of the University of California,
|
||||
Arizona Board of Regents,
|
||||
Colorado State University,
|
||||
University Pierre & Marie Curie, Sorbonne University,
|
||||
@@ -39,15 +39,12 @@ def build(bld):
|
||||
headers='../core/common.hpp boost-test.hpp',
|
||||
defines=[config_path])
|
||||
|
||||
for module, name in {'core': 'Core Tests',
|
||||
'daemon': 'Daemon Tests',
|
||||
'rib': 'RIB Tests',
|
||||
'tools': 'Tools Tests'}.items():
|
||||
for module in ['core', 'daemon', 'rib', 'tools']:
|
||||
# main() for the module
|
||||
bld.objects(target='unit-tests-%s-main' % module,
|
||||
source='main.cpp',
|
||||
use='BOOST',
|
||||
defines=['BOOST_TEST_MODULE=%s' % name])
|
||||
defines=['BOOST_TEST_MODULE=NFD %s' % module.capitalize()])
|
||||
|
||||
subdir = 'daemon/rib' if module == 'rib' else module
|
||||
node = bld.path.find_dir(subdir)
|
||||
|
||||
Reference in New Issue
Block a user