Merge pull request #1823 from unicorn-engine/restore-py2

[RFC] Restore py2 compatibility by using 2 files
This commit is contained in:
2024-03-08 15:12:24 +08:00
committed by GitHub
7 changed files with 2114 additions and 1113 deletions

View File

@@ -136,7 +136,7 @@ def build_libraries():
os.mkdir(BUILD_DIR)
conf = 'Debug' if os.getenv('DEBUG', '') else 'Release'
cmake_args = ["cmake", '-B', BUILD_DIR, "-DCMAKE_BUILD_TYPE=" + conf]
cmake_args = ["cmake", '-B', BUILD_DIR, '-S', UC_DIR, "-DCMAKE_BUILD_TYPE=" + conf]
if os.getenv("TRACE", ""):
cmake_args += ["-DUNICORN_TRACER=on"]
subprocess.check_call(cmake_args)