mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 08:35:31 +00:00
More thorough check
This commit is contained in:
parent
347901b0fb
commit
1873f397db
1 changed files with 4 additions and 1 deletions
|
@ -330,7 +330,10 @@ def test_atomic_required(cc):
|
|||
}")
|
||||
""")
|
||||
t.commit()
|
||||
return exec_compiler_cmd([cc, CPPFLAGS, '', 'tstatomic.cpp', LDFLAGS, '']) != 0
|
||||
fails_without = exec_compiler_cmd([cc, CPPFLAGS, '', 'tstatomic.cpp', LDFLAGS, '']) != 0
|
||||
ok_with = exec_compiler_cmd([cc, CPPFLAGS, '', 'tstatomic.cpp', LDFLAGS + ' -latomic', '']) == 0
|
||||
return fails_without and ok_with
|
||||
|
||||
|
||||
def find_jni_h(path):
|
||||
for root, dirs, files in os.walk(path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue