3
0
Fork 0
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:
Andrew Dutcher 2016-09-14 01:10:44 -07:00
parent cb83c42100
commit 02783d0bfb
3 changed files with 5 additions and 1 deletions

View file

@ -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:

View file

@ -5,3 +5,4 @@ build
*.egg-info
bin
z3/lib
z3/include

View file

@ -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':