mirror of
https://github.com/Z3Prover/z3
synced 2025-06-07 06:33:23 +00:00
Fixed new mk_make for OSX
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
2adbc61f1b
commit
d21cd210ed
1 changed files with 3 additions and 4 deletions
|
@ -156,12 +156,11 @@ def test_gmp(cc):
|
||||||
def is64():
|
def is64():
|
||||||
return sys.maxsize >= 2**32
|
return sys.maxsize >= 2**32
|
||||||
|
|
||||||
def find_ar():
|
def check_ar():
|
||||||
if is_verbose():
|
if is_verbose():
|
||||||
print "Testing ar..."
|
print "Testing ar..."
|
||||||
if exec_cmd(['ar', '--version']) != 0:
|
if which('ar')== None:
|
||||||
raise MKException('ar (archive tool) was not found')
|
raise MKException('ar (archive tool) was not found')
|
||||||
return "ar"
|
|
||||||
|
|
||||||
def find_cxx_compiler():
|
def find_cxx_compiler():
|
||||||
global CXX, CXX_COMPILERS
|
global CXX, CXX_COMPILERS
|
||||||
|
@ -1041,7 +1040,7 @@ def mk_config():
|
||||||
else:
|
else:
|
||||||
global CXX, CC, GMP, CPPFLAGS, CXXFLAGS, LDFLAGS
|
global CXX, CC, GMP, CPPFLAGS, CXXFLAGS, LDFLAGS
|
||||||
ARITH = "internal"
|
ARITH = "internal"
|
||||||
find_ar()
|
check_ar()
|
||||||
CXX = find_cxx_compiler()
|
CXX = find_cxx_compiler()
|
||||||
CC = find_c_compiler()
|
CC = find_c_compiler()
|
||||||
if GMP:
|
if GMP:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue