mirror of
https://github.com/Z3Prover/z3
synced 2025-06-09 07:33:24 +00:00
Minor tweaks to make things more reliable/less obnoxious
This commit is contained in:
parent
cb83c42100
commit
02783d0bfb
3 changed files with 5 additions and 1 deletions
|
@ -1299,7 +1299,7 @@ class DLLComponent(Component):
|
||||||
if IS_WINDOWS or IS_OSX:
|
if IS_WINDOWS or IS_OSX:
|
||||||
out.write('\n\tcp %s %s' % (self.dll_file(), self.staging_link))
|
out.write('\n\tcp %s %s' % (self.dll_file(), self.staging_link))
|
||||||
else:
|
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')
|
out.write('\n')
|
||||||
if self.static:
|
if self.static:
|
||||||
if IS_WINDOWS:
|
if IS_WINDOWS:
|
||||||
|
|
1
src/api/python/.gitignore
vendored
1
src/api/python/.gitignore
vendored
|
@ -5,3 +5,4 @@ build
|
||||||
*.egg-info
|
*.egg-info
|
||||||
bin
|
bin
|
||||||
z3/lib
|
z3/lib
|
||||||
|
z3/include
|
||||||
|
|
|
@ -41,6 +41,9 @@ def _clean_bins():
|
||||||
shutil.rmtree(HEADERS_DIR, ignore_errors=True)
|
shutil.rmtree(HEADERS_DIR, ignore_errors=True)
|
||||||
|
|
||||||
def _configure_z3():
|
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')]
|
args = [sys.executable, os.path.join(SRC_DIR, 'scripts', 'mk_make.py')]
|
||||||
|
|
||||||
if sys.platform == 'win32' and platform.architecture()[0] == '64bit':
|
if sys.platform == 'win32' and platform.architecture()[0] == '64bit':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue