def __init__(self, install_dir, bindings_dir, solver_version, mirror_link=None, osx=None, git_version=None): arch = self.architecture if arch == "x86_64": arch = "x64" system = self.os_name if system == "linux": system = "ubuntu-14.04" elif system == "darwin": system = "osx-%s" % osx elif system == "windows": system = "win" # Stable versions template # archive_name = "z3-%s-%s-%s.zip" % (solver_version, arch, system) # # Nightly build template archive_name = "z3-%s.%s-%s-%s.zip" % (solver_version, git_version, arch, system) native_link = "https://github.com/pyomt/Z3bin/blob/master/nightly/{archive_name}?raw=true" SolverInstaller.__init__(self, install_dir=install_dir, bindings_dir=bindings_dir, solver_version=solver_version, archive_name=archive_name, native_link=native_link, mirror_link=mirror_link)
def __init__(self, install_dir, bindings_dir, solver_version, mirror_link=None): # Getting the right archive name os_name = self.os_name arch = self.architecture ext = "tar.gz" if os_name == "windows": ext = "zip" arch = "msvc" if self.architecture == "x86_64": os_name = "win64" else: os_name = "win32" elif os_name == "darwin": os_name = "darwin-libcxx" archive_name = "mathsat-%s-%s-%s.%s" % (solver_version, os_name, arch, ext) native_link = "http://mathsat.fbk.eu/download.php?file={archive_name}" SolverInstaller.__init__(self, install_dir=install_dir, bindings_dir=bindings_dir, solver_version=solver_version, archive_name=archive_name, native_link = native_link, mirror_link=mirror_link) self.python_bindings_dir = os.path.join(self.extract_path, "python")
def __init__(self, install_dir, bindings_dir, solver_version, mirror_link=None, git_version='HEAD'): archive_name = "repycudd-%s.tar.gz" % git_version native_link = "https://codeload.github.com/pyomt/repycudd/tar.gz/%s" % git_version SolverInstaller.__init__(self, install_dir=install_dir, bindings_dir=bindings_dir, solver_version=solver_version, archive_name=archive_name, native_link=native_link, mirror_link=mirror_link) self.git_version = git_version
def __init__(self, install_dir, bindings_dir, solver_version, pypicosat_minor_version, mirror_link=None): self.pypicosat_minor_version = pypicosat_minor_version self.complete_version = None SolverInstaller.__init__(self, install_dir=install_dir, bindings_dir=bindings_dir, solver_version=solver_version, mirror_link=mirror_link, native_link=None, archive_name=None)
def __init__(self, install_dir, bindings_dir, solver_version, mirror_link=None, lingeling_version=None): archive_name = "boolector-%s-with-lingeling-%s.tar.bz2" % \ (solver_version, lingeling_version) native_link = "http://fmv.jku.at/boolector/{archive_name}" SolverInstaller.__init__(self, install_dir=install_dir, bindings_dir=bindings_dir, solver_version=solver_version, archive_name=archive_name, native_link=native_link, mirror_link=mirror_link)
def __init__(self, install_dir, bindings_dir, solver_version, mirror_link=None, git_version='HEAD'): archive_name = "CVC4-%s.tar.gz" % git_version native_link = "https://codeload.github.com/CVC4/CVC4/tar.gz/%s" % ( git_version) SolverInstaller.__init__(self, install_dir=install_dir, bindings_dir=bindings_dir, solver_version=solver_version, archive_name=archive_name, native_link=native_link, mirror_link=mirror_link) self.git_version = git_version self.bin_path = os.path.join(self.bindings_dir, "CVC4_bin")
def __init__(self, install_dir, bindings_dir, solver_version, mirror_link=None, yicespy_version='HEAD'): pack = "x86_64-unknown-linux-gnu-static-gmp" archive_name = "yices-%s-%s.tar.gz" % (solver_version, pack) native_link = "http://yices.csl.sri.com/cgi-bin/yices2-newnewdownload.cgi?file={archive_name}&accept=I+Agree" SolverInstaller.__init__(self, install_dir=install_dir, bindings_dir=bindings_dir, solver_version=solver_version, archive_name=archive_name, native_link=native_link, mirror_link=mirror_link) self.extract_path = os.path.join(self.base_dir, "yices-%s" % self.solver_version) self.yices_path = os.path.join(self.bindings_dir, "yices_bin") self.yicespy_git_version = yicespy_version