mirror of
https://github.com/Z3Prover/z3
synced 2025-06-03 12:51:22 +00:00
Merge branch 'unstable' of https://git01.codeplex.com/z3 into opt
This commit is contained in:
commit
c42ee3bb01
37 changed files with 2162 additions and 182 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