conan: bump clang to version 14

This commit is contained in:
Danny Robson 2022-04-24 15:09:30 +10:00
parent e4c14a09a4
commit 21a4de4c66
3 changed files with 16 additions and 7 deletions

View File

@ -3,7 +3,7 @@ os=Linux
arch=x86_64
compiler=clang
compiler.version=13
compiler.version=14
compiler.libcxx=libc++
build_type=Debug
@ -13,5 +13,5 @@ build_type=Debug
[build_requires]
[env]
CC=clang-13
CXX=clang++-13
CC=clang-14
CXX=clang++-14

View File

@ -3,7 +3,7 @@ os=Linux
arch=x86_64
compiler=clang
compiler.version=13
compiler.version=14
compiler.libcxx=libc++
build_type=Release
@ -13,5 +13,7 @@ build_type=Release
[build_requires]
[env]
CC=clang-13
CXX=clang++-13
CC=clang-14
CXX=clang++-14
CFLAGS="-flto"
CXXFLAGS="-flto"

View File

@ -93,6 +93,7 @@ OPTIONS['sanitizer'] = Option(
require=[
'release'
],
config='sanitizer',
)
@ -226,7 +227,13 @@ if __name__ == '__main__':
accumulated = [f'"-D{key}={val}"' for key, val in accum.vars.items()] + accum.args
conan_build_profile = 'x86_64-gcc-linux-release'
conan_build_profile = '-'.join([
'x86_64',
accum.compiler,
'linux',
accum.config
])
conan_host_profile = '-'.join([
accum.arch,
accum.compiler,