build: align minimum clang dependency with ndn-cxx

ndn-cxx requires clang 6 or later, so there's no point
supporting older versions in ndn-tools

Change-Id: I7be683abd4fce12c85187c0b5abf2ee288bbe908
This commit is contained in:
Davide Pesavento committed 2022-03-05 14:45:04 -05:00
1 parent b04c52b044
commit 96412a18d8
4 files changed
+6 -12

No files matched your search

+2 -4
View File
@@ -22,8 +22,6 @@ jobs:
include:
- compiler: g++-7
os: ubuntu-18.04
- compiler: clang++-5.0
os: ubuntu-18.04
- compiler: clang++-6.0
os: ubuntu-18.04
runs-on: ${{ matrix.os }}
@@ -37,7 +35,7 @@ jobs:
sudo apt-get -qy install ${CXX/clang++/clang}
${CXX} --version
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build and test
run: ./.jenkins
@@ -63,6 +61,6 @@ jobs:
with:
xcode-version: ${{ matrix.xcode }}
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build and test
run: ./.jenkins
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
WAF_JOBS: 3
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install dependencies
run: |
case ${RUNNER_OS} in
+2 -6
View File
@@ -28,9 +28,9 @@ def configure(conf):
elif ccver < (11, 0, 0):
warnmsg = ('Using a version of Xcode older than 11.3 is not '
'officially supported and may result in build failures.')
elif ccver < (5, 0, 0):
elif ccver < (6, 0, 0):
errmsg = ('The version of clang you are using is too old.\n'
'The minimum supported clang version is 5.0.')
'The minimum supported clang version is 6.0.')
conf.flags = ClangFlags()
else:
warnmsg = '%s compiler is unsupported' % cxx
@@ -213,8 +213,6 @@ class ClangFlags(GccBasicFlags):
'-Wundefined-func-template',
'-Wno-unused-local-typedef', # Bugs #2657 and #3209
]
if self.getCompilerVersion(conf) < (6, 0, 0):
flags['CXXFLAGS'] += ['-Wno-missing-braces'] # Bug #4721
return flags
def getOptimizedFlags(self, conf):
@@ -223,6 +221,4 @@ class ClangFlags(GccBasicFlags):
'-Wundefined-func-template',
'-Wno-unused-local-typedef', # Bugs #2657 and #3209
]
if self.getCompilerVersion(conf) < (6, 0, 0):
flags['CXXFLAGS'] += ['-Wno-missing-braces'] # Bug #4721
return flags
+1 -1
View File
@@ -18,7 +18,7 @@
# -- Project information -----------------------------------------------------
project = u'NDN Essential Tools'
copyright = u'Copyright © 2014-2021 Named Data Networking Project.'
copyright = u'Copyright © 2014-2022 Named Data Networking Project.'
author = u'Named Data Networking Project'
# The short X.Y version.