mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 02:15:19 +00:00
Minor tweaks to make things more reliable/less obnoxious
This commit is contained in:
parent
cb83c42100
commit
02783d0bfb
|
@ -1299,7 +1299,7 @@ class DLLComponent(Component):
|
|||
if IS_WINDOWS or IS_OSX:
|
||||
out.write('\n\tcp %s %s' % (self.dll_file(), self.staging_link))
|
||||
else:
|
||||
out.write('\n\tln -s %s %s' % (os.path.join(reverse_path(self.staging_link), self.dll_file()), self.staging_link))
|
||||
out.write('\n\tln -f -s %s %s' % (os.path.join(reverse_path(self.staging_link), self.dll_file()), self.staging_link))
|
||||
out.write('\n')
|
||||
if self.static:
|
||||
if IS_WINDOWS:
|
||||
|
|
1
src/api/python/.gitignore
vendored
1
src/api/python/.gitignore
vendored
|
@ -5,3 +5,4 @@ build
|
|||
*.egg-info
|
||||
bin
|
||||
z3/lib
|
||||
z3/include
|
||||
|
|
|
@ -41,6 +41,9 @@ def _clean_bins():
|
|||
shutil.rmtree(HEADERS_DIR, ignore_errors=True)
|
||||
|
||||
def _configure_z3():
|
||||
# bail out early if we don't need to do this - it forces a rebuild every time otherwise
|
||||
if os.path.exists(BUILD_DIR):
|
||||
return
|
||||
args = [sys.executable, os.path.join(SRC_DIR, 'scripts', 'mk_make.py')]
|
||||
|
||||
if sys.platform == 'win32' and platform.architecture()[0] == '64bit':
|
||||
|
|
Loading…
Reference in a new issue