3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-04 08:39:57 +00:00

use single thread for win-dist

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2025-03-02 19:23:19 -08:00
parent 14390eeac2
commit f74d8460f6

View file

@ -33,7 +33,7 @@ GIT_HASH=False
PYTHON_ENABLED=True
X86ONLY=False
X64ONLY=False
MAKEJOBS=getenv("MAKEJOBS", "24")
MAKEJOBS=getenv("MAKEJOBS", "1")
def set_verbose(flag):
global VERBOSE
@ -132,7 +132,10 @@ def check_build_dir(path):
# Create a build directory using mk_make.py
def mk_build_dir(path, x64):
if not check_build_dir(path) or FORCE_MK:
parallel = '--parallel=' + MAKEJOBS
if MAKEJOBS != "1":
parallel = '--parallel=' + MAKEJOBS
else:
parallel = ""
opts = ["python", os.path.join('scripts', 'mk_make.py'), parallel, "-b", path]
if DOTNET_CORE_ENABLED:
opts.append('--dotnet')