mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
Merge branch 'unstable' of https://git01.codeplex.com/z3 into opt
This commit is contained in:
commit
aff92f3ac1
16 changed files with 315 additions and 17 deletions
|
@ -638,7 +638,13 @@ def is_compiler(given, expected):
|
|||
def is_CXX_gpp():
|
||||
return is_compiler(CXX, 'g++')
|
||||
|
||||
def is_clang_in_gpp_form(cc):
|
||||
version_string = subprocess.check_output([cc, '--version'])
|
||||
return version_string.find('clang') != -1
|
||||
|
||||
def is_CXX_clangpp():
|
||||
if is_compiler(CXX, 'g++'):
|
||||
return is_clang_in_gpp_form(CXX)
|
||||
return is_compiler(CXX, 'clang++')
|
||||
|
||||
def get_cpp_files(path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue