mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 14:13:23 +00:00
add option to disable FPMATH
This commit is contained in:
parent
f66b4f0880
commit
b38b6daba3
2 changed files with 5 additions and 1 deletions
|
@ -114,6 +114,7 @@ ALWAYS_DYNAMIC_BASE=False
|
|||
|
||||
FPMATH="Default"
|
||||
FPMATH_FLAGS="-mfpmath=sse -msse -msse2"
|
||||
FPMATH_ENABLED=getenv("FPMATH_ENABLED", "True")
|
||||
|
||||
|
||||
def check_output(cmd):
|
||||
|
@ -278,6 +279,9 @@ def test_gmp(cc):
|
|||
|
||||
def test_fpmath(cc):
|
||||
global FPMATH_FLAGS
|
||||
if FPMATH_ENABLED == "False":
|
||||
FPMATH_FLAGS=""
|
||||
return "Disabled"
|
||||
if is_verbose():
|
||||
print("Testing floating point support...")
|
||||
t = TempFile('tstsse.cpp')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue