mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-09 05:27:56 -05:00
19 lines
501 B
Python
Executable File
19 lines
501 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import os, sys
|
|
|
|
sys.path.insert(0, os.path.dirname(sys.argv[0]) + '/..')
|
|
|
|
from Compiler.compilerLib import Compiler
|
|
|
|
compiler = Compiler(split_args=True)
|
|
compiler.prep_compile(build=False)
|
|
compiler.execute = True
|
|
compiler.options.execute = 'emulate'
|
|
if not compiler.options.binary:
|
|
compiler.options.ring = compiler.options.ring or '64'
|
|
compiler.options.keep_cisc = compiler.options.keep_cisc or ''
|
|
compiler.build()
|
|
prog = compiler.compile_file()
|
|
compiler.local_execution()
|