diff --git a/setup_env.py b/setup_env.py index 80118722..5ae37a35 100644 --- a/setup_env.py +++ b/setup_env.py @@ -201,7 +201,7 @@ def compile(): logging.info("Compiling the code using CMake.") run_command(["cmake", "-B", "build", *COMPILER_EXTRA_ARGS[arch], *OS_EXTRA_ARGS.get(platform.system(), [])], log_step="generate_build_files") # run_command(["cmake", "--build", "build", "--target", "llama-cli", "--config", "Release"]) - run_command(["cmake", "--build", "build", "--config", "Release"], log_step="compile") + run_command(["cmake", "--build", "build", "--config", "Release", "--parallel", str(os.cpu_count())], log_step="compile") def main(): setup_gguf()