mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
Improving Z3 build for cygwin. Fixed sets deprecated warning.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
d7930da9a8
commit
1669b42e0a
3 changed files with 10 additions and 14 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
|
||||
CXX=@CXX@
|
||||
CXXFLAGS=@CPPFLAGS@ @CXXFLAGS@ -c -O3 -fomit-frame-pointer -Wall -fopenmp -msse -msse2 -mfpmath=sse -fPIC
|
||||
CXXFLAGS=@CPPFLAGS@ @CXXFLAGS@ -c -O3 -fomit-frame-pointer -Wall -fopenmp -msse -msse2 -mfpmath=sse
|
||||
CXX_OUT_FLAG=-o
|
||||
OBJ_EXT=.o
|
||||
LIB_EXT=.a
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
############################################
|
||||
import os
|
||||
import glob
|
||||
import sets
|
||||
import re
|
||||
import getopt
|
||||
import sys
|
||||
|
@ -118,9 +117,9 @@ def mk_fresh_name(prefix):
|
|||
|
||||
_Id = 0
|
||||
_Components = []
|
||||
_ComponentNames = sets.Set()
|
||||
_ComponentNames = set()
|
||||
_Name2Component = {}
|
||||
_Processed_Headers = sets.Set()
|
||||
_Processed_Headers = set()
|
||||
|
||||
def get_cpp_files(path):
|
||||
return filter(lambda f: f.endswith('.cpp'), os.listdir(path))
|
||||
|
@ -315,7 +314,7 @@ class DLLComponent(Component):
|
|||
if IS_WINDOW:
|
||||
dllfile = '%s$(SO_EXT)' % self.dll_name
|
||||
else:
|
||||
dllfile = '%libs$(SO_EXT)' % self.dll_name
|
||||
dllfile = 'lib%s$(SO_EXT)' % self.dll_name
|
||||
out.write('%s:' % dllfile)
|
||||
deps = sort_components(self.deps)
|
||||
objs = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue