C++14 for xgboost (#5664)

This commit is contained in:
Andy Adinets
2020-05-21 02:26:40 +02:00
committed by GitHub
parent 60511a3222
commit 646def51e0
13 changed files with 22 additions and 16 deletions

View File

@@ -124,8 +124,8 @@ class ClangTidy(object):
if pos != -1:
converted_components.append(
'--cuda-gpu-arch=sm_' + capability)
elif components[i].find('--std=c++11') != -1:
converted_components.append('-std=c++11')
elif components[i].find('--std=c++14') != -1:
converted_components.append('-std=c++14')
elif components[i].startswith('-isystem='):
converted_components.extend(components[i].split('='))
else: