Skip to content

Commit

Permalink
Do not build z3 if it is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
danjujan committed Aug 28, 2023
1 parent ccd4a5b commit 09238d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ def build_extension(self, ext):
'-DPYTHON_EXECUTABLE=' + sys.executable,
'-DVARA_FEATURE_USE_Z3_SOLVER=True'
]
if os.path.exists('/lib/x86_64-linux-gnu/libz3.so'):
cmake_args.append('-DVARA_FEATURE_BUILD_Z3_SOLVER=False')

cfg = 'Debug' if self.debug else 'Release'
build_args = ['--config', cfg]
Expand Down

0 comments on commit 09238d6

Please sign in to comment.