Update for clang-12
This commit is contained in:
parent
15f5db46d1
commit
002f202604
@ -3,7 +3,7 @@ os=Linux
|
|||||||
arch=x86_64
|
arch=x86_64
|
||||||
|
|
||||||
compiler=clang
|
compiler=clang
|
||||||
compiler.version=11
|
compiler.version=12
|
||||||
compiler.libcxx=libc++
|
compiler.libcxx=libc++
|
||||||
|
|
||||||
build_type=Release
|
build_type=Release
|
||||||
@ -13,5 +13,5 @@ build_type=Release
|
|||||||
[build_requires]
|
[build_requires]
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
CC=clang-11
|
CC=clang-12
|
||||||
CXX=clang++-11
|
CXX=clang++-12
|
||||||
|
6
init.py
6
init.py
@ -8,8 +8,6 @@ from dataclasses import dataclass, field
|
|||||||
|
|
||||||
from typing import Dict, List, Optional
|
from typing import Dict, List, Optional
|
||||||
|
|
||||||
CLANG_VERSION = 11
|
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class Option:
|
class Option:
|
||||||
@ -58,8 +56,8 @@ OPTIONS['gcc'] = Option(
|
|||||||
|
|
||||||
OPTIONS['clang'] = Option(
|
OPTIONS['clang'] = Option(
|
||||||
vars={
|
vars={
|
||||||
'CMAKE_CXX_COMPILER': f'clang++-{CLANG_VERSION}',
|
'CMAKE_CXX_COMPILER': f'clang++',
|
||||||
'CMAKE_C_COMPILER': f'clang-{CLANG_VERSION}',
|
'CMAKE_C_COMPILER': f'clang',
|
||||||
#'CMAKE_CXX_FLAGS': '-fuse-ld=lld',
|
#'CMAKE_CXX_FLAGS': '-fuse-ld=lld',
|
||||||
},
|
},
|
||||||
compiler='clang',
|
compiler='clang',
|
||||||
|
Loading…
Reference in New Issue
Block a user