mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 17:44:08 +00:00
add option to disable FPMATH
This commit is contained in:
parent
f66b4f0880
commit
b38b6daba3
|
@ -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')
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
variables:
|
||||
ReleaseVersion: '4.8.15'
|
||||
MacFlags: 'CXXFLAGS="-arch arm64" LINK_EXTRA_FLAGS="-arch arm64" SLINK_EXTRA_FLAGS="-arch arm64" CPPFLAGS="-arch arm64"'
|
||||
MacFlags: 'CXXFLAGS="-arch arm64" LINK_EXTRA_FLAGS="-arch arm64" SLINK_EXTRA_FLAGS="-arch arm64" FPMATH_ENABLED=False'
|
||||
|
||||
stages:
|
||||
- stage: Build
|
||||
|
|
Loading…
Reference in a new issue